Home
last modified time | relevance | path

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

12

/cts/tests/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java126 yuvSize.getHeight(), ImageFormat.YUV_420_888, /*maxImages*/1); in testInvalidPhysicalCameraIdInOutputConfiguration()
247 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testBasicLogicalPhysicalStreamCombination()
255 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testBasicLogicalPhysicalStreamCombination()
379 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testBasicPhysicalRequests()
422 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testBasicPhysicalRequests()
484 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testInvalidPhysicalCameraRequests()
590 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testLogicalCameraZoomSwitch()
906 ImageFormat.YUV_420_888, previewSize); in findCommonPreviewSize()
914 ImageFormat.YUV_420_888, previewSize); in findCommonPreviewSize()
987 ImageFormat.YUV_420_888, MAX_IMAGE_COUNT, in testBasicPhysicalStreamingForCamera()
[all …]
DReprocessCaptureTest.java99 testBasicReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.YUV_420_888); in testBasicYuvToYuvReprocessing()
114 testBasicReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.JPEG); in testBasicYuvToJpegReprocessing()
132 testBasicReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.HEIC); in testBasicYuvToHeicReprocessing()
147 testBasicReprocessing(id, ImageFormat.PRIVATE, ImageFormat.YUV_420_888); in testBasicOpaqueToYuvReprocessing()
278 inputFormat = ImageFormat.YUV_420_888; in testCrossSessionCaptureException()
1094 if (inputFormat == ImageFormat.YUV_420_888) { in testReprocessRequestKeys()
1123 if (inputFormat == ImageFormat.YUV_420_888) { in testReprocessRequestKeys()
1438 return isReprocessSupported(cameraId, ImageFormat.YUV_420_888); in isYuvReprocessSupported()
1456 case ImageFormat.YUV_420_888: in dumpImage()
DImageReaderTest.java114 bufferFormatTestByCamera(ImageFormat.YUV_420_888, /*repeating*/true); in testFlexibleYuv()
298 bufferFormatLongProcessingTimeTestByCamera(ImageFormat.YUV_420_888); in testLongProcessingRepeatingFlexibleYuv()
462 final int[] YUVFormats = new int[] {ImageFormat.YUV_420_888, ImageFormat.YV12}; in testAllOutputYUVResolutions()
744 imageFormat == ImageFormat.YUV_420_888 || imageFormat == ImageFormat.YV12 || in convertPixelYuvToRgba()
843 && format != ImageFormat.YUV_420_888) { in bufferFormatWithYuvTestByCamera()
864 yuvReader = createImageReader(maxYuvSz, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera()
867 yuvReader = createImageReader(maxYuvSz, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera()
915 maxYuvSz.getHeight(), ImageFormat.YUV_420_888, /*filePath*/null); in bufferFormatWithYuvTestByCamera()
935 ImageFormat.YUV_420_888 : ImageFormat.DEPTH16; in invalidAccessTestAfterClose()
963 ImageFormat.YUV_420_888 : ImageFormat.DEPTH16; in discardFreeBuffersTestByCamera()
DAllocationTest.java19 import static android.graphics.ImageFormat.YUV_420_888;
445 width * height * ImageFormat.getBitsPerPixel(YUV_420_888) / BPP; in validateInputOutputNotZeroes()
488 mSizeIterable.forEachSize(YUV_420_888, new SizeBlock() { in testAllocationFromCameraFlexibleYuv()
493 .configureInputWithSurface(size, YUV_420_888) in testAllocationFromCameraFlexibleYuv()
557 getSupportedSizeForFormat(YUV_420_888, camera.getId(), mCameraManager)); in testBlackWhite()
636 getSupportedSizeForFormat(YUV_420_888, camera.getId(), mCameraManager)); in testParamSensitivity()
729 .configureInputWithSurface(size, YUV_420_888) in createGraphForYuvCroppedMeans()
DImageWriterTest.java100 readerWriterFormatTestByCamera(ImageFormat.YUV_420_888, false); in testYuvImageWriterReaderOperation()
122 readerWriterFormatTestByCamera(ImageFormat.YUV_420_888, true); in testYuvImageWriterReaderOperationAlt()
132 final int READER_FORMAT = ImageFormat.YUV_420_888; in testAbandonedSurfaceExceptions()
DExtendedCameraCharacteristicsTest.java176 mAllCameraIds[counter]), outputFormats, ImageFormat.YUV_420_888); in testAvailableStreamConfigs()
185 Size[] yuvSizes = config.getOutputSizes(ImageFormat.YUV_420_888); in testAvailableStreamConfigs()
193 ImageFormat.YUV_420_888, mAllCameraIds[counter])); in testAvailableStreamConfigs()
503 outputFormats.containsAll(Arrays.asList(new Integer(ImageFormat.YUV_420_888), in verifyRecommendedPreviewConfiguration()
707 previewReader = createImageReader(previewSize, ImageFormat.YUV_420_888, in checkFormatLatency()
1194 config.getOutputSizes(ImageFormat.YUV_420_888)); in testStaticBurstCharacteristics()
1197 Size[] slowYuvSizes = config.getHighResolutionOutputSizes(ImageFormat.YUV_420_888); in testStaticBurstCharacteristics()
1226 config.getOutputMinFrameDuration(ImageFormat.YUV_420_888, maxFastYuvSize); in testStaticBurstCharacteristics()
1240 ImageFormat.YUV_420_888, maxSlowYuvSizeLessThan24M); in testStaticBurstCharacteristics()
1399 !supportYUV || arrayContains(inputFormats, ImageFormat.YUV_420_888)); in testReprocessingCharacteristics()
[all …]
DPerformanceTest.java81 private static final int[] REPROCESS_FORMATS = {ImageFormat.YUV_420_888, ImageFormat.PRIVATE};
154 initializeImageReader(id, ImageFormat.YUV_420_888); in testCameraLaunch()
285 int[] YUV_FORMAT = {ImageFormat.YUV_420_888}; in testSingleCapture()
554 id, mCameraManager, ImageFormat.YUV_420_888, /*bound*/null).get(0); in testMultipleCapture()
560 config.getOutputMinFrameDuration(ImageFormat.YUV_420_888, maxYuvSize); in testMultipleCapture()
571 ImageFormat.YUV_420_888, previewResultListener, in testMultipleCapture()
1285 if (format != ImageFormat.YUV_420_888 && format != ImageFormat.PRIVATE) { in isReprocessSupported()
DMultiViewTest.java113 new ImageVerifierListener(previewSize, ImageFormat.YUV_420_888); in testTextureViewPreviewWithImageReader()
115 ImageFormat.YUV_420_888, MAX_READER_IMAGES, yuvListener, mHandler); in testTextureViewPreviewWithImageReader()
194 new ImageVerifierListener(previewSize, ImageFormat.YUV_420_888); in testDualTextureViewAndImageReaderPreview()
196 ImageFormat.YUV_420_888, MAX_READER_IMAGES, yuvListener, mHandler); in testDualTextureViewAndImageReaderPreview()
501 int YUVFormats[] = {ImageFormat.YUV_420_888, ImageFormat.YUV_422_888, in testSharedSurfaceYUVImageReaderSwitch()
1167 ImageReader imageReader = makeImageReader(previewSize, ImageFormat.YUV_420_888, in testSharedSurfacesConfigByCamera()
DRobustnessTest.java90 ImageFormat.YUV_420_888 : ImageFormat.DEPTH16; in testBadSurfaceDimensions()
229 if (substituteY8 && (format == ImageFormat.YUV_420_888)) { in setupConfigurationTargets()
263 case ImageFormat.YUV_420_888: { in setupConfigurationTargets()
329 if (streamInfo.getFormat() == ImageFormat.YUV_420_888) { in testMandatoryStreamCombination()
520 if (streamInfo.getFormat() == ImageFormat.YUV_420_888) { in testMandatoryReprocessableStreamCombination()
575 if (substituteY8 && (inputFormat == ImageFormat.YUV_420_888)) { in testMandatoryReprocessableStreamCombination()
600 final boolean inputIsYuv = inputConfig.getFormat() == ImageFormat.YUV_420_888; in testMandatoryReprocessableStreamCombination()
DDngCreatorTest.java228 mStaticInfo.getAvailableSizesForFormatChecked(ImageFormat.YUV_420_888, in testSingleImageThumbnail()
243 captureReaders.add(createImageReader(previewSize, ImageFormat.YUV_420_888, 2, in testSingleImageThumbnail()
711 previewReader = createImageReader(yuvSize, ImageFormat.YUV_420_888, in captureRawShots()
DStaticMetadataTest.java545 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); in getFpsForMaxSize()
547 Size[] sizes = CameraTestUtils.getSupportedSizeForFormat(ImageFormat.YUV_420_888, in getFpsForMaxSize()
DCameraDeviceTest.java599 createDefaultImageReader(DEFAULT_CAPTURE_SIZE, ImageFormat.YUV_420_888, in testChainedOperation()
757 ImageFormat.YUV_420_888, /*maxImages*/1); in testCreateCustomSessionByCamera()
916 int outputFormat = ImageFormat.YUV_420_888; in testSessionParametersStateLeakByCamera()
1089 int inputFormat = ImageFormat.YUV_420_888; in testCreateSessionWithParametersByCamera()
1206 Size yuvSize = getSortedSizesForFormat(cameraId, mCameraManager, ImageFormat.YUV_420_888, in testCreateSessionsByCamera()
1218 ImageFormat.YUV_420_888, /*maxImages*/1)); in testCreateSessionsByCamera()
1853 createDefaultImageReader(DEFAULT_CAPTURE_SIZE, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in prepareCapture()
DCaptureResultTest.java105 createDefaultImageReader(size, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in testCameraCaptureResultAllKeys()
167 createDefaultImageReader(size, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in testPartialResult()
291 previewReader = makeImageReader(previewSize, ImageFormat.YUV_420_888, in testResultTimestamps()
DBurstCaptureTest.java51 testBurst(ImageFormat.YUV_420_888, YUV_BURST_SIZE, true/*checkFrameRate*/); in testYuvBurst()
DSurfaceViewPreviewTest.java226 … createImageReader(maxYuvSize, ImageFormat.YUV_420_888, MAX_IMAGES_TO_PREPARE, imageListener); in preparePerformanceTestByCamera()
835 createImageReader(maxYuvSize, ImageFormat.YUV_420_888, MAX_READER_IMAGES, imageListener); in surfaceSetTestByCamera()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanSurfaceSupportTest.java44 ImageReader reader = ImageReader.newInstance(640, 480, ImageFormat.YUV_420_888, 3); in testVulkanUnsupportedFormat()
/cts/tests/camera/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/
DYUVImage.java74 return ImageFormat.YUV_420_888; in getFormat()
DImageReaderDecoderTest.java240 int imageFormat = ImageFormat.YUV_420_888; in videoDecode()
705 format == ImageFormat.YUV_420_888 || in validateYuvData()
715 if ((format != ImageFormat.YUV_420_888) && in checkYuvFormat()
730 case ImageFormat.YUV_420_888: in checkAndroidImageFormat()
DHeifWriterTest.java478 heifWriter.addYuvBuffer(ImageFormat.YUV_420_888, data); in doTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java129 return getOutputSizes(ccs, ImageFormat.YUV_420_888); in getYuvOutputSizes()
221 } else if (format == ImageFormat.YUV_420_888 || format == ImageFormat.RAW_SENSOR in getDataFromImage()
302 case ImageFormat.YUV_420_888: in checkAndroidImageFormat()
DItsService.java377 chars, ImageFormat.YUV_420_888); in openCameraDevice()
830 } else if (format == ImageFormat.YUV_420_888) { in sendResponseCaptureResult()
1082 outputFormats[0] = ImageFormat.YUV_420_888;
1342 outputFormats[i] = ImageFormat.YUV_420_888;
1359 outputFormats[i] = ImageFormat.YUV_420_888;
1423 mCameraCharacteristics, ImageFormat.YUV_420_888);
1429 outputFormats[0] = ImageFormat.YUV_420_888;
1432 outputFormats[1] = ImageFormat.YUV_420_888;
1780 } else if (format == ImageFormat.YUV_420_888) {
2221 return ImageFormat.YUV_420_888;
/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp101 int YUV_420_888; member
128 gFields.YUV_420_888 = env->GetStaticIntField(imageFormatClazz, fieldYUV420888); in initializeGlobalFields()
202 if (img->format != gFields.YUV_420_888) { in getNativeImage()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java653 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888); in openDevice()
863 if (format != ImageFormat.YUV_420_888 && format != ImageFormat.PRIVATE) { in isReprocessSupported()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java988 if ((format != ImageFormat.YUV_420_888) && in checkYuvFormat()
1001 format = ImageFormat.YUV_420_888; in checkImage()
1114 case ImageFormat.YUV_420_888: in checkAndroidImageFormat()
1574 case ImageFormat.YUV_420_888: in validateImage()
2071 case ImageFormat.YUV_420_888: in getEffectivePlaneSizeForImage()
2157 if (lhsImg.getFormat() == ImageFormat.YUV_420_888 && in isImageStronglyEqual()

12