Home
last modified time | relevance | path

Searched refs:frameRate (Results 1 – 13 of 13) sorted by relevance

/cts/tests/media/src/android/mediav2/cts/
DEncoderProfileLevelTest.java52 int frameRate) { in EncoderProfileLevelTest() argument
65 mFrameRate = frameRate; in EncoderProfileLevelTest()
251 private int getMinLevel(String mime, int width, int height, int frameRate, int bitrate, in getMinLevel() argument
255 return getMinLevelAVC(width, height, frameRate, bitrate); in getMinLevel()
257 return getMinLevelHEVC(width, height, frameRate, bitrate); in getMinLevel()
259 return getMinLevelH263(width, height, frameRate, bitrate); in getMinLevel()
261 return getMinLevelMPEG2(width, height, frameRate, bitrate); in getMinLevel()
263 return getMinLevelMPEG4(width, height, frameRate, bitrate, profile); in getMinLevel()
268 return getMinLevelVP9(width, height, frameRate, bitrate); in getMinLevel()
270 return getMinLevelAV1(width, height, frameRate, bitrate); in getMinLevel()
[all …]
DCodecEncoderSurfaceTest.java90 public CodecEncoderSurfaceTest(String mime, String testFile, int bitrate, int frameRate) { in CodecEncoderSurfaceTest() argument
94 mFrameRate = frameRate; in CodecEncoderSurfaceTest()
/cts/tests/tests/media/src/android/media/cts/
DVpxCodecTestBase.java202 int frameRate; field in VpxCodecTestBase.EncoderOutputStreamParameters
243 int frameRate, in getDefaultEncodingParameterList() argument
266 params.frameCount = encodeSeconds * frameRate; in getDefaultEncodingParameterList()
267 params.frameRate = frameRate; in getDefaultEncodingParameterList()
295 int frameRate, in getDefaultEncodingParameters() argument
309 frameRate, in getDefaultEncodingParameters()
522 int frameRate, in decode() argument
596 inPresentationTimeUs = (inputFrameIndex * 1000000) / frameRate; in decode()
1332 format.setInteger(MediaFormat.KEY_FRAME_RATE, streamParams.frameRate); in encode()
1333 int syncFrameInterval = (streamParams.syncFrameInterval + streamParams.frameRate/2) / in encode()
[all …]
DNdkMediaCodec.java64 int frameRate, in AMediaCodecConfigure() argument
110 int frameRate = format.getInteger(MediaFormat.KEY_FRAME_RATE, -1); in configure() local
128 frameRate, in configure()
DMediaRecorderTest.java436 int frameRate = params.getPreviewFrameRate(); in recordVideoUsingCamera() local
445 mMediaRecorder.setVideoFrameRate(frameRate); in recordVideoUsingCamera()
469 int targetDurMs = timelapse? ((int) (durMs * (captureRate / frameRate))): durMs; in recordVideoUsingCamera()
472 checkTracksAndDuration(targetDurMs, hasVideo, hasAudio, fileName, frameRate); in recordVideoUsingCamera()
477 float frameRate) throws Exception { in checkTracksAndDuration() argument
492 float toleranceMs = RECORDED_DUR_TOLERANCE_FRAMES * (1000f / frameRate); in checkTracksAndDuration()
849 long startTimeOffset, int frameIndex, int frameRate) { in computePresentationTime() argument
850 return startTimeOffset + frameIndex * 1000000 / frameRate; in computePresentationTime()
1145 int frameRate = getMaxFrameRateForCodec(codec); in setupRecorder() local
1153 frameRate = params.getPreviewFrameRate(); in setupRecorder()
[all …]
DVideoEncoderTest.java412 public void setFrameAndBitRates(int frameRate, int bitRate) { in setFrameAndBitRates() argument
413 mFrameRate = frameRate; in setFrameAndBitRates()
1102 int width, int height, int frameRate, int bitRate, boolean flexYUV) { in testDetailed() argument
1111 return test(width, height, frameRate, bitRate, true /* optional */, flexYUV, in testDetailed()
1115 public boolean testSupport(int width, int height, int frameRate, int bitRate) { in testSupport() argument
1116 return mVideoCaps.areSizeAndRateSupported(width, height, frameRate) && in testSupport()
1135 int width, int height, int frameRate, int bitRate, boolean optional, in test() argument
1143 processor.setFrameAndBitRates(frameRate, bitRate); in test()
2008 Encoder[] encoders, int width, int height, int frameRate, int bitRate, in detailed() argument
2016 if (encoder.testSupport(width, height, frameRate, bitRate)) { in detailed()
[all …]
DVideoDecoderPerfTest.java172 double frameRate = 0.; // default - 0 is used for using zero PTS offset in doDecode() local
174 frameRate = format.getInteger(MediaFormat.KEY_FRAME_RATE); in doDecode()
199 if (frameRate > 0.) { in doDecode()
202 (extractor.getSampleTime() - firstPTS) * frameRate / 1e6 - index; in doDecode()
223 frameRate = cap.getSupportedFrameRatesFor(w, h).getUpper(); in doDecode()
255 long presentationTimeUs = (long)((inputNum + sample.second) * 1e6 / frameRate); in doDecode()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java2057 private boolean isSupportedByCamera(Size sz, int frameRate) {
2068 return maxFrameRate >= frameRate;
2077 private static boolean isSupportedByAVCEncoder(Size sz, int frameRate) {
2080 format.setInteger(MediaFormat.KEY_FRAME_RATE, frameRate);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java394 public void writeVideoMetaInfo(int width, int height, float frameRate, float fovW, float fovH) { in writeVideoMetaInfo() argument
409 writer.name("frameRate").value(frameRate); in writeVideoMetaInfo()
/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp224 videoInfo.width, videoInfo.height, videoInfo.codecId, videoInfo.frameRate, in StreamChangeCallback()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java703 int frameRate = Math.min( in setMaxEncoderFrameAndBitrates() local
705 format.setInteger(MediaFormat.KEY_FRAME_RATE, frameRate); in setMaxEncoderFrameAndBitrates()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java794 int frameRate = Math.min( in setMaxEncoderFrameAndBitrates() local
796 format.setInteger(MediaFormat.KEY_FRAME_RATE, frameRate); in setMaxEncoderFrameAndBitrates()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp1061 jint frameRate, in Java_android_media_cts_NdkMediaCodec_AMediaCodecConfigure() argument
1089 jint values[] = {width, height, colorFormat, bitRate, frameRate, iFrameInterval}; in Java_android_media_cts_NdkMediaCodec_AMediaCodecConfigure()