Home
last modified time | relevance | path

Searched refs:mAsyncHandleDecoder (Results 1 – 3 of 3) sorted by relevance

/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecEncoderSurfaceTestBase.java79 protected final CodecAsyncHandler mAsyncHandleDecoder = new CodecAsyncHandler(); field in CodecEncoderSurfaceTestBase
198 return mAsyncHandleDecoder.hasSeenError() || mAsyncHandleEncoder.hasSeenError(); in hasSeenError()
225 mAsyncHandleDecoder.resetContext(); in resetContext()
253 mAsyncHandleDecoder.setCallBack(mDecoder, isAsync); in configureCodec()
391 while (!mAsyncHandleDecoder.hasSeenError() && !mSawDecInputEOS) { in queueEOS()
392 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandleDecoder.getWork(); in queueEOS()
419 Pair<Integer, MediaCodec.BufferInfo> decOp = mAsyncHandleDecoder.getOutput(); in queueEOS()
447 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandleDecoder.getWork(); in doWork()
507 + mTestConfig + mTestEnv + mAsyncHandleDecoder.getErrMsg(), in validateTestState()
508 mAsyncHandleDecoder.hasSeenError()); in validateTestState()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTranscoderTestBase.java59 CodecAsyncHandler mAsyncHandleDecoder; field in CodecTranscoderTestBase
84 mAsyncHandleDecoder = new CodecAsyncHandler(); in CodecTranscoderTestBase()
89 return mAsyncHandleDecoder.hasSeenError() || mAsyncHandleEncoder.hasSeenError(); in hasSeenError()
112 mAsyncHandleDecoder.resetContext(); in resetContext()
137 mAsyncHandleDecoder.setCallBack(mDecoder, isAsync); in configureCodec()
268 while (!mAsyncHandleDecoder.hasSeenError() && !mSawDecInputEOS) { in queueEOS()
269 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandleDecoder.getWork(); in queueEOS()
296 Pair<Integer, MediaCodec.BufferInfo> decOp = mAsyncHandleDecoder.getOutput(); in queueEOS()
324 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandleDecoder.getWork(); in doWork()
520 mAsyncHandleDecoder.setCallBack(mDecoder, isAsync); in configureCodec()
/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp40 CodecAsyncHandler mAsyncHandleDecoder; member in CodecEncoderSurfaceTest
75 bool hasSeenError() { return mAsyncHandleDecoder.getError() || mAsyncHandleEncoder.getError(); } in hasSeenError()
247 RETURN_IF_FAIL(mAsyncHandleDecoder.setCallBack(mDecoder, isAsync), in configureCodec()
255 mAsyncHandleDecoder.resetContext(); in resetContext()
421 callbackObject element = mAsyncHandleDecoder.getWork(); in queueEOS()
463 callbackObject element = mAsyncHandleDecoder.getOutput(); in queueEOS()
505 callbackObject element = mAsyncHandleDecoder.getWork(); in doWork()
615 RETURN_IF_TRUE(mAsyncHandleDecoder.getError(), in testSimpleEncode()
617 mAsyncHandleDecoder.getErrorMsg())) in testSimpleEncode()