Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1173 private void prepareImageReaders(Size[] outputSizes, int[] outputFormats, Size inputSize,
1179 if (outputSizes[i].equals(inputSize) && outputFormats[i] == inputFormat) {
1181 outputSizes[i].getHeight(), outputFormats[i],
1186 outputSizes[i].getHeight(), outputFormats[i],
1228 int outputFormats[] = new int[1];
1229 outputFormats[0] = ImageFormat.YUV_420_888;
1235 prepareImageReaders(outputSizes, outputFormats, /*inputSize*/null, /*inputFormat*/0,
1492 int outputFormats[];
1507 outputFormats = new int[numSurfaces];
1511 outputFormats[i] = ImageFormat.YUV_420_888;
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiResolutionImageReaderTest.java106 int[] outputFormats = config.getOutputFormats(); in testMultiResolutionCaptureCharacteristics() local
133 CameraTestUtils.contains(outputFormats, format)); in testMultiResolutionCaptureCharacteristics()
368 int[] outputFormats = multiResolutionMap.getOutputFormats(); in testMultiResolutionImageReaderForFormat() local
369 if (!CameraTestUtils.contains(outputFormats, format)) { in testMultiResolutionImageReaderForFormat()
371 + "for format " + format + " vs " + Arrays.toString(outputFormats)); in testMultiResolutionImageReaderForFormat()
DExtendedCameraCharacteristicsTest.java173 int[] outputFormats = config.getOutputFormats(); in testAvailableStreamConfigs() local
187 && arrayContains(outputFormats, ImageFormat.Y8); in testAvailableStreamConfigs()
189 boolean supportHeic = arrayContains(outputFormats, ImageFormat.HEIC); in testAvailableStreamConfigs()
193 mAllCameraIds[i]), outputFormats, ImageFormat.YUV_420_888); in testAvailableStreamConfigs()
197 mAllCameraIds[i]), outputFormats, ImageFormat.Y8); in testAvailableStreamConfigs()
200 mAllCameraIds[i]), outputFormats, ImageFormat.JPEG); in testAvailableStreamConfigs()
519 Set<Integer> outputFormats = previewConfig.getOutputFormats(); in verifyRecommendedPreviewConfiguration() local
522 outputFormats.containsAll(Arrays.asList(new Integer(ImageFormat.YUV_420_888), in verifyRecommendedPreviewConfiguration()
637 Set<Integer> outputFormats = videoSnapshotConfig.getOutputFormats(); in verifyRecommendedVideoSnapshotConfiguration() local
640 outputFormats, Arrays.asList(new Integer(ImageFormat.JPEG))); in verifyRecommendedVideoSnapshotConfiguration()
[all …]
DCameraDeviceTest.java1135 int outputFormats [] = config.getValidOutputFormatsForInput(inFormat); in testCreateSessionWithParametersByCamera() local
1136 for (int outFormat : outputFormats) { in testCreateSessionWithParametersByCamera()
1153 int outputFormats [] = config.getValidOutputFormatsForInput(inputFormat); in testCreateSessionWithParametersByCamera() local
1155 (outputFormats.length > 0)); in testCreateSessionWithParametersByCamera()
1156 outputFormat = outputFormats[0]; in testCreateSessionWithParametersByCamera()
2472 int[] outputFormats = mStaticInfo.getAvailableFormats( in checkRequestForTemplate() local
2475 for (int format : outputFormats) { in checkRequestForTemplate()
DCaptureResultTest.java691 int[] outputFormats = staticInfo.getAvailableFormats( in getWaiverKeysForCamera() local
694 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/permission4/AppThatAccessesCameraAndMic/src/android/permission4/cts/appthataccessescameraandmic/
DAccessCameraOrMicActivity.kt111 val outputFormat = config!!.outputFormats[0] in onOpened()