Home
last modified time | relevance | path

Searched refs:yuvData (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp205 android_ycbcr yuvData; in AHardwareBuffer_lockPlanes() local
206 int result = gBuffer->lockAsyncYCbCr(usage, bounds, &yuvData, fence); in AHardwareBuffer_lockPlanes()
209 outPlanes->planes[0].data = yuvData.y; 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()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java519 private static void yuvToRgb(byte[] yuvData, int outOffset, /*out*/byte[] rgbOut) { in yuvToRgb() argument
522 float y = yuvData[0] & 0xFF; // Y channel in yuvToRgb()
523 float cb = yuvData[1] & 0xFF; // U channel in yuvToRgb()
524 float cr = yuvData[2] & 0xFF; // V channel in yuvToRgb()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1449 private static void validateYuvData(byte[] yuvData, int width, int height, int format, in validateYuvData() argument
1454 assertEquals("Yuv data doesn't match", expectedSize, yuvData.length); in validateYuvData()
1461 dumpFile(fileName, yuvData); in validateYuvData()