Home
last modified time | relevance | path

Searched refs:mMaxBFrames (Results 1 – 13 of 13) sorted by relevance

/cts/tests/media/common/src/android/mediav2/common/cts/
DEncoderConfigParams.java47 public final int mMaxBFrames; field in EncoderConfigParams
119 mMaxBFrames = 0; in EncoderConfigParams()
148 mMaxBFrames = cfg.mMaxBFrames; in EncoderConfigParams()
237 mFormat.setInteger(MediaFormat.KEY_MAX_B_FRAMES, mMaxBFrames); in getFormat()
301 mMsg.append(String.format("max b frames : %d, ", mMaxBFrames)); in toString()
333 public int mMaxBFrames = 0; field in EncoderConfigParams.Builder
384 this.mMaxBFrames = maxBFrames; in setMaxBFrames()
DCodecEncoderSurfaceTestBase.java116 mLatency = mEncCfgParams.mMaxBFrames; in CodecEncoderSurfaceTestBase()
522 if (!mOutputBuff.isOutPtsListIdenticalToInpPtsList((mEncCfgParams.mMaxBFrames != 0))) { in validateTestState()
526 if (mEncCfgParams.mMaxBFrames == 0 && !mOutputBuff.isPtsStrictlyIncreasing( in validateTestState()
DCodecEncoderTestBase.java626 if ((mIsAudio || (mIsVideo && mActiveEncCfg.mMaxBFrames == 0)) in validateTestState()
632 if (!mOutputBuff.isOutPtsListIdenticalToInpPtsList((mActiveEncCfg.mMaxBFrames != 0))) { in validateTestState()
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoEncoderMaxBFrameTest.java133 + " BFrames %d. \n", mEncCfgParams[0].mMaxBFrames, maxBFramesFound); in testMaxBFrameSupport()
134 assertTrue(msg + mTestConfig + mTestEnv, maxBFramesFound <= mEncCfgParams[0].mMaxBFrames); in testMaxBFrameSupport()
135 if (mEncCfgParams[0].mMaxBFrames > 0) { in testMaxBFrameSupport()
DVideoEncoderIntraFrameIntervalTest.java148 int tolerance = mEncCfgParams[0].mKeyFrameInterval == 0 ? 0 : mEncCfgParams[0].mMaxBFrames; in testEncoderSyncFrameSupport()
153 if (mEncCfgParams[0].mMaxBFrames == 0) { in testEncoderSyncFrameSupport()
DVideoEncoderMinMaxTest.java232 cfgVar.mFrameRate, cfgVar.mMaxBFrames, in updateParamList()
/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp50 int mMaxBFrames; member in CodecEncoderSurfaceTest
102 mMaxBFrames = 0;
107 AMediaFormat_getInt32(mEncFormat, AMEDIAFORMAT_KEY_MAX_B_FRAMES, &mMaxBFrames);
110 &mMaxBFrames);
113 mLatency = mMaxBFrames;
628 RETURN_IF_TRUE((mMaxBFrames == 0 && !mOutputBuff->isPtsStrictlyIncreasing(INT32_MIN)), in testSimpleEncode()
635 RETURN_IF_TRUE(!mOutputBuff->isOutPtsListIdenticalToInpPtsList(mMaxBFrames != 0), in testSimpleEncode()
DNativeCodecEncoderTest.cpp44 int mMaxBFrames; member in CodecEncoderTest
306 RETURN_IF_TRUE((mIsAudio || (mIsVideo && mMaxBFrames == 0)) && in isTestStateValid()
310 RETURN_IF_TRUE(mIsVideo && !mOutputBuff->isOutPtsListIdenticalToInpPtsList(mMaxBFrames != 0), in isTestStateValid()
339 &mMaxBFrames), in initFormat()
344 &mMaxBFrames), in initFormat()
/cts/tests/video/src/android/video/cts/
DCodecEncoderPerformanceTestBase.java48 int mMaxBFrames; field in CodecEncoderPerformanceTestBase
81 mMaxBFrames = maxBFrames; in CodecEncoderPerformanceTestBase()
154 mEncoderFormat.setInteger(MediaFormat.KEY_MAX_B_FRAMES, mMaxBFrames); in setUpFormats()
DVideoEncoderDecoderTest.java152 private int mMaxBFrames; field in VideoEncoderDecoderTest
299 this.mMaxBFrames = maxBFrames; in VideoEncoderDecoderTest()
314 qual(mMediaType, mWidth, mHeight, mEncoderName, mMaxBFrames, 25); in testQual()
316 qual(mMediaType, mWidth, mHeight, mEncoderName, mMaxBFrames); in testQual()
331 perf(mMediaType, mWidth, mHeight, mEncoderName, mMaxBFrames); in testPerf()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTranscoderTestBase.java53 int mMaxBFrames; field in CodecTranscoderTestBase
81 mMaxBFrames = 0; in CodecTranscoderTestBase()
82 mLatency = mMaxBFrames; in CodecTranscoderTestBase()
381 encoderFormat.setInteger(MediaFormat.KEY_MAX_B_FRAMES, mMaxBFrames); in setUpEncoderFormat()
487 encoderFormat.setInteger(MediaFormat.KEY_MAX_B_FRAMES, mMaxBFrames); in setUpEncoderFormat()
DCodecTestBase.java746 int mMaxBFrames; field in CodecEncoderTestBase
757 mMaxBFrames = 0; in CodecEncoderTestBase()
/cts/tests/media/src/android/mediav2/cts/
DEncoderColorAspectsTest.java103 mLatency = encCfgParams.mMaxBFrames; in EncoderColorAspectsTest()