/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ReprocessCaptureTest.java | 247 for (int inputFormat : inputFormats) { in testRecreateReprocessingSessions() 249 mStaticInfo.getValidOutputFormatsForInput(inputFormat); in testRecreateReprocessingSessions() 252 getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); in testRecreateReprocessingSessions() 257 testReprocess(id, maxInputSize, inputFormat, maxReprocessOutputSize, in testRecreateReprocessingSessions() 276 int inputFormat; in testCrossSessionCaptureException() local 280 inputFormat = ImageFormat.PRIVATE; in testCrossSessionCaptureException() 282 inputFormat = ImageFormat.YUV_420_888; in testCrossSessionCaptureException() 291 getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); in testCrossSessionCaptureException() 298 " inputSize: " + inputSize + " inputFormat: " + inputFormat + in testCrossSessionCaptureException() 303 setupImageReaders(inputSize, inputFormat, reprocessOutputSize, in testCrossSessionCaptureException() [all …]
|
D | MultiResolutionReprocessCaptureTest.java | 300 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 …]
|
D | CameraDeviceTest.java | 1111 int inputFormat = ImageFormat.YUV_420_888; in testCreateSessionWithParametersByCamera() local 1112 int outputFormat = inputFormat; in testCreateSessionWithParametersByCamera() 1138 inputFormat = inFormat; in testCreateSessionWithParametersByCamera() 1152 inputFormat = inputFormats[0]; in testCreateSessionWithParametersByCamera() 1153 int outputFormats [] = config.getValidOutputFormatsForInput(inputFormat); in testCreateSessionWithParametersByCamera() 1154 assertTrue("No output formats supported for input format: " + inputFormat, in testCreateSessionWithParametersByCamera() 1159 Size inputSizes[] = config.getInputSizes(inputFormat); in testCreateSessionWithParametersByCamera() 1161 assertTrue("No valid sizes supported for input format: " + inputFormat, in testCreateSessionWithParametersByCamera() 1169 inputSize.getHeight(), inputFormat); in testCreateSessionWithParametersByCamera()
|
D | ExtendedCameraCharacteristicsTest.java | 690 int inputFormat = inputFormatInteger.intValue(); in verifyRecommendedZSLConfiguration() local 692 "unsupported input format %d for ID: %s", inputFormat, cameraId), in verifyRecommendedZSLConfiguration() 693 availableInputFormats, inputFormat); in verifyRecommendedZSLConfiguration() 695 Set<Size> inputSizes = zslConfig.getInputSizes(inputFormat); in verifyRecommendedZSLConfiguration() 696 Size [] availableInputSizes = fullConfig.getInputSizes(inputFormat); in verifyRecommendedZSLConfiguration() 698 "invalid input sizes for ID: %s", inputFormat, cameraId), in verifyRecommendedZSLConfiguration() 702 "unsupported input format %d with size %s ID: %s", inputFormat, in verifyRecommendedZSLConfiguration() 705 Set<Integer> validOutputFormats = zslConfig.getValidOutputFormatsForInput(inputFormat); in verifyRecommendedZSLConfiguration() 707 inputFormat); in verifyRecommendedZSLConfiguration() 712 inputFormat, cameraId), availableValidOutputFormats, outputFormat); in verifyRecommendedZSLConfiguration()
|
D | RobustnessTest.java | 598 int inputFormat = streamInfo.get(0).getFormat(); in testMandatoryReprocessableStreamCombination() local 599 if (substituteY8 && (inputFormat == ImageFormat.YUV_420_888)) { in testMandatoryReprocessableStreamCombination() 600 inputFormat = ImageFormat.Y8; in testMandatoryReprocessableStreamCombination() 620 inputSizes.get(0).getHeight(), inputFormat); in testMandatoryReprocessableStreamCombination()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3746/ |
D | poc.cpp | 100 sp<AMessage> inputFormat = new AMessage; in fuzzIOMXQcomVpx() local 102 codecDataIn = new SharedMemoryBuffer(inputFormat, memory); in fuzzIOMXQcomVpx()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeEditEncodeTest.java | 408 MediaFormat inputFormat = inputData.getMediaFormat(); in editVideoFile() local 416 inputFormat.getInteger(MediaFormat.KEY_BIT_RATE)); in editVideoFile() 418 inputFormat.getInteger(MediaFormat.KEY_FRAME_RATE)); in editVideoFile() 420 inputFormat.getInteger(MediaFormat.KEY_I_FRAME_INTERVAL)); in editVideoFile() 435 inputFormat.setInteger(KEY_ALLOW_FRAME_DROP, 0); in editVideoFile() 437 decoder.configure(inputFormat, outputSurface.getSurface(), null, 0); in editVideoFile() 441 inputFormat = decoder.getInputFormat(); in editVideoFile() 443 0, inputFormat.getInteger(KEY_ALLOW_FRAME_DROP)); in editVideoFile()
|
D | ExtractDecodeEditEncodeMuxTest.java | 359 MediaFormat inputFormat = videoExtractor.getTrackFormat(videoInputTrack); in extractDecodeEditEncodeMux() local 371 videoDecoder = createVideoDecoder(mcl, inputFormat, outputSurface.getSurface()); in extractDecodeEditEncodeMux() 378 MediaFormat inputFormat = audioExtractor.getTrackFormat(audioInputTrack); in extractDecodeEditEncodeMux() local 384 audioDecoder = createAudioDecoder(mcl, inputFormat); in extractDecodeEditEncodeMux() 609 MediaCodecList mcl, MediaFormat inputFormat, Surface surface) throws IOException { in createVideoDecoder() argument 610 MediaCodec decoder = MediaCodec.createByCodecName(mcl.findDecoderForFormat(inputFormat)); in createVideoDecoder() 611 decoder.configure(inputFormat, surface, null, 0); in createVideoDecoder() 645 MediaCodecList mcl, MediaFormat inputFormat) throws IOException { in createAudioDecoder() argument 646 MediaCodec decoder = MediaCodec.createByCodecName(mcl.findDecoderForFormat(inputFormat)); in createAudioDecoder() 647 decoder.configure(inputFormat, null, null, 0); in createAudioDecoder()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaPerfUtils.java | 56 MediaFormat configFormat, MediaFormat inputFormat, MediaFormat outputFormat) { in addPerformanceHeadersToLog() argument 68 log.addValue("input_format", formatForReport(inputFormat), in addPerformanceHeadersToLog() 74 + " inputFormat=" + inputFormat + " outputFormat=" + outputFormat; in addPerformanceHeadersToLog()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 1174 int inputFormat, int maxInputBuffers) { 1179 if (outputSizes[i].equals(inputSize) && outputFormats[i] == inputFormat) { 1193 inputFormat, maxInputBuffers); 1490 int inputFormat, int maxInputBuffers, boolean backgroundRequest) throws ItsException { 1605 prepareImageReaders(outputSizes, outputFormats, inputSize, inputFormat, maxInputBuffers); 1799 int inputFormat = getReprocessInputFormat(params); 1800 Size inputSize = ItsUtils.getMaxOutputSize(mCameraCharacteristics, inputFormat); 1802 prepareImageReadersWithOutputSpecs(jsonOutputSpecs, inputSize, inputFormat, 1808 inputSize.getHeight(), inputFormat);
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 904 MediaFormat inputFormat = codec.getInputFormat(); in runEncoder() local 905 mVideoStride = inputFormat.containsKey(MediaFormat.KEY_STRIDE) in runEncoder() 906 ? inputFormat.getInteger(MediaFormat.KEY_STRIDE) in runEncoder() 907 : inputFormat.getInteger(MediaFormat.KEY_WIDTH); in runEncoder() 908 mVideoVStride = inputFormat.containsKey(MediaFormat.KEY_SLICE_HEIGHT) in runEncoder() 909 ? inputFormat.getInteger(MediaFormat.KEY_SLICE_HEIGHT) in runEncoder() 910 : inputFormat.getInteger(MediaFormat.KEY_HEIGHT); in runEncoder()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 1464 public int[] getValidOutputFormatsForInput(int inputFormat) { in getValidOutputFormatsForInput() argument 1473 return config.getValidOutputFormatsForInput(inputFormat); in getValidOutputFormatsForInput()
|