Home
last modified time | relevance | path

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

123

/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java72 ImageFormat.YCBCR_P010, ImageFormat.YUV_420_888 };
134 case ImageFormat.YUV_420_888: in testYuvImage()
275 emptyData, ImageFormat.YUV_420_888, width, height, null); in testCompressYuvToJpegRWithBadInputs()
279 sdrData, ImageFormat.YUV_420_888, width, height, null); in testCompressYuvToJpegRWithBadInputs()
281 hdrData, ImageFormat.YUV_420_888, width, height, null); in testCompressYuvToJpegRWithBadInputs()
285 sdrData, ImageFormat.YUV_420_888, 720, 480, null); in testCompressYuvToJpegRWithBadInputs()
290 sdrData, ImageFormat.YUV_420_888, 720, 480, null, in testCompressYuvToJpegRWithBadInputs()
393 YuvImage sdrImage = new YuvImage(sdrData, ImageFormat.YUV_420_888, in testCompressYuvToJpegR()
428 YuvImage sdrImage = new YuvImage(sdrData, ImageFormat.YUV_420_888, in testCompressYuvToJpegRWithExif()
473 YuvImage sdrImage = new YuvImage(sdrData, ImageFormat.YUV_420_888, in testCompressYuvToJpegRWithStrides()
/cts/tests/camera/src/android/hardware/camera2/cts/
DSimpleObjectsTest.java342 ColorSpace.Named.DISPLAY_P3.ordinal(), ImageFormat.YUV_420_888, in colorSpaceProfilesTest()
354 colorSpaceProfiles.getSupportedColorSpaces(ImageFormat.YUV_420_888); in colorSpaceProfilesTest()
370 Assert.assertTrue(arrImageFormats[0] == ImageFormat.YUV_420_888); in colorSpaceProfilesTest()
388 ImageFormat.YUV_420_888); in colorSpaceProfilesTest()
416 colorSpaceProfiles.getSupportedColorSpacesForDynamicRange(ImageFormat.YUV_420_888, in colorSpaceProfilesTest()
DMultiResolutionReprocessCaptureTest.java189 ImageFormat.YUV_420_888)) { in testMultiResolutionReprocessCharacteristics()
214 ImageFormat.YUV_420_888)); in testMultiResolutionReprocessCharacteristics()
225 testMultiResolutionReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.YUV_420_888); in testMultiResolutionYuvToYuvReprocessing()
235 testMultiResolutionReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.JPEG); in testMultiResolutionYuvToJpegReprocessing()
246 testMultiResolutionReprocessing(id, ImageFormat.PRIVATE, ImageFormat.YUV_420_888); in testMultiResolutionOpaqueToYuvReprocessing()
357 final boolean inputIsYuv = inputConfig.getFormat() == ImageFormat.YUV_420_888; in testMultiResolutionMandatoryStreamCombination()
810 case ImageFormat.YUV_420_888: in dumpImage()
DImageWriterTest.java118 readerWriterFormatTestByCamera(ImageFormat.YUV_420_888, false); in testYuvImageWriterReaderOperation()
141 readerWriterFormatTestByCamera(ImageFormat.YUV_420_888, true); in testYuvImageWriterReaderOperationAlt()
152 final int READER_FORMAT = ImageFormat.YUV_420_888; in testAbandonedSurfaceExceptions()
208 int[] TEXTURE_TEST_FORMATS = {ImageFormat.YV12, ImageFormat.YUV_420_888}; in testWriterFormatOverride()
231 final int imageReaderFormat = ImageFormat.YUV_420_888; in testWriterWithImageFormatOverride()
376 .setImageFormat(ImageFormat.YUV_420_888) in testGetFence()
DImageReaderTest.java140 ImageFormat.YUV_420_888, /*repeating*/true); in testFlexibleYuv()
289 ImageFormat.YUV_420_888); in testDisplayP3Yuv()
298 ImageFormat.YUV_420_888, /*repeating*/false); in testDisplayP3Yuv()
318 ImageFormat.YUV_420_888); in testDisplayP3YuvRepeating()
327 ImageFormat.YUV_420_888, /*repeating*/true); in testDisplayP3YuvRepeating()
645 ImageFormat.YUV_420_888, /*repeating*/true); in testFlexibleYuvWithTimestampBase()
692 bufferFormatLongProcessingTimeTestByCamera(ImageFormat.YUV_420_888); in testLongProcessingRepeatingFlexibleYuv()
896 .setImageFormat(ImageFormat.YUV_420_888) in testImageReaderBuilderSetImageFormat()
902 assertEquals(ImageFormat.YUV_420_888, reader.getImageFormat()); in testImageReaderBuilderSetImageFormat()
913 assertEquals(ImageFormat.YUV_420_888, outputImage.getFormat()); in testImageReaderBuilderSetImageFormat()
[all …]
DReprocessCaptureTest.java101 testBasicReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.YUV_420_888); in testBasicYuvToYuvReprocessing()
116 testBasicReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.JPEG); in testBasicYuvToJpegReprocessing()
134 testBasicReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.HEIC); in testBasicYuvToHeicReprocessing()
149 testBasicReprocessing(id, ImageFormat.PRIVATE, ImageFormat.YUV_420_888); in testBasicOpaqueToYuvReprocessing()
280 inputFormat = ImageFormat.YUV_420_888; in testCrossSessionCaptureException()
358 inputFormat = ImageFormat.YUV_420_888; in testQueueImageWithoutRequest()
1174 if (inputFormat == ImageFormat.YUV_420_888) { in testReprocessRequestKeys()
1203 if (inputFormat == ImageFormat.YUV_420_888) { in testReprocessRequestKeys()
1518 return isReprocessSupported(cameraId, ImageFormat.YUV_420_888); in isYuvReprocessSupported()
1536 case ImageFormat.YUV_420_888: in dumpImage()
DLogicalCameraDeviceTest.java145 yuvSize.getHeight(), ImageFormat.YUV_420_888, /*maxImages*/1); in testInvalidPhysicalCameraIdInOutputConfiguration()
271 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testBasicLogicalPhysicalStreamCombination()
279 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testBasicLogicalPhysicalStreamCombination()
416 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testBasicPhysicalRequests()
466 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testBasicPhysicalRequests()
530 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testInvalidPhysicalCameraRequests()
638 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testLogicalCameraZoomSwitch()
1006 ImageFormat.YUV_420_888, previewSize); in findCommonPreviewSize()
1014 ImageFormat.YUV_420_888, previewSize); in findCommonPreviewSize()
1111 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testBasicPhysicalStreamingForCamera()
[all …]
DBurstCaptureTest.java56 testBurst(ImageFormat.YUV_420_888, YUV_BURST_SIZE, true/*checkFrameRate*/, in testYuvBurst()
81 testBurst(ImageFormat.YUV_420_888, YUV_BURST_SIZE, true/*checkFrameRate*/, in testYuvBurstWithStillBokeh()
DMultiViewTest.java127 new ImageVerifierListener(previewSize, ImageFormat.YUV_420_888); in testTextureViewPreviewWithImageReader()
129 ImageFormat.YUV_420_888, MAX_READER_IMAGES, yuvListener, mHandler); in testTextureViewPreviewWithImageReader()
208 new ImageVerifierListener(previewSize, ImageFormat.YUV_420_888); in testDualTextureViewAndImageReaderPreview()
210 ImageFormat.YUV_420_888, MAX_READER_IMAGES, yuvListener, mHandler); in testDualTextureViewAndImageReaderPreview()
519 int YUVFormats[] = {ImageFormat.YUV_420_888, ImageFormat.YUV_422_888, in testSharedSurfaceYUVImageReaderSwitch()
1311 ImageReader imageReader = makeImageReader(previewSize, ImageFormat.YUV_420_888, in testSharedSurfacesConfigByCamera()
DSurfaceViewPreviewTest.java231 … createImageReader(maxYuvSize, ImageFormat.YUV_420_888, MAX_IMAGES_TO_PREPARE, imageListener); in preparePerformanceTestByCamera()
233 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); in preparePerformanceTestByCamera()
801 createImageReader(maxYuvSize, ImageFormat.YUV_420_888, MAX_READER_IMAGES, imageListener); in surfaceSetTestByCamera()
DExtendedCameraCharacteristicsTest.java266 allCameraIds[i]), outputFormats, ImageFormat.YUV_420_888); in testAvailableStreamConfigs()
275 Size[] yuvSizes = config.getOutputSizes(ImageFormat.YUV_420_888); in testAvailableStreamConfigs()
283 ImageFormat.YUV_420_888, allCameraIds[i])); in testAvailableStreamConfigs()
733 outputFormats.containsAll(Arrays.asList(new Integer(ImageFormat.YUV_420_888), in verifyRecommendedPreviewConfiguration()
944 previewReader = createImageReader(previewSize, ImageFormat.YUV_420_888, in checkFormatLatency()
1446 config.getOutputSizes(ImageFormat.YUV_420_888)); in testStaticBurstCharacteristics()
1449 Size[] slowYuvSizes = config.getHighResolutionOutputSizes(ImageFormat.YUV_420_888); in testStaticBurstCharacteristics()
1478 config.getOutputMinFrameDuration(ImageFormat.YUV_420_888, maxFastYuvSize); in testStaticBurstCharacteristics()
1492 ImageFormat.YUV_420_888, maxSlowYuvSizeLessThan24M); in testStaticBurstCharacteristics()
1650 !supportYUV || arrayContains(inputFormats, ImageFormat.YUV_420_888)); in testReprocessingCharacteristics()
[all …]
/cts/tests/media/src/android/mediav2/cts/
DEncoderInput.java39 .setColorFormat(ImageFormat.YUV_420_888)
DAv1FilmGrainValidationTest.java171 setUpSurface(getWidth(format), getHeight(format), ImageFormat.YUV_420_888, 1, 0, null); in testAv1FilmGrainRequirement()
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraCaptureTest.java24 import static android.graphics.ImageFormat.YUV_420_888;
158 try (ImageReader imageReader = createImageReader(YUV_420_888)) { in virtualCamera_inputBuffer_doesntBlock()
171 assertThat(image.getFormat()).isEqualTo(YUV_420_888); in virtualCamera_inputBuffer_doesntBlock()
252 try (VirtualCamera virtualCamera = createVirtualCamera(width, height, YUV_420_888)) { in virtualCamera_renderFromMediaCodec() argument
DVirtualCameraUtils.java21 import static android.graphics.ImageFormat.YUV_420_888;
208 case YUV_420_888 -> yuv420ImageHasColor(image, color); in imageHasColor()
219 return YUV_420_888; in toFormat()
DVirtualCameraConfigTest.java22 import static android.graphics.ImageFormat.YUV_420_888;
62 private static final int CAMERA_FORMAT = YUV_420_888;
DVirtualCameraTest.java28 import static android.graphics.ImageFormat.YUV_420_888;
110 private static final int CAMERA_FORMAT = YUV_420_888;
698 try (ImageReader imageReader = createImageReader(YUV_420_888)) { in vdContext_legacyCameraPreview_withVirtualCamera()
712 assertThat(mFormatCaptor.getValue()).isEqualTo(YUV_420_888); in vdContext_legacyCameraPreview_withVirtualCamera()
869 try (ImageReader reader = createImageReader(YUV_420_888)) { in verifyConfigureSessionForSupportedFormatSucceeds()
878 assertThat(mFormatCaptor.getValue()).isEqualTo(YUV_420_888); in verifyConfigureSessionForSupportedFormatSucceeds()
/cts/tests/tests/media/common/src/android/media/cts/
DYUVImage.java71 return ImageFormat.YUV_420_888; in getFormat()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java501 Size configuredSize = (format == ImageFormat.YUV_420_888 ? mPreviewSize : mJpegSize); in onImageAvailable()
503 if (format == ImageFormat.YUV_420_888) { in onImageAvailable()
573 if (format == ImageFormat.YUV_420_888 && (mCurrentColorFilter == null || in onImageAvailable()
584 if (format == ImageFormat.YUV_420_888) { in onImageAvailable()
661 Size[] yuvSizes = config.getOutputSizes(ImageFormat.YUV_420_888); in setUpCamera()
887 mPreviewSize.getHeight(), ImageFormat.YUV_420_888, 1); in startPreview()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DImageReaderDecoderTest.java341 int imageFormat = ImageFormat.YUV_420_888; in decodeTest()
348 imageFormat = ImageFormat.YUV_420_888; in decodeTest()
667 format == ImageFormat.YUV_420_888 || in validateYuvData()
678 if ((format != ImageFormat.YUV_420_888) && in checkYuvFormat()
694 case ImageFormat.YUV_420_888: in checkAndroidImageFormat()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java331 case ImageFormat.YUV_420_888: in configureTarget()
370 case ImageFormat.YUV_420_888: in configureTarget()
447 if (substituteY8 && (format == ImageFormat.YUV_420_888)) { in setupConfigurationTargets()
475 case ImageFormat.YUV_420_888: in setupConfigurationTargets()
1748 if ((format != ImageFormat.YUV_420_888) && in checkYuvFormat()
1769 format = ImageFormat.YUV_420_888; in checkImage()
1928 case ImageFormat.YUV_420_888: in checkAndroidImageFormat()
2680 case ImageFormat.YUV_420_888: in validateImage()
3213 case ImageFormat.YUV_420_888: in getEffectivePlaneSizeForImage()
3300 if (lhsImg.getFormat() == ImageFormat.YUV_420_888 && in isImageStronglyEqual()
[all …]
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/
DVirtualDeviceRule.java25 import static android.graphics.ImageFormat.YUV_420_888;
521 .addStreamConfig(640, 480, YUV_420_888, 30) in getVirtualCameraSupport()
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DVideoDecodingWrapper.java55 private static final int IMAGE_READER_COLOR_SPACE = ImageFormat.YUV_420_888;
/cts/tests/tests/media/common/jni/
Dcodec-utils-jni.cpp106 int YUV_420_888; member
134 gFields.YUV_420_888 = env->GetStaticIntField(imageFormatClazz, fieldYUV420888); in initializeGlobalFields()
216 if (img->format != gFields.YUV_420_888 && img->format != gFields.YCBCR_P010) { in getNativeImage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java146 return getOutputSizes(ccs, ImageFormat.YUV_420_888, false); in getYuvOutputSizes()
251 } else if (format == ImageFormat.YUV_420_888 || format == ImageFormat.RAW_SENSOR in getDataFromImage()
332 case ImageFormat.YUV_420_888: in checkAndroidImageFormat()

123