Home
last modified time | relevance | path

Searched refs:outPlanes (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp184 int32_t fence, const ARect* rect, AHardwareBuffer_Planes* outPlanes) { in AHardwareBuffer_lockPlanes() argument
185 if (!buffer || !outPlanes) return BAD_VALUE; in AHardwareBuffer_lockPlanes()
203 memset(outPlanes->planes, 0, sizeof(outPlanes->planes)); in AHardwareBuffer_lockPlanes()
208 outPlanes->planeCount = 3; 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()
[all …]
/frameworks/native/libs/nativewindow/include/android/
Dhardware_buffer.h450 int32_t fence, const ARect* rect, AHardwareBuffer_Planes* outPlanes) __INTRODUCED_IN(29);