/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderTestAacFormat.java | 268 MediaFormat outputFormat = decoder.getOutputFormat(); in decodeUpdateFormat() local 271 outputFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT)); in decodeUpdateFormat() 277 outputFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in decodeUpdateFormat() 284 outputFormat.getInteger(MediaFormat.KEY_CHANNEL_MASK)); in decodeUpdateFormat() 289 Log.i(TAG, "output format has changed to " + outputFormat); in decodeUpdateFormat()
|
/cts/tests/tests/sensorprivacy/test-apps/utils/src/android/sensorprivacy/cts/testapp/utils/ |
D | Utils.kt | 69 val outputFormat = config!!.outputFormats[0] in openCam() constant 70 val outputSize: Size = config!!.getOutputSizes(outputFormat)[0] in openCam() 95 outputSize.width, outputSize.height, outputFormat, 2) in openCam()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | MultiResolutionReprocessCaptureTest.java | 479 int outputFormat) throws Exception { in testMultiResolutionReprocessing() argument 482 + inputFormat + " outputFormat: " + outputFormat); in testMultiResolutionReprocessing() 490 getMultiResReprocessInfo(cameraId, outputFormat, /*input*/ false); in testMultiResolutionReprocessing() 504 outputFormat, reprocessOutputStreamInfo); in testMultiResolutionReprocessing() 516 int outputFormat, Collection<MultiResolutionStreamInfo> outputInfo) in testMultiResolutionReprocessWithStreamInfo() argument 519 setupMultiResImageReaders(inputFormat, inputInfo, outputFormat, outputInfo, in testMultiResolutionReprocessWithStreamInfo() 535 reprocessedImage, outputFormat, outputSize, in testMultiResolutionReprocessWithStreamInfo() 542 outputFormat)); in testMultiResolutionReprocessWithStreamInfo() 568 Collection<MultiResolutionStreamInfo> inputInfo, int outputFormat, in setupMultiResImageReaders() argument 574 if (inputFormat == outputFormat) { in setupMultiResImageReaders() [all …]
|
D | CameraDeviceTest.java | 951 int outputFormat = ImageFormat.YUV_420_888; in testSessionParametersStateLeakByCamera() local 962 if (config.isOutputSupportedFor(outputFormat)) { in testSessionParametersStateLeakByCamera() 963 outputSize = config.getOutputSizes(outputFormat)[0]; in testSessionParametersStateLeakByCamera() 969 outputSize.getHeight(), outputFormat, /*maxImages*/3); in testSessionParametersStateLeakByCamera() 1126 int outputFormat = inputFormat; in testCreateSessionWithParametersByCamera() local 1160 outputFormat = ImageFormat.JPEG; in testCreateSessionWithParametersByCamera() 1163 Size outputSizes[] = config.getOutputSizes(outputFormat); in testCreateSessionWithParametersByCamera() 1166 assertTrue("No valid sizes supported for output format: " + outputFormat, in testCreateSessionWithParametersByCamera() 1176 if (config.isOutputSupportedFor(outputFormat)) { in testCreateSessionWithParametersByCamera() 1177 outputSize = config.getOutputSizes(outputFormat)[0]; in testCreateSessionWithParametersByCamera() [all …]
|
D | CameraDeviceSetupTest.java | 222 int outputFormat = ImageFormat.YUV_420_888; in testSessionCharacteristics() local 227 outputSize.getHeight(), outputFormat, /*maxImages*/3)) { in testSessionCharacteristics() argument
|
D | ExtendedCameraCharacteristicsTest.java | 873 int outputFormat = outputFormatInteger.intValue(); in verifyRecommendedRawConfiguration() local 874 switch (outputFormat) { in verifyRecommendedRawConfiguration() 882 " non-RAW formats like: %d for ID: %s", outputFormat, cameraId)); in verifyRecommendedRawConfiguration() 920 int outputFormat = outputFormatInteger.intValue(); in verifyRecommendedZSLConfiguration() local 922 "unsupported output format %d for input %s ID: %s", outputFormat, in verifyRecommendedZSLConfiguration() 923 inputFormat, cameraId), availableValidOutputFormats, outputFormat); in verifyRecommendedZSLConfiguration()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | EncodeDecodeAccuracyTest.java | 544 MediaFormat outputFormat = mEncoder.getOutputFormat(); in testEncodeDecodeAccuracyRGB() local 545 assertTrue(outputFormat.containsKey(MediaFormat.KEY_COLOR_RANGE)); in testEncodeDecodeAccuracyRGB() 546 assertTrue(outputFormat.containsKey(MediaFormat.KEY_COLOR_STANDARD)); in testEncodeDecodeAccuracyRGB() 547 assertTrue(outputFormat.containsKey(MediaFormat.KEY_COLOR_TRANSFER)); in testEncodeDecodeAccuracyRGB() 550 outputFormat.removeKey(MediaFormat.KEY_COLOR_RANGE); in testEncodeDecodeAccuracyRGB() 551 outputFormat.removeKey(MediaFormat.KEY_COLOR_STANDARD); in testEncodeDecodeAccuracyRGB() 552 outputFormat.removeKey(MediaFormat.KEY_COLOR_TRANSFER); in testEncodeDecodeAccuracyRGB() 560 decodeElementaryStream(outputFormat); in testEncodeDecodeAccuracyRGB()
|
D | CodecDecoderTest.java | 331 MediaFormat outputFormat = in doOutputFormatChecks() local 335 + "format is :- %s \n", configuredFormat, outputFormat); in doOutputFormatChecks() 336 assertTrue(msg + mTestConfig + mTestEnv, isFormatSimilar(configuredFormat, outputFormat)); in doOutputFormatChecks() 962 MediaFormat outputFormat = mCodec.getOutputFormat(); in testDefaultOutputColorFormat() local 967 + mTestEnv, outputFormat.containsKey(MediaFormat.KEY_COLOR_FORMAT)); in testDefaultOutputColorFormat() 972 int outputColorFormat = outputFormat.getInteger(MediaFormat.KEY_COLOR_FORMAT); in testDefaultOutputColorFormat()
|
D | CodecUnitTest.java | 1391 MediaFormat outputFormat = mCodec.getOutputFormat(-1); in testGetOutputFormatInRunningState() local 1392 assertNull("getOutputFormat succeeds for bad buffer index " + -1, outputFormat); in testGetOutputFormatInRunningState() 1401 MediaFormat outputFormat = mCodec.getOutputFormat(bufferIndex); in testGetOutputFormatInRunningState() local 1402 assertNotNull(outputFormat); in testGetOutputFormatInRunningState() 1407 MediaFormat outputFormat = mCodec.getOutputFormat(bufferIndex); in testGetOutputFormatInRunningState() local 1408 assertNotNull(outputFormat); in testGetOutputFormatInRunningState() 1414 MediaFormat outputFormat = mCodec.getOutputFormat(bufferIndex); in testGetOutputFormatInRunningState() local 1416 outputFormat); in testGetOutputFormatInRunningState()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | DecodeEditEncodeTest.java | 567 MediaFormat outputFormat = MediaFormat.createVideoFormat(mMediaType, mWidth, mHeight); in editVideoFile() local 568 outputFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in editVideoFile() 570 outputFormat.setInteger(MediaFormat.KEY_BIT_RATE, in editVideoFile() 572 outputFormat.setInteger(MediaFormat.KEY_FRAME_RATE, in editVideoFile() 574 outputFormat.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, in editVideoFile() 577 outputFormat.setInteger(MediaFormat.KEY_COLOR_RANGE, MediaFormat.COLOR_RANGE_FULL); in editVideoFile() 578 outputFormat.setInteger(MediaFormat.KEY_COLOR_STANDARD, in editVideoFile() 580 outputFormat.setInteger(MediaFormat.KEY_COLOR_TRANSFER, in editVideoFile() 583 outputFormat.setInteger(MediaFormat.KEY_COLOR_RANGE, in editVideoFile() 585 outputFormat.setInteger(MediaFormat.KEY_COLOR_STANDARD, in editVideoFile() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3746/ |
D | poc.cpp | 119 sp<AMessage> outputFormat = new AMessage; in fuzzIOMXQcomVpx() local 121 codecDataOut = new SharedMemoryBuffer(outputFormat, memory); in fuzzIOMXQcomVpx()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundPlayerObject.java | 365 MediaFormat outputFormat = format; in setSoundWithResId() local 367 printAudioFormat(outputFormat); in setSoundWithResId() 370 mInputSampleRate = getMediaFormatInteger(outputFormat, in setSoundWithResId() 373 mInputChannelCount = getMediaFormatInteger(outputFormat, in setSoundWithResId() 376 mInputAudioFormat = getMediaFormatInteger(outputFormat, in setSoundWithResId()
|
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/ |
D | AndroidTestUtil.java | 720 Context context, String testId, Format inputFormat, @Nullable Format outputFormat) in skipAndLogIfFormatsUnsupported() argument 725 boolean canEncode = outputFormat == null || canEncode(outputFormat); in skipAndLogIfFormatsUnsupported() 726 boolean canMux = outputFormat == null || canMux(outputFormat); in skipAndLogIfFormatsUnsupported() 736 skipReasonBuilder.append("Cannot encode ").append(outputFormat).append('\n'); in skipAndLogIfFormatsUnsupported() 739 skipReasonBuilder.append("Cannot mux ").append(outputFormat); in skipAndLogIfFormatsUnsupported()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaPerfUtils.java | 58 MediaFormat configFormat, MediaFormat inputFormat, MediaFormat outputFormat) { in addPerformanceHeadersToLog() argument 72 log.addValue("output_format", formatForReport(outputFormat), in addPerformanceHeadersToLog() 76 + " inputFormat=" + inputFormat + " outputFormat=" + outputFormat; in addPerformanceHeadersToLog()
|
/cts/tests/tests/media/decoder/jni/ |
D | native-media-jni.cpp | 393 AMediaFormat *outputFormat; in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative() local 398 status = callbackData[tt].getOutput(&info, &outputFormat); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative() 424 format[tt] = outputFormat; in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative() 617 AMediaFormat *outputFormat; in testNonTunneledTrickPlay() local 620 id = callbackData->getOutput(&bufferInfo, &outputFormat); in testNonTunneledTrickPlay()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpsLoggingTest.kt | 797 val outputFormat = config!!.outputFormats[0] in nativeNoteOp() constant 798 val outputSize: Size = config!!.getOutputSizes(outputFormat)[0] in nativeNoteOp() 804 outputSize.width, outputSize.height, outputFormat, 2) in nativeNoteOp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 2086 int outputFormat = ImageFormat.YUV_420_888; 2089 size.getWidth(), size.getHeight(), outputFormat, 2091 getReaderUsage(outputFormat, /*has10bitOutput=*/false,
|