Searched refs:mDecoder (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaSyncTest.java | 540 private MediaCodec mDecoder = null; field in MediaSyncTest.Decoder 591 mDecoder = MediaCodec.createDecoderByType(mimeType); in setup() 592 mDecoder.configure(mediaFormat, mSurface, null, 0); in setup() 593 mDecoder.setCallback(this, mHandler); in setup() 602 if (mDecoder != null) { in start() 603 mDecoder.start(); in start() 609 if (mDecoder != null) { in release() 611 mDecoder.stop(); in release() 614 mDecoder.release(); in release() 615 mDecoder = null; in release() [all …]
|
D | AdaptivePlaybackTest.java | 399 Decoder mDecoder; // test state field in AdaptivePlaybackTest.EosFlushSeekTest 407 mDecoder = new Decoder(c.name); in addTests() 408 mDecoder.configureAndStart(stepFormat(), stepSurface()); in addTests() 417 int decodedFrames = -mDecoder.queueInputBufferRange( in addTests() 427 warn(mDecoder.getWarnings()); in addTests() 428 mDecoder.clearWarnings(); in addTests() 429 mDecoder.flush(); in addTests() 441 mDecoder.stop(); in addTests() 443 mDecoder.release(); in addTests() 455 Decoder mDecoder; // test state field in AdaptivePlaybackTest.ReconfigDrcTest [all …]
|
D | VideoEncoderTest.java | 181 protected MediaCodec mDecoder, mEncoder; field in VideoEncoderTest.VideoProcessorBase 218 mDecoder = MediaCodec.createByCodecName(videoDecName); in initCodecsAndConfigureEncoder() 221 mDecoder.setCallback(this); in initCodecsAndConfigureEncoder() 263 if (mDecoder != null) { in close() 264 mDecoder.release(); in close() 265 mDecoder = null; in close() 290 mDecoder.queueInputBuffer( in fillDecoderInputBuffer() 300 mDecoder.getInputBuffer(ix).put(mBuffer); in fillDecoderInputBuffer() 303 mDecoder.queueInputBuffer( in fillDecoderInputBuffer() 374 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 …]
|