Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DAllocationTest.java306 private static float[] convertPixelYuvToRgb(byte[] yuvData) { in convertPixelYuvToRgb() argument
310 assertTrue("YUV pixel must be at least 3 bytes large", CHANNELS <= yuvData.length); in convertPixelYuvToRgb()
314 float y = yuvData[0] & 0xFF; // Y channel in convertPixelYuvToRgb()
315 float cb = yuvData[1] & 0xFF; // U channel in convertPixelYuvToRgb()
316 float cr = yuvData[2] & 0xFF; // V channel in convertPixelYuvToRgb()
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java701 private static void validateYuvData(byte[] yuvData, int width, int height, int format, in validateYuvData() argument
711 assertEquals("Yuv data doesn't match", expectedSize, yuvData.length); in validateYuvData()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1673 private static void validateYuvData(byte[] yuvData, int width, int height, int format, in validateYuvData() argument
1678 assertEquals("Yuv data doesn't match", expectedSize, yuvData.length); in validateYuvData()
1685 dumpFile(fileName, yuvData); in validateYuvData()