Searched refs:mAsyncHandleEncoder (Results 1 – 4 of 4) sorted by relevance
/cts/tests/media/src/android/mediav2/cts/ |
D | EncodeDecodeAccuracyTest.java | 85 private final CodecAsyncHandler mAsyncHandleEncoder; field in EncodeDecodeAccuracyTest 122 mAsyncHandleEncoder = new CodecAsyncHandler(); in EncodeDecodeAccuracyTest() 193 mAsyncHandleEncoder.resetContext(); in resetContext() 207 mAsyncHandleEncoder.setCallBack(mEncoder, isAsync); in configureCodec() 255 if (!mAsyncHandleEncoder.hasSeenError() && !mSawOutputEOSEnc) { in tryEncoderOutput() 258 if (mAsyncHandleEncoder.hasOutputFormatChanged()) { in tryEncoderOutput() 260 int actualLatency = mAsyncHandleEncoder.getOutputFormat() in tryEncoderOutput() 276 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandleEncoder.getOutput(); in tryEncoderOutput() 297 while (!mAsyncHandleEncoder.hasSeenError() && !mSawOutputEOSEnc) { in waitForAllEncoderOutputs() 308 if (!mAsyncHandleEncoder.hasSeenError() && !mSawInputEOSEnc) { in queueEOSEnc() [all …]
|
D | CodecEncoderSurfaceTest.java | 64 private CodecAsyncHandler mAsyncHandleEncoder; field in CodecEncoderSurfaceTest 100 mAsyncHandleEncoder = new CodecAsyncHandler(); in CodecEncoderSurfaceTest() 130 return mAsyncHandleDecoder.hasSeenError() || mAsyncHandleEncoder.hasSeenError(); in hasSeenError() 155 mAsyncHandleEncoder.resetContext(); in resetContext() 169 mAsyncHandleEncoder.setCallBack(mEncoder, isAsync); in configureCodec() 274 if (mAsyncHandleEncoder.hasOutputFormatChanged()) { in tryEncoderOutput() 276 int actualLatency = mAsyncHandleEncoder.getOutputFormat() in tryEncoderOutput() 291 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandleEncoder.getOutput(); in tryEncoderOutput()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTranscoderTestBase.java | 47 CodecAsyncHandler mAsyncHandleEncoder; field in CodecTranscoderTestBase 71 mAsyncHandleEncoder = new CodecAsyncHandler(); in CodecTranscoderTestBase() 75 return mAsyncHandleDecoder.hasSeenError() || mAsyncHandleEncoder.hasSeenError(); in hasSeenError() 99 mAsyncHandleEncoder.resetContext(); in resetContext() 113 mAsyncHandleEncoder.setCallBack(mEncoder, isAsync); in configureCodec() 186 if (mAsyncHandleEncoder.hasOutputFormatChanged()) { in tryEncoderOutput() 188 int actualLatency = mAsyncHandleEncoder.getOutputFormat() in tryEncoderOutput() 203 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandleEncoder.getOutput(); in tryEncoderOutput() 430 mAsyncHandleEncoder.setCallBack(mEncoder, isAsync); in configureCodec()
|
/cts/tests/media/jni/ |
D | NativeCodecEncoderSurfaceTest.cpp | 40 CodecAsyncHandler mAsyncHandleEncoder; member in CodecEncoderSurfaceTest 74 bool hasSeenError() { return mAsyncHandleDecoder.getError() || mAsyncHandleEncoder.getError(); } in hasSeenError() 168 CHECK_STATUS(mAsyncHandleEncoder.setCallBack(mEncoder, isAsync), in configureCodec() 187 mAsyncHandleEncoder.resetContext(); in resetContext() 313 if (mAsyncHandleEncoder.hasOutputFormatChanged()) { in tryEncoderOutput() 316 if (AMediaFormat_getInt32(mAsyncHandleEncoder.getOutputFormat(), in tryEncoderOutput() 329 callbackObject element = mAsyncHandleEncoder.getOutput(); in tryEncoderOutput()
|