Lines Matching refs:planes
203 memset(outPlanes->planes, 0, sizeof(outPlanes->planes)); in AHardwareBuffer_lockPlanes()
209 outPlanes->planes[0].data = yuvData.y; in AHardwareBuffer_lockPlanes()
210 outPlanes->planes[0].pixelStride = 1; in AHardwareBuffer_lockPlanes()
211 outPlanes->planes[0].rowStride = yuvData.ystride; in AHardwareBuffer_lockPlanes()
212 outPlanes->planes[1].data = yuvData.cb; in AHardwareBuffer_lockPlanes()
213 outPlanes->planes[1].pixelStride = yuvData.chroma_step; in AHardwareBuffer_lockPlanes()
214 outPlanes->planes[1].rowStride = yuvData.cstride; in AHardwareBuffer_lockPlanes()
215 outPlanes->planes[2].data = yuvData.cr; in AHardwareBuffer_lockPlanes()
216 outPlanes->planes[2].pixelStride = yuvData.chroma_step; in AHardwareBuffer_lockPlanes()
217 outPlanes->planes[2].rowStride = yuvData.cstride; in AHardwareBuffer_lockPlanes()
225 outPlanes->planes[0].pixelStride = pixelStride; in AHardwareBuffer_lockPlanes()
226 outPlanes->planes[0].rowStride = gBuffer->getStride() * pixelStride; in AHardwareBuffer_lockPlanes()
227 return gBuffer->lockAsync(usage, usage, bounds, &outPlanes->planes[0].data, fence); in AHardwareBuffer_lockPlanes()