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.java345 MediaFormat setUpEncoderFormat(MediaFormat decoderFormat) { in setUpEncoderFormat() argument
349 decoderFormat.getInteger(MediaFormat.KEY_WIDTH)); in setUpEncoderFormat()
351 decoderFormat.getInteger(MediaFormat.KEY_HEIGHT)); in setUpEncoderFormat()
359 decoderFormat.getInteger(MediaFormat.KEY_PRIORITY)); in setUpEncoderFormat()
387 MediaFormat decoderFormat = setUpSource(mTestFile); in doTranscode() local
389 formats.add(decoderFormat); in doTranscode()
396 MediaFormat encoderFormat = setUpEncoderFormat(decoderFormat); in doTranscode()
399 configureCodec(decoderFormat, encoderFormat, mIsAsync, false); in doTranscode()
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoDecodeEditEncodeTest.java414 MediaFormat decoderFormat = inputData.getMediaFormat(); in editVideoFile() local
415 decoderFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, COLOR_FormatSurface); in editVideoFile()
417 formats.add(decoderFormat); in editVideoFile()
420 assumeTrue("Could not find decoder for format : " + decoderFormat, decoders.size() > 0); in editVideoFile()
457 decoderFormat.setInteger(KEY_ALLOW_FRAME_DROP, 0); in editVideoFile()
459 decoder.configure(decoderFormat, outputSurface.getSurface(), null, 0); in editVideoFile()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerCodecActivity.java179 MediaFormat decoderFormat = createVideoFormat(info); in allocateCodecs() local
180 allocateCodecs(max, name, decoderFormat, true); in allocateCodecs()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DEncodeVirtualDisplayWithCompositionTestImpl.java182 MediaFormat decoderFormat = MediaFormat.createVideoFormat(mimeType, w, h); in doTestRenderingOutput() local
183 decoderFormat.setInteger( in doTestRenderingOutput()
185 decoderFormat.setInteger( in doTestRenderingOutput()
187 decoderFormat.setInteger( in doTestRenderingOutput()
190 decoderFormat.setInteger(MediaFormat.KEY_ROTATION, degrees); in doTestRenderingOutput()
193 mDecoder.configure(decoderFormat, mDecodingSurface.getSurface(), null, 0); in doTestRenderingOutput()
1512 MediaFormat decoderFormat = MediaFormat.createVideoFormat(mimeType, w, h); in isConcurrentEncodingDecodingSupported() local
1515 decoder.configure(decoderFormat, decodingSurface.getSurface(), null, 0); in isConcurrentEncodingDecodingSupported()
DEncodeVirtualDisplayTest.java275 MediaFormat decoderFormat = MediaFormat.createVideoFormat(mMediaType, mWidth, mHeight); in encodeVirtualDisplayTest() local
277 decoder.configure(decoderFormat, outputSurface.getSurface(), null, 0); in encodeVirtualDisplayTest()
DMediaCodecTest.java1636 final MediaFormat decoderFormat = MediaFormat.createAudioFormat( in testCreateAudioDecoderAndEncoder() local
1655 audioDecoder.configure(decoderFormat, null, null, 0); in testCreateAudioDecoderAndEncoder()