Home
last modified time | relevance | path

Searched refs:outputFormats (Results 1 – 9 of 9) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DImageReaderArgs.java34 private ImageReaderArgs(Size[] outputSizes, int[] outputFormats, in ImageReaderArgs() argument
38 mOutputFormats = outputFormats; in ImageReaderArgs()
48 public static ImageReaderArgs valueOf(Size[] outputSizes, int[] outputFormats, in valueOf() argument
51 return new ImageReaderArgs(outputSizes.clone(), outputFormats.clone(), in valueOf()
DItsService.java1995 int[] outputFormats = args.getOutputFormats();
2004 if (outputSizes[i].equals(inputSize) && outputFormats[i] == inputFormat) {
2006 outputSizes[i].getHeight(), outputFormats[i],
2008 getReaderUsage(outputFormats[i], has10bitOutput, inputFormat));
2012 outputSizes[i].getHeight(), outputFormats[i],
2013 MAX_CONCURRENT_READER_BUFFERS, getReaderUsage(outputFormats[i],
2023 mImageReaderArgs = ImageReaderArgs.valueOf(outputSizes, outputFormats, inputSize,
2400 int outputFormats[];
2417 outputFormats = new int[numSurfaces];
2421 outputFormats[i] = ImageFormat.YUV_420_888;
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiResolutionImageReaderTest.java105 int[] outputFormats = config.getOutputFormats(); in testMultiResolutionCaptureCharacteristics() local
137 CameraTestUtils.contains(outputFormats, format)); in testMultiResolutionCaptureCharacteristics()
373 int[] outputFormats = multiResolutionMap.getOutputFormats(); in testMultiResolutionImageReaderForFormat() local
374 if (!CameraTestUtils.contains(outputFormats, format)) { in testMultiResolutionImageReaderForFormat()
376 + "for format " + format + " vs " + Arrays.toString(outputFormats)); in testMultiResolutionImageReaderForFormat()
DExtendedCameraCharacteristicsTest.java246 int[] outputFormats = config.getOutputFormats(); in testAvailableStreamConfigs() local
260 && arrayContains(outputFormats, ImageFormat.Y8); in testAvailableStreamConfigs()
262 boolean supportHeic = arrayContains(outputFormats, ImageFormat.HEIC); in testAvailableStreamConfigs()
266 allCameraIds[i]), outputFormats, ImageFormat.YUV_420_888); in testAvailableStreamConfigs()
270 allCameraIds[i]), outputFormats, ImageFormat.Y8); in testAvailableStreamConfigs()
273 allCameraIds[i]), outputFormats, ImageFormat.JPEG); in testAvailableStreamConfigs()
730 Set<Integer> outputFormats = previewConfig.getOutputFormats(); in verifyRecommendedPreviewConfiguration() local
733 outputFormats.containsAll(Arrays.asList(new Integer(ImageFormat.YUV_420_888), in verifyRecommendedPreviewConfiguration()
848 Set<Integer> outputFormats = videoSnapshotConfig.getOutputFormats(); in verifyRecommendedVideoSnapshotConfiguration() local
851 outputFormats, Arrays.asList(new Integer(ImageFormat.JPEG))); in verifyRecommendedVideoSnapshotConfiguration()
[all …]
DCameraDeviceTest.java1157 int outputFormats[] = config.getValidOutputFormatsForInput(inputFormat); in testCreateSessionWithParametersByCamera() local
1158 assertNotNull(outputFormats); in testCreateSessionWithParametersByCamera()
1159 assertTrue(contains(outputFormats, ImageFormat.JPEG)); in testCreateSessionWithParametersByCamera()
2483 int[] outputFormats = mStaticInfo.getAvailableFormats( in checkRequestForTemplate() local
2486 for (int format : outputFormats) { in checkRequestForTemplate()
DCaptureResultTest.java708 int[] outputFormats = staticInfo.getAvailableFormats( in getWaiverKeysForCamera() local
711 for (int format : outputFormats) { in getWaiverKeysForCamera()
/cts/tests/tests/sensorprivacy/test-apps/utils/src/android/sensorprivacy/cts/testapp/utils/
DUtils.kt69 val outputFormat = config!!.outputFormats[0] in openCam()
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraTest.java843 int[] outputFormats = streamConfigurationMap.getOutputFormats(); in verifyCameraMaximumFramesPerSecond() local
844 for (int format : outputFormats) { in verifyCameraMaximumFramesPerSecond()
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsLoggingTest.kt797 val outputFormat = config!!.outputFormats[0] in nativeNoteOp()