Home
last modified time | relevance | path

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

/cts/tests/media/src/android/mediav2/cts/
DEncoderProfileLevelTest.java60 int encoderInfo2, int frameRate) { in EncoderProfileLevelTest() argument
68 mFrameRate = frameRate; in EncoderProfileLevelTest()
246 private int getMinLevel(String mime, int width, int height, int frameRate, int bitrate, in getMinLevel() argument
250 return getMinLevelAVC(width, height, frameRate, bitrate); in getMinLevel()
252 return getMinLevelHEVC(width, height, frameRate, bitrate); in getMinLevel()
254 return getMinLevelH263(width, height, frameRate, bitrate); in getMinLevel()
256 return getMinLevelMPEG2(width, height, frameRate, bitrate); in getMinLevel()
258 return getMinLevelMPEG4(width, height, frameRate, bitrate, profile); in getMinLevel()
263 return getMinLevelVP9(width, height, frameRate, bitrate); in getMinLevel()
265 return getMinLevelAV1(width, height, frameRate, bitrate); in getMinLevel()
[all …]
DEncodeDecodeAccuracyTest.java111 int frameRate, int bitrate, int range, int standard, int transfer) { in EncodeDecodeAccuracyTest() argument
117 mFrameRate = frameRate; in EncodeDecodeAccuracyTest()
DCodecEncoderSurfaceTest.java90 int frameRate) { in CodecEncoderSurfaceTest() argument
95 mFrameRate = frameRate; in CodecEncoderSurfaceTest()
/cts/tests/tests/graphics/src/android/graphics/cts/
DFrameRateCtsActivity.java113 float frameRate = mode.getRefreshRate();
114 if (frameRate != mDeviceFrameRate) {
117 frameRate));
118 mDeviceFrameRate = frameRate;
222 public int setFrameRate(float frameRate, int compatibility, int changeFrameRateStrategy) { in setFrameRate() argument
225 frameRate, frameRateCompatibilityToString(compatibility))); in setFrameRate()
229 mSurface.setFrameRate(frameRate, compatibility, changeFrameRateStrategy); in setFrameRate()
231 rc = nativeWindowSetFrameRate(mSurface, frameRate, compatibility, in setFrameRate()
237 .setFrameRate(mSurfaceControl, frameRate, compatibility, in setFrameRate()
244 nativeSurfaceControlSetFrameRate(mNativeSurfaceControl, frameRate, compatibility, in setFrameRate()
[all …]
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_FrameRateCtsActivity.cpp170 jint nativeWindowSetFrameRate(JNIEnv* env, jclass, jobject jSurface, jfloat frameRate, in nativeWindowSetFrameRate() argument
176 return ANativeWindow_setFrameRateWithChangeStrategy(window.mNw, frameRate, compatibility, in nativeWindowSetFrameRate()
210 void surfaceControlSetFrameRate(JNIEnv*, jclass, jlong surfaceControlLong, jfloat frameRate, in surfaceControlSetFrameRate() argument
215 ASurfaceTransaction_setFrameRateWithChangeStrategy(transaction, surfaceControl, frameRate, in surfaceControlSetFrameRate()
/cts/tests/tests/media/src/android/media/cts/
DVideoCodecTestBase.java206 int frameRate; field in VideoCodecTestBase.EncoderOutputStreamParameters
263 int frameRate, in getDefaultEncodingParameterList() argument
286 params.frameCount = encodeSeconds * frameRate; in getDefaultEncodingParameterList()
287 params.frameRate = frameRate; in getDefaultEncodingParameterList()
315 int frameRate, in getDefaultEncodingParameters() argument
329 frameRate, in getDefaultEncodingParameters()
543 int frameRate, in decode() argument
623 inPresentationTimeUs = (inputFrameIndex * 1000000) / frameRate; in decode()
1390 format.setInteger(MediaFormat.KEY_FRAME_RATE, streamParams.frameRate); in encode()
1391 int syncFrameInterval = (streamParams.syncFrameInterval + streamParams.frameRate/2) / in encode()
[all …]
DNdkMediaCodec.java66 int frameRate, in AMediaCodecConfigure() argument
123 int frameRate = format.getInteger(MediaFormat.KEY_FRAME_RATE, -1); in configure() local
158 frameRate, in configure()
DMediaRecorderTest.java447 int frameRate = params.getPreviewFrameRate(); in recordVideoUsingCamera() local
456 mMediaRecorder.setVideoFrameRate(frameRate); in recordVideoUsingCamera()
480 int targetDurMs = timelapse? ((int) (durMs * (captureRate / frameRate))): durMs; in recordVideoUsingCamera()
483 checkTracksAndDuration(targetDurMs, hasVideo, hasAudio, fileName, frameRate); in recordVideoUsingCamera()
488 float frameRate) throws Exception { in checkTracksAndDuration() argument
503 float toleranceMs = RECORDED_DUR_TOLERANCE_FRAMES * (1000f / frameRate); in checkTracksAndDuration()
878 long startTimeOffset, int frameIndex, int frameRate) { in computePresentationTime() argument
879 return startTimeOffset + frameIndex * 1000000 / frameRate; in computePresentationTime()
1191 int frameRate = getMaxFrameRateForCodec(codec); in setupRecorder() local
1199 frameRate = params.getPreviewFrameRate(); in setupRecorder()
[all …]
DVideoDecoderPerfTest.java140 double frameRate = 0.; // default - 0 is used for using zero PTS offset in doDecode() local
142 frameRate = format.getInteger(MediaFormat.KEY_FRAME_RATE); in doDecode()
167 if (frameRate > 0.) { in doDecode()
170 (extractor.getSampleTime() - firstPTS) * frameRate / 1e6 - index; in doDecode()
190 frameRate = cap.getSupportedFrameRatesFor(w, h).getUpper(); in doDecode()
222 long presentationTimeUs = (long)((inputNum + sample.second) * 1e6 / frameRate); in doDecode()
DVideoEncoderTest.java437 public void setFrameAndBitRates(int frameRate, int bitRate) { in setFrameAndBitRates() argument
438 mFrameRate = frameRate; in setFrameAndBitRates()
1144 int width, int height, int frameRate, int bitRate, boolean flexYUV) { in testDetailed() argument
1153 return test(width, height, frameRate, bitRate, true /* optional */, flexYUV, in testDetailed()
1157 public boolean testSupport(int width, int height, int frameRate, int bitRate) { in testSupport() argument
1158 return mVideoCaps.areSizeAndRateSupported(width, height, frameRate) && in testSupport()
1177 int width, int height, int frameRate, int bitRate, boolean optional, in test() argument
1187 processor.setFrameAndBitRates(frameRate, bitRate); in test()
2058 Encoder[] encoders, int width, int height, int frameRate, int bitRate, in detailed() argument
2066 if (encoder.testSupport(width, height, frameRate, bitRate)) { in detailed()
[all …]
/cts/tests/mediapc/src/android/mediapc/cts/
DPlaybackFrameDrop.java54 int frameRate, boolean isAsync) { in PlaybackFrameDrop() argument
59 mEachFrameTimeIntervalUs = 1000000 / frameRate; in PlaybackFrameDrop()
67 mMaxNumFrames = frameRate * 30; in PlaybackFrameDrop()
DCodecTranscoderTestBase.java62 CodecTranscoderTestBase(String mime, String testfile, int bitrate, int frameRate) { in CodecTranscoderTestBase() argument
66 mFrameRate = frameRate; in CodecTranscoderTestBase()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioTap2ToneActivity.java319 public int frameRate; field in AudioTap2ToneActivity.TestResult
337 double latencyMillis = 1000 * latencySamples / result.frameRate; in processTest()
357 / result.frameRate; in processTest()
377 result.frameRate = sampleRate; in analyzeCapturedAudio()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java1208 int frameRate = profile.videoFrameRate; in doBasicRecordingByProfile() local
1222 completeBasicRecording(videoSz, frameRate, userVideoStab, useIntermediateSurface, validate); in doBasicRecordingByProfile()
1231 int frameRate = videoProfile.getFrameRate(); in doBasicRecordingByProfile() local
1251 completeBasicRecording(videoSz, frameRate, userVideoStab, useIntermediateSurface, validate); in doBasicRecordingByProfile()
1255 Size videoSz, int frameRate, boolean useVideoStab, in completeBasicRecording() argument
1260 updatePreviewSurfaceWithVideo(videoSz, frameRate); in completeBasicRecording()
1274 float frameDurationMs = 1000.0f / frameRate; in completeBasicRecording()
1283 Log.v(TAG, "video frame rate: " + frameRate + in completeBasicRecording()
2347 private boolean isSupportedByCamera(Size sz, int frameRate) {
2358 return maxFrameRate >= frameRate;
[all …]
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/
DMockMediaParserOutputConsumer.java167 float frameRate = in toExoPlayerFormat() local
232 .setFrameRate(frameRate) in toExoPlayerFormat()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java92 String frameRate = retriever.extractMetadata( in extractVideoFileInfo() local
94 if (frameRate != null) { in extractVideoFileInfo()
95 info.mVideoFrameRate = Float.parseFloat(frameRate); in extractVideoFileInfo()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1280 int frameRate = -1; // Used for external camera in testLockUnlockByCamera() local
1285 frameRate = parameters.getPreviewFrameRate(); in testLockUnlockByCamera()
1297 recordVideoBySize(videoSize, frameRate, surfaceHolder); in testLockUnlockByCamera()
1315 recordVideoBySize(videoSize, frameRate, surfaceHolder); in testLockUnlockByCamera()
1351 private void recordVideoBySize(Camera.Size size, int frameRate, in recordVideoBySize() argument
1364 recorder.setVideoFrameRate(frameRate); in recordVideoBySize()
2852 int frameRate = -1; // for external camera in testRecordingHintByCamera() local
2856 frameRate = parameters.getPreviewFrameRate(); in testRecordingHintByCamera()
2869 recordVideoSimpleBySize(videoSize, frameRate, holder); in testRecordingHintByCamera()
2887 private void recordVideoSimpleBySize(Camera.Size size, int frameRate, in recordVideoSimpleBySize() argument
[all …]
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java860 int frameRate = Math.min( in setMaxEncoderFrameAndBitrates() local
862 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
1101 jint values[] = {width, height, colorFormat, bitRate, frameRate, iFrameInterval, lowLatency, in Java_android_media_cts_NdkMediaCodec_AMediaCodecConfigure()