Home
last modified time | relevance | path

Searched refs:frameNum (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/media/libmediandkjni/
Dnative_media_utils.cpp250 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()
Dnative_media_encoder_jni.cpp219 && (*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()
Dnative_media_utils.h114 inline int frameNum() const { in frameNum() function
/cts/tests/tests/media/src/android/media/cts/
DPresentationSyncTest.java170 for (int frameNum = 0; frameNum < FRAME_COUNT; frameNum++) { in runThroughputTest()
172 showNsec = startNsec + (long) (frameNum * frameTimeNsec * mult); in runThroughputTest()
174 drawFrame(frameNum, mult); in runThroughputTest()
176 Trace.beginSection("swapbuf " + frameNum); in runThroughputTest()
DDecoderTest.java1957 private void testDecode(int testVideo, int frameNum) throws Exception {
1965 assertEquals("wrong number of frames decoded", frameNum, frames1);