Home
last modified time | relevance | path

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

/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderSurfaceTest.java425 private MediaFormat setUpEncoderFormat(MediaFormat decoderFormat) { in setUpEncoderFormat() argument
429 decoderFormat.getInteger(MediaFormat.KEY_WIDTH)); in setUpEncoderFormat()
431 decoderFormat.getInteger(MediaFormat.KEY_HEIGHT)); in setUpEncoderFormat()
448 MediaFormat decoderFormat = setUpSource(mTestFile); in testSimpleEncodeFromSurface() local
450 String decoder = codecList.findDecoderForFormat(decoderFormat); in testSimpleEncodeFromSurface()
453 fail("no suitable decoder found for format: " + decoderFormat.toString()); in testSimpleEncodeFromSurface()
456 MediaFormat encoderFormat = setUpEncoderFormat(decoderFormat); in testSimpleEncodeFromSurface()
483 configureCodec(decoderFormat, encoderFormat, isAsync, false); in testSimpleEncodeFromSurface()
552 MediaFormat decoderFormat = setUpSource(mTestFile); in testSimpleEncodeFromSurfaceNative() local
554 String decoder = codecList.findDecoderForFormat(decoderFormat); in testSimpleEncodeFromSurfaceNative()
[all …]
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTranscoderTestBase.java337 MediaFormat setUpEncoderFormat(MediaFormat decoderFormat) { in setUpEncoderFormat() argument
341 decoderFormat.getInteger(MediaFormat.KEY_WIDTH)); in setUpEncoderFormat()
343 decoderFormat.getInteger(MediaFormat.KEY_HEIGHT)); in setUpEncoderFormat()
351 decoderFormat.getInteger(MediaFormat.KEY_PRIORITY)); in setUpEncoderFormat()
375 MediaFormat decoderFormat = setUpSource(mTestFile); in doTranscode() local
377 MediaFormat encoderFormat = setUpEncoderFormat(decoderFormat); in doTranscode()
380 configureCodec(decoderFormat, encoderFormat, mIsAsync, false); in doTranscode()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTestImpl.java186 MediaFormat decoderFormat = MediaFormat.createVideoFormat(mimeType, w, h); in doTestRenderingOutput() local
187 decoderFormat.setInteger( in doTestRenderingOutput()
189 decoderFormat.setInteger( in doTestRenderingOutput()
191 decoderFormat.setInteger( in doTestRenderingOutput()
194 decoderFormat.setInteger(MediaFormat.KEY_ROTATION, degrees); in doTestRenderingOutput()
197 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.java261 MediaFormat decoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, sWidth, sHeight); in encodeVirtualDisplayTest() local
263 decoder.configure(decoderFormat, outputSurface.getSurface(), null, 0); in encodeVirtualDisplayTest()
DMediaCodecTest.java1572 final MediaFormat decoderFormat = MediaFormat.createAudioFormat( in testCreateAudioDecoderAndEncoder() local
1591 audioDecoder.configure(decoderFormat, null, null, 0); in testCreateAudioDecoderAndEncoder()