Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java508 Size maxYuvSize = CameraTestUtils.getMaxSize( in testStaticBurstCharacteristics() local
510 Size maxFastYuvSize = maxYuvSize; in testStaticBurstCharacteristics()
515 maxYuvSize = CameraTestUtils.getMaxSize(new Size[]{maxYuvSize, maxSlowYuvSize}); in testStaticBurstCharacteristics()
521 boolean haveMaxYuv = maxYuvSize != null ? in testStaticBurstCharacteristics()
522 (maxJpegSize.getWidth() <= maxYuvSize.getWidth() && in testStaticBurstCharacteristics()
523 maxJpegSize.getHeight() <= maxYuvSize.getHeight()) : false; in testStaticBurstCharacteristics()
526 (maxYuvSize.getWidth() <= sensorSize.getWidth() * (1.0 + SIZE_ERROR_MARGIN) && in testStaticBurstCharacteristics()
527 maxYuvSize.getWidth() >= sensorSize.getWidth() * (1.0 - SIZE_ERROR_MARGIN) && in testStaticBurstCharacteristics()
528 maxYuvSize.getHeight() <= sensorSize.getHeight() * (1.0 + SIZE_ERROR_MARGIN) && in testStaticBurstCharacteristics()
529 maxYuvSize.getHeight() >= sensorSize.getHeight() * (1.0 - SIZE_ERROR_MARGIN)); in testStaticBurstCharacteristics()
[all …]
DSurfaceViewPreviewTest.java170 Size maxYuvSize = getSupportedPreviewSizes(cameraId, mCameraManager, null).get(0); in preparePerformanceTestByCamera() local
185 … createImageReader(maxYuvSize, ImageFormat.YUV_420_888, MAX_IMAGES_TO_PREPARE, imageListener); in preparePerformanceTestByCamera()
DPerformanceTest.java260 Size maxYuvSize = CameraTestUtils.getSortedSizesForFormat( in testSingleCapture() local
264 mOrderedPreviewSizes.get(0), maxYuvSize, in testSingleCapture()