Searched refs:frameNum (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/media/libmediandkjni/ |
D | native_media_utils.cpp | 250 int32_t generatedKeyLocation = stats.getSyncFrameNext(d->frameNum()); in checkDynamicKeyFrames() 251 if (generatedKeyLocation - d->frameNum() > kSyncFrameDeviationFramesMax) { in checkDynamicKeyFrames() 253 d->frameNum(), generatedKeyLocation); in checkDynamicKeyFrames() 257 snprintf(tmp, 128, " %d/%d,", generatedKeyLocation, d->frameNum()); in checkDynamicKeyFrames() 304 … int32_t lastAverage = stats.getBitrateAverage(lastBitrateUpdateFrameNum, d->frameNum() - 1); in checkDynamicBitrate() 315 lastBitrateUpdateFrameNum, d->frameNum() - 1, lastAverage, lastBitrate); in checkDynamicBitrate() 318 lastBitrateUpdateFrameNum = d->frameNum(); in checkDynamicBitrate()
|
D | native_media_encoder_jni.cpp | 219 && (*paramItr)->frameNum() <= nFrameCount; ++paramItr) { in run() 221 if (p->frameNum() == nFrameCount) { in run() 389 for (int32_t frameNum : {40, 75, 160, 180, 250}) { in Java_android_media_cts_NativeEncoderTest_testEncodeSurfaceDynamicSyncFrameNative() 390 dynParams.push_back(DynamicParam::newRequestSync(frameNum)); in Java_android_media_cts_NativeEncoderTest_testEncodeSurfaceDynamicSyncFrameNative()
|
D | native_media_utils.h | 114 inline int frameNum() const { in frameNum() function
|
/cts/tests/tests/media/src/android/media/cts/ |
D | PresentationSyncTest.java | 169 for (int frameNum = 0; frameNum < FRAME_COUNT; frameNum++) { in runThroughputTest() 171 showNsec = startNsec + (long) (frameNum * frameTimeNsec * mult); in runThroughputTest() 173 drawFrame(frameNum, mult); in runThroughputTest() 175 Trace.beginSection("swapbuf " + frameNum); in runThroughputTest()
|