Home
last modified time | relevance | path

Searched refs:framerate (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/media/libmediandkjni/
Dnative_media_utils.cpp182 float framerate; in checkIntraPeriod() local
183 if (!AMediaFormat_getFloat(config.format(), AMEDIAFORMAT_KEY_FRAME_RATE, &framerate)) { in checkIntraPeriod()
204 int32_t iInterval = framerate * intraPeriod; in checkIntraPeriod()
Dnative_media_encoder_jni.cpp263 int32_t bitrate, float framerate, in createMediaFormat() argument
271 AMediaFormat_setFloat(config.get(), AMEDIAFORMAT_KEY_FRAME_RATE, framerate); in createMediaFormat()
Dnative-media-jni.cpp851 float framerate = 0.0f; in Java_android_media_cts_NativeDecoderTest_testFormatNative() local
852 if (!AMediaFormat_getFloat(format, AMEDIAFORMAT_KEY_FRAME_RATE, &framerate) in Java_android_media_cts_NativeDecoderTest_testFormatNative()
853 || framerate != 25.0f) { in Java_android_media_cts_NativeDecoderTest_testFormatNative()
854 ALOGE("AMediaFormat_getFloat fail: %f", framerate); in Java_android_media_cts_NativeDecoderTest_testFormatNative()
/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp76 CodecEncoderSurfaceTest(const char* mime, int bitrate, int framerate);
83 CodecEncoderSurfaceTest::CodecEncoderSurfaceTest(const char* mime, int bitrate, int framerate) in CodecEncoderSurfaceTest() argument
84 : mMime{mime}, mEncBitrate{bitrate}, mEncFramerate{framerate} { in CodecEncoderSurfaceTest()
/cts/tests/tests/media/src/android/media/cts/
DMediaRecorderTest.java853 private void testLevel(String mediaType, int width, int height, int framerate, in testLevel() argument
860 if (!vCap.areSizeAndRateSupported(width, height, framerate) in testLevel()
893 mMediaRecorder.setVideoFrameRate(framerate); in testLevel()
901 long startTimeOffset = 3000 / framerate; in testLevel()
906 computePresentationTime(startTimeOffset, i, framerate) * 1000; in testLevel()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderSurfaceTest.java560 String testFile, String muxFile, int bitrate, int framerate); in nativeTestSimpleEncode() argument