Searched refs:decoderFormat (Results 1 – 4 of 4) sorted by relevance
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecEncoderSurfaceTest.java | 436 private MediaFormat setUpEncoderFormat(MediaFormat decoderFormat) { in setUpEncoderFormat() argument 440 decoderFormat.getInteger(MediaFormat.KEY_WIDTH)); in setUpEncoderFormat() 442 decoderFormat.getInteger(MediaFormat.KEY_HEIGHT)); in setUpEncoderFormat() 459 MediaFormat decoderFormat = setUpSource(mTestFile); in testSimpleEncodeFromSurface() local 461 String decoder = codecList.findDecoderForFormat(decoderFormat); in testSimpleEncodeFromSurface() 464 fail("no suitable decoder found for format: " + decoderFormat.toString()); in testSimpleEncodeFromSurface() 467 MediaFormat encoderFormat = setUpEncoderFormat(decoderFormat); in testSimpleEncodeFromSurface() 496 configureCodec(decoderFormat, encoderFormat, isAsync, false); in testSimpleEncodeFromSurface() 565 MediaFormat decoderFormat = setUpSource(mTestFile); in testSimpleEncodeFromSurfaceNative() local 567 String decoder = codecList.findDecoderForFormat(decoderFormat); in testSimpleEncodeFromSurfaceNative() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeVirtualDisplayTest.java | 242 MediaFormat decoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, sWidth, sHeight); in encodeVirtualDisplayTest() local 244 decoder.configure(decoderFormat, outputSurface.getSurface(), null, 0); in encodeVirtualDisplayTest()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 267 MediaFormat decoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, w, h); in doTestRenderingOutput() local 269 decoderFormat.setInteger(MediaFormat.KEY_ROTATION, degrees); in doTestRenderingOutput() 272 mDecoder.configure(decoderFormat, mDecodingSurface.getSurface(), null, 0); in doTestRenderingOutput() 1569 MediaFormat decoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, w, h); in isConcurrentEncodingDecodingSupported() local 1572 decoder.configure(decoderFormat, decodingSurface.getSurface(), null, 0); in isConcurrentEncodingDecodingSupported()
|
D | MediaCodecTest.java | 1389 final MediaFormat decoderFormat = MediaFormat.createAudioFormat( in testCreateAudioDecoderAndEncoder() local 1408 audioDecoder.configure(decoderFormat, null, null, 0); in testCreateAudioDecoderAndEncoder()
|