Home
last modified time | relevance | path

Searched refs:decoderFormat (Results 1 – 19 of 19) sorted by relevance

/aosp_15_r20/cts/tests/mediapc/src/android/mediapc/cts/
H A DCodecTranscoderTestBase.java351 MediaFormat setUpEncoderFormat(MediaFormat decoderFormat) { in setUpEncoderFormat() argument
355 decoderFormat.getInteger(MediaFormat.KEY_WIDTH)); in setUpEncoderFormat()
357 decoderFormat.getInteger(MediaFormat.KEY_HEIGHT)); in setUpEncoderFormat()
365 decoderFormat.getInteger(MediaFormat.KEY_PRIORITY)); in setUpEncoderFormat()
394 MediaFormat decoderFormat = setUpSource(mTestFile); in doTranscode() local
396 formats.add(decoderFormat); in doTranscode()
403 MediaFormat encoderFormat = setUpEncoderFormat(decoderFormat); in doTranscode()
406 configureCodec(decoderFormat, encoderFormat, mIsAsync, false); in doTranscode()
461 MediaFormat setUpEncoderFormat(MediaFormat decoderFormat) { in setUpEncoderFormat() argument
471 decoderFormat.getInteger(MediaFormat.KEY_PRIORITY)); in setUpEncoderFormat()
[all …]
/aosp_15_r20/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
H A DMediaCodecSurfaceEncoder.java87 MediaFormat decoderFormat = setUpSource(); in startEncodingSurface() local
88 if (decoderFormat == null) { in startEncodingSurface()
92 String decoderMime = decoderFormat.getString(MediaFormat.KEY_MIME); in startEncodingSurface()
101 MediaFormat encoderFormat = setUpEncoderFormat(decoderFormat); in startEncodingSurface()
117 configureCodec(decoderFormat, encoderFormat); in startEncodingSurface()
165 private MediaFormat setUpEncoderFormat(MediaFormat decoderFormat) { in setUpEncoderFormat() argument
169 .setInteger(MediaFormat.KEY_WIDTH, decoderFormat.getInteger(MediaFormat.KEY_WIDTH)); in setUpEncoderFormat()
171 decoderFormat.getInteger(MediaFormat.KEY_HEIGHT)); in setUpEncoderFormat()
/aosp_15_r20/frameworks/av/media/module/libmediatranscoding/transcoder/
H A DVideoTrackTranscoder.cpp321 auto decoderFormat = std::shared_ptr<AMediaFormat>(AMediaFormat_new(), &AMediaFormat_delete); in configureDestinationFormat() local
322 if (!decoderFormat || in configureDestinationFormat()
323 AMediaFormat_copy(decoderFormat.get(), mSourceFormat.get()) != AMEDIA_OK) { in configureDestinationFormat()
331 AMediaFormat_setInt32(decoderFormat.get(), in configureDestinationFormat()
337 AMediaFormat_setInt32(decoderFormat.get(), TBD_AMEDIACODEC_PARAMETER_KEY_ALLOW_FRAME_DROP, 0); in configureDestinationFormat()
345 CopyFormatEntries(mDestinationFormat.get(), decoderFormat.get(), kEncoderEntriesToCopy); in configureDestinationFormat()
347 LOG(INFO) << "Configuring decoder with: " << AMediaFormat_toString(decoderFormat.get()); in configureDestinationFormat()
348 status = AMediaCodec_configure(mDecoder, decoderFormat.get(), mSurface, NULL /* crypto */, in configureDestinationFormat()
/aosp_15_r20/frameworks/av/media/tests/benchmark/tests/
H A DEncoderTest.cpp94 AMediaFormat *decoderFormat = decoder->getFormat(); in TEST_P() local
122 AMediaFormat_getInt32(decoderFormat, AMEDIAFORMAT_KEY_COLOR_FORMAT, in TEST_P()
152 if (decoderFormat) { in TEST_P()
153 AMediaFormat_delete(decoderFormat); in TEST_P()
154 decoderFormat = nullptr; in TEST_P()
/aosp_15_r20/cts/tests/videocodec/src/android/videocodec/cts/
H A DVideoDecodeEditEncodeTest.java416 MediaFormat decoderFormat = inputData.getMediaFormat(); in editVideoFile() local
417 decoderFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, COLOR_FormatSurface); in editVideoFile()
419 formats.add(decoderFormat); in editVideoFile()
422 assumeTrue("Could not find decoder for format : " + decoderFormat, decoders.size() > 0); in editVideoFile()
459 decoderFormat.setInteger(KEY_ALLOW_FRAME_DROP, 0); in editVideoFile()
461 decoder.configure(decoderFormat, outputSurface.getSurface(), null, 0); in editVideoFile()
/aosp_15_r20/cts/tests/tests/media/codec/src/android/media/codec/cts/
H A DEncodeVirtualDisplayWithCompositionTestImpl.java181 MediaFormat decoderFormat = MediaFormat.createVideoFormat(mimeType, w, h); in doTestRenderingOutput() local
182 decoderFormat.setInteger( in doTestRenderingOutput()
184 decoderFormat.setInteger( in doTestRenderingOutput()
186 decoderFormat.setInteger( in doTestRenderingOutput()
189 decoderFormat.setInteger(MediaFormat.KEY_ROTATION, degrees); in doTestRenderingOutput()
192 mDecoder.configure(decoderFormat, mDecodingSurface.getSurface(), null, 0); in doTestRenderingOutput()
1511 MediaFormat decoderFormat = MediaFormat.createVideoFormat(mimeType, w, h); in isConcurrentEncodingDecodingSupported() local
1514 decoder.configure(decoderFormat, decodingSurface.getSurface(), null, 0); in isConcurrentEncodingDecodingSupported()
H A DEncodeVirtualDisplayTest.java273 MediaFormat decoderFormat = MediaFormat.createVideoFormat(mMediaType, mWidth, mHeight); in encodeVirtualDisplayTest() local
275 decoder.configure(decoderFormat, outputSurface.getSurface(), null, 0); in encodeVirtualDisplayTest()
H A DMediaCodecTest.java1639 final MediaFormat decoderFormat = MediaFormat.createAudioFormat( in testCreateAudioDecoderAndEncoder() local
1658 audioDecoder.configure(decoderFormat, null, null, 0); in testCreateAudioDecoderAndEncoder()
/aosp_15_r20/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
H A DEncoderTest.java205 MediaFormat decoderFormat = decoder.getFormat(); in decodeFile() local
206 if (decoderFormat.containsKey(MediaFormat.KEY_COLOR_FORMAT)) { in decodeFile()
207 mColorFormat = decoderFormat.getInteger(MediaFormat.KEY_COLOR_FORMAT); in decodeFile()
/aosp_15_r20/cts/tests/tests/media/misc/src/android/media/misc/cts/
H A DResourceManagerCodecActivity.java183 MediaFormat decoderFormat = createVideoFormat(info); in allocateCodecs() local
184 allocateCodecs(max, name, decoderFormat, true); in allocateCodecs()
/aosp_15_r20/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java298 MediaFormat decoderFormat = MediaFormat.createVideoFormat( in hasHDRPlugin() local
300 decoderFormat.setInteger(MediaFormat.KEY_COLOR_TRANSFER_REQUEST, in hasHDRPlugin()
302 decoder.configure(decoderFormat, null, null, 0); in hasHDRPlugin()
/aosp_15_r20/out/soong/.intermediates/packages/providers/MediaProvider/MediaProvider/android_common_apex30/javac/
DMediaProvider.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/aosp_15_r20/out/soong/.intermediates/packages/providers/MediaProvider/MediaProvider/android_common/javac/
DMediaProvider.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/aosp_15_r20/out/soong/.intermediates/packages/providers/MediaProvider/MediaProvider/android_common_apex30/withres/
DMediaProvider.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/NOTICE.txt META ...
/aosp_15_r20/out/soong/.intermediates/packages/providers/MediaProvider/MediaProvider/android_common/withres/
DMediaProvider.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/NOTICE.txt META ...
/aosp_15_r20/out/soong/.intermediates/packages/providers/MediaProvider/MediaProvider/android_common/jarjar/
DMediaProvider.jarorg/jspecify/annotations/Nullable.class Nullable.java package org.jspecify.annotations public ...
/aosp_15_r20/out/soong/.intermediates/packages/providers/MediaProvider/MediaProvider/android_common/combined/
DMediaProvider.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/NOTICE.txt META ...
/aosp_15_r20/out/soong/.intermediates/packages/providers/MediaProvider/MediaProvider/android_common_apex30/jarjar/
DMediaProvider.jarorg/jspecify/annotations/Nullable.class Nullable.java package org.jspecify.annotations public ...
/aosp_15_r20/out/soong/.intermediates/packages/providers/MediaProvider/MediaProvider/android_common_apex30/combined/
DMediaProvider.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/NOTICE.txt META ...