Home
last modified time | relevance | path

Searched refs:expPos (Results 1 – 2 of 2) sorted by relevance

/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderTest.java728 for (int i = 0, expPos = 0, index = 0; i < NUM_KEY_FRAME_REQUESTS; i++) { in testSetForceSyncFrame()
734 if (Math.abs(expPos - mSyncFramesPos.get(j)) <= in testSetForceSyncFrame()
741 Log.w(LOG_TAG, "requested key frame at frame index " + expPos + in testSetForceSyncFrame()
744 expPos += KEY_FRAME_POS; in testSetForceSyncFrame()
/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp767 for (int i = 0, expPos = 0, index = 0; i < kNumKeyFrameRequests; i++) { in testSetForceSyncFrame() local
773 if (abs(expPos - mSyncFramesPos.at(j)) <= kMaxKeyFrameIntervalVariation) { in testSetForceSyncFrame()
779 ALOGW("requested key frame at frame index %d none found near by", expPos); in testSetForceSyncFrame()
781 expPos += kKeyFramePos; in testSetForceSyncFrame()