Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrYuvLuminanceSource.java27 public QrYuvLuminanceSource(byte[] yuvData, int width, int height) { in QrYuvLuminanceSource() argument
32 mYuvData = yuvData; in QrYuvLuminanceSource()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp298 android_ycbcr yuvData; in AHardwareBuffer_lockPlanes() local
299 int result = gBuffer->lockAsyncYCbCr(usage, bounds, &yuvData, fence); in AHardwareBuffer_lockPlanes()
302 outPlanes->planes[0].data = yuvData.y; in AHardwareBuffer_lockPlanes()
310 outPlanes->planes[0].rowStride = yuvData.ystride; in AHardwareBuffer_lockPlanes()
311 outPlanes->planes[1].data = yuvData.cb; in AHardwareBuffer_lockPlanes()
312 outPlanes->planes[1].pixelStride = yuvData.chroma_step; in AHardwareBuffer_lockPlanes()
313 outPlanes->planes[1].rowStride = yuvData.cstride; in AHardwareBuffer_lockPlanes()
314 outPlanes->planes[2].data = yuvData.cr; in AHardwareBuffer_lockPlanes()
315 outPlanes->planes[2].pixelStride = yuvData.chroma_step; in AHardwareBuffer_lockPlanes()
316 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()