Home
last modified time | relevance | path

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

/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()
847 long startTimeOffset, int frameIndex, int frameRate) { in computePresentationTime() argument
848 return startTimeOffset + frameIndex * 1000000 / frameRate; in computePresentationTime()
1143 int frameRate = getMaxFrameRateForCodec(codec); in setupRecorder() local
1151 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()
1815 Encoder[] encoders, int width, int height, int frameRate, int bitRate, in detailed() argument
1823 if (encoder.testSupport(width, height, frameRate, bitRate)) { in detailed()
[all …]
DVideoDecoderPerfTest.java166 double frameRate = 0.; // default - 0 is used for using zero PTS offset in doDecode() local
168 frameRate = format.getInteger(MediaFormat.KEY_FRAME_RATE); in doDecode()
193 if (frameRate > 0.) { in doDecode()
196 (extractor.getSampleTime() - firstPTS) * frameRate / 1e6 - index; in doDecode()
217 frameRate = cap.getSupportedFrameRatesFor(w, h).getUpper(); in doDecode()
249 long presentationTimeUs = (long)((inputNum + sample.second) * 1e6 / frameRate); in doDecode()
/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp224 videoInfo.width, videoInfo.height, videoInfo.codecId, videoInfo.frameRate, in StreamChangeCallback()
/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/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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java705 int frameRate = Math.min( in setMaxEncoderFrameAndBitrates() local
707 format.setInteger(MediaFormat.KEY_FRAME_RATE, frameRate); in setMaxEncoderFrameAndBitrates()
/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/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()