Searched refs:frameNum (Results 1 – 5 of 5) 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 | 170 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()
|
D | DecoderTest.java | 1957 private void testDecode(int testVideo, int frameNum) throws Exception { 1965 assertEquals("wrong number of frames decoded", frameNum, frames1);
|