Home
last modified time | relevance | path

Searched refs:YUV_420_888 (Results 1 – 25 of 25) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DMultiViewTest.java91 new ImageVerifierListener(previewSize, ImageFormat.YUV_420_888); in testTextureViewPreviewWithImageReader()
93 ImageFormat.YUV_420_888, MAX_READER_IMAGES, yuvListener, mHandler); in testTextureViewPreviewWithImageReader()
164 new ImageVerifierListener(previewSize, ImageFormat.YUV_420_888); in testDualTextureViewAndImageReaderPreview()
166 ImageFormat.YUV_420_888, MAX_READER_IMAGES, yuvListener, mHandler); in testDualTextureViewAndImageReaderPreview()
DAllocationTest.java19 import static android.graphics.ImageFormat.YUV_420_888;
431 width * height * ImageFormat.getBitsPerPixel(YUV_420_888) / BPP; in validateInputOutputNotZeroes()
474 mSizeIterable.forEachSize(YUV_420_888, new SizeBlock() { in testAllocationFromCameraFlexibleYuv()
479 .configureInputWithSurface(size, YUV_420_888) in testAllocationFromCameraFlexibleYuv()
542 getSupportedSizeForFormat(YUV_420_888, camera.getId(), mCameraManager)); in testBlackWhite()
604 getSupportedSizeForFormat(YUV_420_888, camera.getId(), mCameraManager)); in testParamSensitivity()
683 .configureInputWithSurface(size, YUV_420_888) in createGraphForYuvCroppedMeans()
DImageReaderTest.java104 bufferFormatTestByCamera(ImageFormat.YUV_420_888, /*repeating*/true); in testFlexibleYuv()
202 bufferFormatLongProcessingTimeTestByCamera(ImageFormat.YUV_420_888); in testLongProcessingRepeatingFlexibleYuv()
293 final int[] YUVFormats = new int[] {ImageFormat.YUV_420_888, ImageFormat.YV12}; in testAllOutputYUVResolutions()
499 imageFormat == ImageFormat.YUV_420_888 || imageFormat == ImageFormat.YV12 || in convertPixelYuvToRgba()
584 && format != ImageFormat.YUV_420_888) { in bufferFormatWithYuvTestByCamera()
604 yuvReader = createImageReader(maxYuvSz, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera()
645 maxYuvSz.getHeight(), ImageFormat.YUV_420_888, /*filePath*/null); in bufferFormatWithYuvTestByCamera()
663 ImageFormat.YUV_420_888 : ImageFormat.DEPTH16; in invalidAccessTestAfterClose()
DExtendedCameraCharacteristicsTest.java162 mIds[counter]), outputFormats, ImageFormat.YUV_420_888); in testAvailableStreamConfigs()
166 Size[] yuvSizes = config.getOutputSizes(ImageFormat.YUV_420_888); in testAvailableStreamConfigs()
172 ImageFormat.YUV_420_888, mIds[counter])); in testAvailableStreamConfigs()
509 config.getOutputSizes(ImageFormat.YUV_420_888)); in testStaticBurstCharacteristics()
512 Size[] slowYuvSizes = config.getHighResolutionOutputSizes(ImageFormat.YUV_420_888); in testStaticBurstCharacteristics()
540 config.getOutputMinFrameDuration(ImageFormat.YUV_420_888, maxYuvSize); in testStaticBurstCharacteristics()
547 config.getOutputMinFrameDuration(ImageFormat.YUV_420_888, maxFastYuvSize); in testStaticBurstCharacteristics()
690 !supportYUV || arrayContains(inputFormats, ImageFormat.YUV_420_888)); in testReprocessingCharacteristics()
705 arrayContains(outputFormats, ImageFormat.YUV_420_888)); in testReprocessingCharacteristics()
922 config.isOutputSupportedFor(ImageFormat.YUV_420_888)); in testStreamConfigurationMap()
[all …]
DBurstCaptureTest.java88 cameraId, mCameraManager, ImageFormat.YUV_420_888, /*bound*/null).get(0); in yuvBurstTestByCamera()
100 config.getOutputMinFrameDuration(ImageFormat.YUV_420_888, stillSize); in yuvBurstTestByCamera()
159 ImageFormat.YUV_420_888, resultListener, in yuvBurstTestByCamera()
DReprocessCaptureTest.java96 testBasicReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.YUV_420_888); in testBasicYuvToYuvReprocessing()
110 testBasicReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.JPEG); in testBasicYuvToJpegReprocessing()
124 testBasicReprocessing(id, ImageFormat.PRIVATE, ImageFormat.YUV_420_888); in testBasicOpaqueToYuvReprocessing()
232 inputFormat = ImageFormat.YUV_420_888; in testCrossSessionCaptureException()
1020 if (inputFormat == ImageFormat.YUV_420_888) { in testReprocessRequestKeys()
1049 if (inputFormat == ImageFormat.YUV_420_888) { in testReprocessRequestKeys()
1364 return isReprocessSupported(cameraId, ImageFormat.YUV_420_888); in isYuvReprocessSupported()
1379 case ImageFormat.YUV_420_888: in dumpImage()
DPerformanceTest.java68 private static final int[] REPROCESS_FORMATS = {ImageFormat.YUV_420_888, ImageFormat.PRIVATE};
131 initializeImageReader(id, ImageFormat.YUV_420_888); in testCameraLaunch()
261 id, mCameraManager, ImageFormat.YUV_420_888, /*bound*/null).get(0); in testSingleCapture()
265 ImageFormat.YUV_420_888, previewResultListener, in testSingleCapture()
726 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); in simpleOpenCamera()
DImageWriterTest.java100 readerWriterFormatTestByCamera(ImageFormat.YUV_420_888); in testYuvImageWriterReaderOperation()
145 final int READER_FORMAT = ImageFormat.YUV_420_888; in testAbandonedSurfaceExceptions()
DRobustnessTest.java86 ImageFormat.YUV_420_888 : ImageFormat.DEPTH16; in testBadSurfaceDimensions()
1052 static final int YUV = ImageFormat.YUV_420_888;
1065 Size[] yuvSizes = sm.getAvailableSizesForFormatChecked(ImageFormat.YUV_420_888, in MaxStreamSizes()
1099 Size[] yuvInputSizes = configs.getInputSizes(ImageFormat.YUV_420_888); in MaxStreamSizes()
1200 format = ImageFormat.YUV_420_888; in getInputConfig()
1256 (inputConfig.getFormat() == ImageFormat.YUV_420_888 ? 1 : 0) + in testReprocessStreamCombination()
1285 if (inputConfig.getFormat() == ImageFormat.YUV_420_888) { in testReprocessStreamCombination()
DDngCreatorTest.java196 mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.YUV_420_888, in testSingleImageThumbnail()
211 captureReaders.add(createImageReader(previewSize, ImageFormat.YUV_420_888, 2, in testSingleImageThumbnail()
556 previewReader = createImageReader(yuvSize, ImageFormat.YUV_420_888, in captureRawShots()
DStaticMetadataTest.java521 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); in getFpsForMaxSize()
523 Size[] sizes = CameraTestUtils.getSupportedSizeForFormat(ImageFormat.YUV_420_888, in getFpsForMaxSize()
DCaptureResultTest.java103 createDefaultImageReader(size, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in testCameraCaptureResultAllKeys()
169 createDefaultImageReader(size, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in testPartialResult()
293 previewReader = makeImageReader(previewSize, ImageFormat.YUV_420_888, in testResultTimestamps()
DCameraTestUtils.java770 if ((format != ImageFormat.YUV_420_888) && in checkYuvFormat()
783 format = ImageFormat.YUV_420_888; in checkImage()
894 case ImageFormat.YUV_420_888: in checkAndroidImageFormat()
1310 case ImageFormat.YUV_420_888: in validateImage()
DSurfaceViewPreviewTest.java185 … createImageReader(maxYuvSize, ImageFormat.YUV_420_888, MAX_IMAGES_TO_PREPARE, imageListener); in preparePerformanceTestByCamera()
DCameraDeviceTest.java139 createDefaultImageReader(DEFAULT_CAPTURE_SIZE, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in setUp()
655 Size yuvSize = getSortedSizesForFormat(cameraId, mCameraManager, ImageFormat.YUV_420_888, in testCreateSessionsByCamera()
667 ImageFormat.YUV_420_888, /*maxImages*/1)); in testCreateSessionsByCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java116 return getOutputSizes(ccs, ImageFormat.YUV_420_888); in getYuvOutputSizes()
186 } else if (format == ImageFormat.YUV_420_888 || format == ImageFormat.RAW_SENSOR in getDataFromImage()
255 case ImageFormat.YUV_420_888: in checkAndroidImageFormat()
DItsService.java675 } else if (format == ImageFormat.YUV_420_888) { in sendResponseCaptureResult()
825 outputFormats[0] = ImageFormat.YUV_420_888;
1053 outputFormats[i] = ImageFormat.YUV_420_888;
1104 outputFormats[0] = ImageFormat.YUV_420_888;
1407 } else if (format == ImageFormat.YUV_420_888) {
1723 return ImageFormat.YUV_420_888;
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java94 case ImageFormat.YUV_420_888: in newInstance()
237 typeBuilder.setYuvFormat(ImageFormat.YUV_420_888); in AllocationInfo()
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java236 int imageFormat = ImageFormat.YUV_420_888; in videoDecode()
702 format == ImageFormat.YUV_420_888 || in validateYuvData()
712 if ((format != ImageFormat.YUV_420_888) && in checkYuvFormat()
727 case ImageFormat.YUV_420_888: in checkAndroidImageFormat()
DVideoEncoderTest.java492 assertEquals("incorrect decoder format",decImage.getFormat(), ImageFormat.YUV_420_888); in renderDecodedBuffer()
493 assertEquals("incorrect encoder format", encImage.getFormat(), ImageFormat.YUV_420_888); in renderDecodedBuffer()
DEncodeDecodeTest.java1129 if (planes.length == 3 && image.getFormat() == ImageFormat.YUV_420_888) { in checkFrame()
DDecoderTest.java1763 assertEquals("unsupported image format", ImageFormat.YUV_420_888, format); in checksum()
/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp92 int YUV_420_888; member
119 gFields.YUV_420_888 = env->GetStaticIntField(imageFormatClazz, fieldYUV420888); in initializeGlobalFields()
193 if (img->format != gFields.YUV_420_888) { in getNativeImage()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java574 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); in openDevice()
707 if (format != ImageFormat.YUV_420_888 && format != ImageFormat.PRIVATE) { in isReprocessSupported()
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/
DVideoEncoderDecoderTest.java800 return ImageFormat.YUV_420_888; in getFormat()
871 assertTrue(image.getFormat() == ImageFormat.YUV_420_888); in queueInputImageEncoder()
1201 assertTrue(image.getFormat() == ImageFormat.YUV_420_888); in getPixelValuesFromImage()