Searched refs:mDecoder (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderConformanceTest.java | 69 private MediaCodec mDecoder; field in DecoderConformanceTest 120 mDecoder.stop(); in releaseMediacodec() 126 mDecoder.release(); in releaseMediacodec() 132 mDecoder = null; in releaseMediacodec() 145 mDecoder = MediaCodec.createByCodecName(decoderName); in decodeTestVector() 147 MediaCodecInfo codecInfo = mDecoder.getCodecInfo(); in decodeTestVector() 168 mDecoder.configure(format, null /* surface */, null /* crypto */, 0 /* flags */); in decodeTestVector() 169 mDecoder.start(); in decodeTestVector() 174 int inputIndex = mDecoder.dequeueInputBuffer(kTimeOutUs); in decodeTestVector() 176 ByteBuffer buffer = mDecoder.getInputBuffer(inputIndex); in decodeTestVector() [all …]
|
D | MediaSyncTest.java | 597 private MediaCodec mDecoder = null; field in MediaSyncTest.Decoder 651 mDecoder = MediaCodec.createDecoderByType(mimeType); in setup() 652 mDecoder.configure(mediaFormat, mSurface, null, 0); in setup() 653 mDecoder.setCallback(this, mHandler); in setup() 662 if (mDecoder != null) { in start() 663 mDecoder.start(); in start() 669 if (mDecoder != null) { in release() 671 mDecoder.stop(); in release() 674 mDecoder.release(); in release() 675 mDecoder = null; in release() [all …]
|
D | AdaptivePlaybackTest.java | 405 Decoder mDecoder; // test state field in AdaptivePlaybackTest.EosFlushSeekTest 413 mDecoder = new Decoder(c.name); in addTests() 414 mDecoder.configureAndStart(stepFormat(), stepSurface()); in addTests() 423 int decodedFrames = -mDecoder.queueInputBufferRange( in addTests() 433 warn(mDecoder.getWarnings()); in addTests() 434 mDecoder.clearWarnings(); in addTests() 435 mDecoder.flush(); in addTests() 447 mDecoder.stop(); in addTests() 449 mDecoder.release(); in addTests() 461 Decoder mDecoder; // test state field in AdaptivePlaybackTest.ReconfigDrcTest [all …]
|
D | VideoEncoderTest.java | 197 protected MediaCodec mDecoder, mEncoder; field in VideoEncoderTest.VideoProcessorBase 249 mDecoder = MediaCodec.createByCodecName(videoDecName); in initCodecsAndConfigureEncoder() 252 mDecoder.setCallback(this); in initCodecsAndConfigureEncoder() 302 if (mDecoder != null) { in close() 303 mDecoder.release(); in close() 304 mDecoder = null; in close() 334 mDecoder.queueInputBuffer( in fillDecoderInputBuffer() 344 mDecoder.getInputBuffer(ix).put(mBuffer); in fillDecoderInputBuffer() 347 mDecoder.queueInputBuffer( in fillDecoderInputBuffer() 440 mDecoder.configure(mDecFormat, null /* surface */, null /* crypto */, 0); in processLoop() [all …]
|
D | EncodeVirtualDisplayWithCompositionTest.java | 108 private MediaCodec mDecoder; field in EncodeVirtualDisplayWithCompositionTest 234 mDecoder = MediaCodec.createDecoderByType(MIME_TYPE); in doTestRenderingOutput() 237 mDecoder.configure(decoderFormat, mDecodingSurface.getSurface(), null, 0); in doTestRenderingOutput() 238 mDecoder.start(); in doTestRenderingOutput() 239 mDecoderInputBuffers = mDecoder.getInputBuffers(); in doTestRenderingOutput() 272 int inputBufferIndex = mDecoder.dequeueInputBuffer(DEFAULT_WAIT_TIMEOUT_US); in doTestRenderingOutput() 283 mDecoder.queueInputBuffer(inputBufferIndex, 0, info.size, in doTestRenderingOutput() 334 if (mDecoder != null) { in doTestRenderingOutput() 335 mDecoder.stop(); in doTestRenderingOutput() 336 mDecoder.release(); in doTestRenderingOutput() [all …]
|