Home
last modified time | relevance | path

Searched refs:jpegData (Results 1 – 6 of 6) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DFastBasicsTest.java133 byte[] jpegData = new byte[jpegBuffer.remaining()]; in camera2TestByCamera()
134 jpegBuffer.get(jpegData); in camera2TestByCamera()
136 Bitmap b = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in camera2TestByCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DCameraMuteToggleActivity.java228 byte[] jpegData = new byte[jpegBuffer.limit()]; in onImageAvailable()
229 jpegBuffer.get(jpegData); in onImageAvailable()
230 imgBitmap = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in onImageAvailable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java548 byte[] jpegData = new byte[jpegBuffer.limit()]; in onImageAvailable()
549 jpegBuffer.get(jpegData); in onImageAvailable()
550 imgBitmap = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in onImageAvailable()
/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java566 byte[] jpegData = stream.toByteArray(); in compressDecompress()
567 result = BitmapFactory.decodeByteArray(jpegData, 0, in compressDecompress()
568 jpegData.length); in compressDecompress()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2759 public static void validateJpegData(byte[] jpegData, int width, int height, String filePath) { in validateJpegData() argument
2760 validateJpegData(jpegData, width, height, filePath, /*colorSpace*/ null); in validateJpegData()
2763 public static void validateJpegData(byte[] jpegData, int width, int height, String filePath, in validateJpegData() argument
2765 validateJpegData(jpegData, width, height, filePath, colorSpace, false /*gainMapPresent*/); in validateJpegData()
2768 public static void validateJpegData(byte[] jpegData, int width, int height, String filePath, in validateJpegData() argument
2774 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, bmpOptions); in validateJpegData()
2780 Bitmap bitmapImage = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in validateJpegData()
2799 dumpFile(fileName, jpegData); in validateJpegData()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1197 private void assertBitmapAndJpegSizeEqual(byte[] jpegData, ExifInterface exif) { in assertBitmapAndJpegSizeEqual() argument
1203 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, bmpOptions); in assertBitmapAndJpegSizeEqual()