Home
last modified time | relevance | path

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

/cts/tests/mediapc/src/android/mediapc/cts/
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 …]
/cts/tests/videocodec/src/android/videocodec/cts/
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()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerCodecActivity.java183 MediaFormat decoderFormat = createVideoFormat(info); in allocateCodecs() local
184 allocateCodecs(max, name, decoderFormat, true); in allocateCodecs()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
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()
DEncodeVirtualDisplayTest.java273 MediaFormat decoderFormat = MediaFormat.createVideoFormat(mMediaType, mWidth, mHeight); in encodeVirtualDisplayTest() local
275 decoder.configure(decoderFormat, outputSurface.getSurface(), null, 0); in encodeVirtualDisplayTest()
DMediaCodecTest.java1639 final MediaFormat decoderFormat = MediaFormat.createAudioFormat( in testCreateAudioDecoderAndEncoder() local
1658 audioDecoder.configure(decoderFormat, null, null, 0); in testCreateAudioDecoderAndEncoder()