Searched refs:mLatency (Results 1 – 4 of 4) sorted by relevance
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTranscoderTestBase.java | 44 int mLatency; field in CodecTranscoderTestBase 68 mLatency = mMaxBFrames; in CodecTranscoderTestBase() 117 mLatency = mEncoder.getInputFormat().getInteger(MediaFormat.KEY_LATENCY); in configureCodec() 189 .getInteger(MediaFormat.KEY_LATENCY, mLatency); in tryEncoderOutput() 190 if (mLatency < actualLatency) { in tryEncoderOutput() 191 mLatency = actualLatency; in tryEncoderOutput() 215 mLatency = mEncoder.getOutputFormat() in tryEncoderOutput() 216 .getInteger(MediaFormat.KEY_LATENCY, mLatency); in tryEncoderOutput() 267 if (mDecOutputCount - mEncOutputCount > mLatency) { in queueEOS() 280 if (mDecOutputCount - mEncOutputCount > mLatency) { in queueEOS() [all …]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecEncoderSurfaceTest.java | 59 private int mLatency; field in CodecEncoderSurfaceTest 97 mLatency = mMaxBFrames; in CodecEncoderSurfaceTest() 173 mLatency = mEncoder.getInputFormat().getInteger(MediaFormat.KEY_LATENCY); in configureCodec() 277 .getInteger(MediaFormat.KEY_LATENCY, mLatency); in tryEncoderOutput() 278 if (mLatency < actualLatency) { in tryEncoderOutput() 279 mLatency = actualLatency; in tryEncoderOutput() 303 mLatency = mEncoder.getOutputFormat() in tryEncoderOutput() 304 .getInteger(MediaFormat.KEY_LATENCY, mLatency); in tryEncoderOutput() 355 if (mDecOutputCount - mEncOutputCount > mLatency) { in queueEOS() 368 if (mDecOutputCount - mEncOutputCount > mLatency) { in queueEOS() [all …]
|
D | EncodeDecodeAccuracyTest.java | 92 private int mLatency; field in EncodeDecodeAccuracyTest 123 mLatency = 0; in EncodeDecodeAccuracyTest() 196 mLatency = 0; in resetContext() 211 mLatency = mEncoder.getInputFormat().getInteger(MediaFormat.KEY_LATENCY); in configureCodec() 261 .getInteger(MediaFormat.KEY_LATENCY, mLatency); in tryEncoderOutput() 262 if (mLatency < actualLatency) { in tryEncoderOutput() 263 mLatency = actualLatency; in tryEncoderOutput() 288 mLatency = mEncoder.getOutputFormat() in tryEncoderOutput() 289 .getInteger(MediaFormat.KEY_LATENCY, mLatency); in tryEncoderOutput() 318 if (mInputCountEnc - mOutputCountEnc > mLatency) { in doWorkEnc()
|
/cts/tests/media/jni/ |
D | NativeCodecEncoderSurfaceTest.cpp | 52 int mLatency; member in CodecEncoderSurfaceTest 95 mLatency = mMaxBFrames; 174 mReviseLatency = AMediaFormat_getInt32(inpFormat, AMEDIAFORMAT_KEY_LATENCY, &mLatency); in configureCodec() 318 if (mLatency < actualLatency) { in tryEncoderOutput() 319 mLatency = actualLatency; in tryEncoderOutput() 342 AMediaFormat_getInt32(outFormat, AMEDIAFORMAT_KEY_LATENCY, &mLatency); in tryEncoderOutput() 414 if (mDecOutputCount - mEncOutputCount > mLatency) { in queueEOS() 436 if (mDecOutputCount - mEncOutputCount > mLatency) { in queueEOS() 463 if (mDecOutputCount - mEncOutputCount > mLatency) { in doWork() 491 if (mDecOutputCount - mEncOutputCount > mLatency) { in doWork()
|