Home
last modified time | relevance | path

Searched refs:inputFormat (Results 1 – 17 of 17) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DReprocessCaptureTest.java245 for (int inputFormat : inputFormats) { in testRecreateReprocessingSessions()
247 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testRecreateReprocessingSessions()
250 getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); in testRecreateReprocessingSessions()
255 testReprocess(id, maxInputSize, inputFormat, maxReprocessOutputSize, in testRecreateReprocessingSessions()
274 int inputFormat; in testCrossSessionCaptureException() local
278 inputFormat = ImageFormat.PRIVATE; in testCrossSessionCaptureException()
280 inputFormat = ImageFormat.YUV_420_888; in testCrossSessionCaptureException()
289 getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); in testCrossSessionCaptureException()
296 " inputSize: " + inputSize + " inputFormat: " + inputFormat + in testCrossSessionCaptureException()
301 setupImageReaders(inputSize, inputFormat, reprocessOutputSize, in testCrossSessionCaptureException()
[all …]
DMultiResolutionReprocessCaptureTest.java300 int inputFormat = firstStreamInfo.getFormat(); in testMultiResolutionMandatoryStreamCombinationTest() local
302 CameraTestUtils.contains(multiResolutionOutputFormats, inputFormat) && in testMultiResolutionMandatoryStreamCombinationTest()
303 CameraTestUtils.contains(multiResolutionInputFormats, inputFormat); in testMultiResolutionMandatoryStreamCombinationTest()
343 int inputFormat = streamInfo.get(0).getFormat(); in testMultiResolutionMandatoryStreamCombination() local
351 multiResStreamConfig.getInputInfo(inputFormat); in testMultiResolutionMandatoryStreamCombination()
352 InputConfiguration inputConfig = new InputConfiguration(multiResInputs, inputFormat); in testMultiResolutionMandatoryStreamCombination()
367 inputReader = new MultiResolutionImageReader(multiResInputs, inputFormat, in testMultiResolutionMandatoryStreamCombination()
478 private void testMultiResolutionReprocessing(String cameraId, int inputFormat, in testMultiResolutionReprocessing() argument
482 + inputFormat + " outputFormat: " + outputFormat); in testMultiResolutionReprocessing()
486 getMultiResReprocessInfo(cameraId, inputFormat, /*input*/ true); in testMultiResolutionReprocessing()
[all …]
DCameraDeviceTest.java1125 int inputFormat = ImageFormat.YUV_420_888; in testCreateSessionWithParametersByCamera() local
1126 int outputFormat = inputFormat; in testCreateSessionWithParametersByCamera()
1156 inputFormat = inputFormats[0]; in testCreateSessionWithParametersByCamera()
1157 int outputFormats[] = config.getValidOutputFormatsForInput(inputFormat); in testCreateSessionWithParametersByCamera()
1162 Size inputSizes[] = config.getInputSizes(inputFormat); in testCreateSessionWithParametersByCamera()
1164 assertTrue("No valid sizes supported for input format: " + inputFormat, in testCreateSessionWithParametersByCamera()
1172 inputSize.getHeight(), inputFormat); in testCreateSessionWithParametersByCamera()
1174 inputSize.getHeight(), inputFormat, /*maxImages*/1); in testCreateSessionWithParametersByCamera()
DExtendedCameraCharacteristicsTest.java901 int inputFormat = inputFormatInteger.intValue(); in verifyRecommendedZSLConfiguration() local
903 "unsupported input format %d for ID: %s", inputFormat, cameraId), in verifyRecommendedZSLConfiguration()
904 availableInputFormats, inputFormat); in verifyRecommendedZSLConfiguration()
906 Set<Size> inputSizes = zslConfig.getInputSizes(inputFormat); in verifyRecommendedZSLConfiguration()
907 Size [] availableInputSizes = fullConfig.getInputSizes(inputFormat); in verifyRecommendedZSLConfiguration()
909 "invalid input sizes for ID: %s", inputFormat, cameraId), in verifyRecommendedZSLConfiguration()
913 "unsupported input format %d with size %s ID: %s", inputFormat, in verifyRecommendedZSLConfiguration()
916 Set<Integer> validOutputFormats = zslConfig.getValidOutputFormatsForInput(inputFormat); in verifyRecommendedZSLConfiguration()
918 inputFormat); in verifyRecommendedZSLConfiguration()
923 inputFormat, cameraId), availableValidOutputFormats, outputFormat); in verifyRecommendedZSLConfiguration()
DPerformanceTest.java1686 private void prepareReprocessCapture(int inputFormat)
1691 mTestRule.getStaticInfo().getAvailableSizesForFormatChecked(inputFormat,
1703 maxInputSize, inputFormat, MAX_ZSL_IMAGES,
1717 maxInputSize.getHeight(), inputFormat);
DRobustnessTest.java964 int inputFormat = streamInfo.get(0).getFormat(); in testMandatoryReprocessableStreamCombination() local
965 if (substituteY8 && (inputFormat == ImageFormat.YUV_420_888)) { in testMandatoryReprocessableStreamCombination()
966 inputFormat = ImageFormat.Y8; in testMandatoryReprocessableStreamCombination()
986 inputSizes.get(0).getHeight(), inputFormat); in testMandatoryReprocessableStreamCombination()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DImageReaderArgs.java35 Size inputSize, int inputFormat, in ImageReaderArgs() argument
40 mInputFormat = inputFormat; in ImageReaderArgs()
49 Size inputSize, int inputFormat, in valueOf() argument
52 inputSize, inputFormat, maxInputBuffers, has10bitOutput); in valueOf()
DItsService.java1940 private static long getReaderUsage(int format, boolean has10bitOutput, int inputFormat) {
1945 boolean notForZslReprocess = (inputFormat != format);
1997 int inputFormat = args.getInputFormat();
2004 if (outputSizes[i].equals(inputSize) && outputFormats[i] == inputFormat) {
2008 getReaderUsage(outputFormats[i], has10bitOutput, inputFormat));
2014 has10bitOutput, inputFormat));
2020 inputFormat, maxInputBuffers,
2021 getReaderUsage(inputFormat, has10bitOutput, inputFormat));
2024 inputFormat, maxInputBuffers, has10bitOutput);
2396 Size inputSize, int inputFormat, int maxInputBuffers,
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3746/
Dpoc.cpp100 sp<AMessage> inputFormat = new AMessage; in fuzzIOMXQcomVpx() local
102 codecDataIn = new SharedMemoryBuffer(inputFormat, memory); in fuzzIOMXQcomVpx()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DExtractDecodeEditEncodeMuxTest.java417 MediaFormat inputFormat = videoExtractor.getTrackFormat(videoInputTrack); in extractDecodeEditEncodeMux() local
429 videoDecoder = createVideoDecoder(mcl, inputFormat, outputSurface.getSurface()); in extractDecodeEditEncodeMux()
436 MediaFormat inputFormat = audioExtractor.getTrackFormat(audioInputTrack); in extractDecodeEditEncodeMux() local
442 audioDecoder = createAudioDecoder(mcl, inputFormat); in extractDecodeEditEncodeMux()
670 MediaCodecList mcl, MediaFormat inputFormat, Surface surface) throws IOException { in createVideoDecoder() argument
671 MediaCodec decoder = MediaCodec.createByCodecName(mcl.findDecoderForFormat(inputFormat)); in createVideoDecoder()
672 decoder.configure(inputFormat, surface, null, 0); in createVideoDecoder()
706 MediaCodecList mcl, MediaFormat inputFormat) throws IOException { in createAudioDecoder() argument
707 MediaCodec decoder = MediaCodec.createByCodecName(mcl.findDecoderForFormat(inputFormat)); in createAudioDecoder()
708 decoder.configure(inputFormat, null, null, 0); in createAudioDecoder()
DDecodeEditEncodeTest.java563 MediaFormat inputFormat = inputData.getMediaFormat(); in editVideoFile() local
571 inputFormat.getInteger(MediaFormat.KEY_BIT_RATE)); in editVideoFile()
573 inputFormat.getInteger(MediaFormat.KEY_FRAME_RATE)); in editVideoFile()
575 inputFormat.getInteger(MediaFormat.KEY_I_FRAME_INTERVAL)); in editVideoFile()
603 inputFormat.setInteger(KEY_ALLOW_FRAME_DROP, 0); in editVideoFile()
605 decoder.configure(inputFormat, outputSurface.getSurface(), null, 0); in editVideoFile()
609 inputFormat = decoder.getInputFormat(); in editVideoFile()
611 0, inputFormat.getInteger(KEY_ALLOW_FRAME_DROP)); in editVideoFile()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaPerfUtils.java58 MediaFormat configFormat, MediaFormat inputFormat, MediaFormat outputFormat) { in addPerformanceHeadersToLog() argument
70 log.addValue("input_format", formatForReport(inputFormat), in addPerformanceHeadersToLog()
76 + " inputFormat=" + inputFormat + " outputFormat=" + outputFormat; in addPerformanceHeadersToLog()
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraCameraXTest.kt251 inputFormat: Int = ImageFormat.YUV_420_888, in <lambda>()
273 .addStreamConfig(inputWidth, inputHeight, inputFormat, 30) in <lambda>()
DVirtualCameraCaptureTest.java272 private VirtualCamera createVirtualCamera(int inputWidth, int inputHeight, int inputFormat) { in createVirtualCamera() argument
274 inputFormat, CAMERA_MAX_FPS, SENSOR_ORIENTATION_0, LENS_FACING_FRONT, in createVirtualCamera()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java640 MediaFormat inputFormat = codec.getInputFormat(); in runEncoder() local
641 mVideoStride = inputFormat.containsKey(MediaFormat.KEY_STRIDE) in runEncoder()
642 ? inputFormat.getInteger(MediaFormat.KEY_STRIDE) in runEncoder()
643 : inputFormat.getInteger(MediaFormat.KEY_WIDTH); in runEncoder()
644 mVideoVStride = inputFormat.containsKey(MediaFormat.KEY_SLICE_HEIGHT) in runEncoder()
645 ? inputFormat.getInteger(MediaFormat.KEY_SLICE_HEIGHT) in runEncoder()
646 : inputFormat.getInteger(MediaFormat.KEY_HEIGHT); in runEncoder()
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DAndroidTestUtil.java720 Context context, String testId, Format inputFormat, @Nullable Format outputFormat) in skipAndLogIfFormatsUnsupported() argument
723 boolean canDecode = canDecode(inputFormat); in skipAndLogIfFormatsUnsupported()
733 skipReasonBuilder.append("Cannot decode ").append(inputFormat).append('\n'); in skipAndLogIfFormatsUnsupported()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java1553 public int[] getValidOutputFormatsForInput(int inputFormat) { in getValidOutputFormatsForInput() argument
1562 return config.getValidOutputFormatsForInput(inputFormat); in getValidOutputFormatsForInput()