Lines Matching refs:planes

79     AHardwareBuffer_Planes planes{};  in getHardwareBufferDescFromHardwareBuffer()  local
81 /*fence*/ -1, /*rect*/ nullptr, &planes) != 0) { in getHardwareBufferDescFromHardwareBuffer()
97 yuvDesc.yData = (uint8_t*) planes.planes[0].data; in getHardwareBufferDescFromHardwareBuffer()
98 yuvDesc.yDataLength = planes.planes[0].rowStride * (height - 1) + width; in getHardwareBufferDescFromHardwareBuffer()
99 yuvDesc.yRowStride = planes.planes[0].rowStride; in getHardwareBufferDescFromHardwareBuffer()
101 yuvDesc.uData = (uint8_t*) planes.planes[1].data; in getHardwareBufferDescFromHardwareBuffer()
102 yuvDesc.uDataLength = planes.planes[1].rowStride * (height / 2 - 1) + in getHardwareBufferDescFromHardwareBuffer()
103 (planes.planes[1].pixelStride * width / 2 - 1) + 1; in getHardwareBufferDescFromHardwareBuffer()
104 yuvDesc.uRowStride = planes.planes[1].rowStride; in getHardwareBufferDescFromHardwareBuffer()
106 yuvDesc.vData = (uint8_t*) planes.planes[2].data; in getHardwareBufferDescFromHardwareBuffer()
107 yuvDesc.vDataLength = planes.planes[2].rowStride * (height / 2 - 1) + in getHardwareBufferDescFromHardwareBuffer()
108 (planes.planes[2].pixelStride * width / 2 - 1) + 1; in getHardwareBufferDescFromHardwareBuffer()
109 yuvDesc.vRowStride = planes.planes[2].rowStride; in getHardwareBufferDescFromHardwareBuffer()
112 yuvDesc.uvPixelStride = planes.planes[1].pixelStride; in getHardwareBufferDescFromHardwareBuffer()
116 argbDesc.buf = (uint8_t*) planes.planes[0].data; in getHardwareBufferDescFromHardwareBuffer()
117 argbDesc.rowStride = planes.planes[0].rowStride; in getHardwareBufferDescFromHardwareBuffer()