Home
last modified time | relevance | path

Searched refs:mFrameRate (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/media/common/src/android/mediav2/common/cts/
DEncoderConfigParams.java45 public final int mFrameRate; field in EncoderConfigParams
116 mFrameRate = -1; in EncoderConfigParams()
132 if (cfg.mFrameRate <= 0) { in EncoderConfigParams()
134 mFrameRate = 12; in EncoderConfigParams()
136 mFrameRate = 12; in EncoderConfigParams()
138 mFrameRate = 30; in EncoderConfigParams()
141 mFrameRate = cfg.mFrameRate; in EncoderConfigParams()
234 mFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in getFormat()
298 mMsg.append(String.format("Frame rate : %d, ", mFrameRate)); in toString()
330 public int mFrameRate = -1; field in EncoderConfigParams.Builder
[all …]
DEncoderProfileLevelTestBase.java220 this.mFrameRate = frameRate; in getMinLevelH263()
228 private final int mFrameRate; in getMinLevelH263() field in EncoderProfileLevelTestBase.LevelLimitH263
247 && width <= levelLimitsH263.mWidth && frameRate <= levelLimitsH263.mFrameRate in getMinLevelH263()
309 this.mFrameRate = frameRate; in getMinLevelMPEG2()
317 private final int mFrameRate; in getMinLevelMPEG2() field in EncoderProfileLevelTestBase.LevelLimitMPEG2
335 && frameRate <= levelLimitsMPEG2.mFrameRate in getMinLevelMPEG2()
354 this.mFrameRate = frameRate; in getMinLevelMPEG4()
363 private final int mFrameRate; in getMinLevelMPEG4() field in EncoderProfileLevelTestBase.LevelLimitMPEG4
404 && frameRate <= levelLimitsMPEG4.mFrameRate in getMinLevelMPEG4()
DHDREncoderTestBase.java70 long pts = mInputOffsetPts + mInputCount * 1000000L / mActiveEncCfg.mFrameRate; in enqueueInput()
123 frameLimit = (int) (lastHdr10PlusFramePts * mActiveEncCfg.mFrameRate / 1000000L) + 10; in validateHDRInfo()
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DVideoEncoderCapabilitiesTest.java42 final private int mFrameRate; field in VideoEncoderCapabilitiesTest
88 mFrameRate = frameRate; in VideoEncoderCapabilitiesTest()
99 format.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in testEncoderAvailability()
DVideoEncoderTest.java293 protected int mFrameRate = 0; field in VideoEncoderTest.VideoProcessorBase
358 if (mFrameRate > 0) { in initCodecsAndConfigureEncoder()
359 outFmt.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in initCodecsAndConfigureEncoder()
498 mFrameRate = frameRate; in setFrameAndBitRates()
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoEncoderAdaptiveBitRateTest.java135 int segStartFrameIdx = SEGMENT_DURATION * mActiveEncCfg.mFrameRate; in enqueueInput()
144 int segEndFrameIdx = SEGMENT_DURATION * mActiveEncCfg.mFrameRate; in dequeueOutput()
183 int limit = mSegmentBitRates.length * SEGMENT_DURATION * mEncCfgParams[0].mFrameRate; in testAdaptiveBitRate()
DVideoEncoderTargetBitrateTest.java140 if (mOutputCount >= mActiveEncCfg.mFrameRate) { in dequeueOutput()
DVideoEncoderIntraFrameIntervalTest.java147 (int) (mEncCfgParams[0].mFrameRate * mEncCfgParams[0].mKeyFrameInterval); in testEncoderSyncFrameSupport()
DVideoEncoderMinMaxTest.java232 cfgVar.mFrameRate, cfgVar.mMaxBFrames, in updateParamList()
273 mEncCfgParams[0].mFrameRate <= 240); in testMinMaxSupport()
DVideoEncoderValidationTestBase.java190 long pts = mInputOffsetPts + mInputCount * 1000000L / mActiveEncCfg.mFrameRate; in enqueueInput()
DVideoEncoderRoiTest.java147 long pts = mInputOffsetPts + mInputCount * 1000000L / mActiveEncCfg.mFrameRate; in enqueueInput()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaRecorderStressTest.java75 private int mFrameRate; field in MediaRecorderStressTest
98 mFrameRate = profile.videoFrameRate; in setUp()
276 mRecorder.setVideoFrameRate(mFrameRate); in testStressRecorder()
369 mRecorder.setVideoFrameRate(mFrameRate); in testStressCameraSwitchRecorder()
439 Log.v(TAG, "frameRate : " + mFrameRate); in testStressRecordVideoAndPlayback()
451 mRecorder.setVideoFrameRate(mFrameRate); in testStressRecordVideoAndPlayback()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTranscoderTestBase.java48 int mFrameRate; field in CodecTranscoderTestBase
79 mFrameRate = frameRate; in CodecTranscoderTestBase()
181 long expectedFrameDurationUs = 1000000 / mFrameRate; in dequeueDecoderOutput()
199 long expectedFrameDurationUs = 1000000 / mFrameRate; in dequeueEncoderOutput()
376 encoderFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in setUpEncoderFormat()
482 encoderFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in setUpEncoderFormat()
DCodecTestBase.java745 int mFrameRate; field in CodecEncoderTestBase
756 mFrameRate = 30; in CodecEncoderTestBase()
758 if (mediaType.equals(MediaFormat.MIMETYPE_VIDEO_MPEG4)) mFrameRate = 12; in CodecEncoderTestBase()
759 else if (mediaType.equals(MediaFormat.MIMETYPE_VIDEO_H263)) mFrameRate = 12; in CodecEncoderTestBase()
882 pts += mInputCount * 1000000L / mFrameRate; in enqueueInput()
1053 mFrameRate = frameRate; in Encode()
1080 format.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in setUpFormat()
DCodecInitializationLatencyTest.java406 mFrameRate = 60; in EncoderInitializationLatency()
446 format.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in setUpFormat()
/cts/tests/video/src/android/video/cts/
DCodecPerformanceTestBase.java81 int mFrameRate; field in CodecPerformanceTestBase
271 mFrameRate = format.getInteger(MediaFormat.KEY_FRAME_RATE, 30); in setUpDecoderInput()
301 new MediaCodecInfo.VideoCapabilities.PerformancePoint(mWidth, mHeight, mFrameRate); in getMaxOperatingRate()
DVideoEncoderDecoderTest.java127 private int mFrameRate; field in VideoEncoderDecoderTest
465 mFrameRate = infoEnc.mFps; in doTest()
1215 return TIMESTAMP_OFFSET + frameIndex * 1000000L / mFrameRate; in computePresentationTime()
1223 return (int) ((ptsUsec - TIMESTAMP_OFFSET) * mFrameRate / 1000000.0 + 0.5); in computeFrameIndex()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DEncodeVirtualDisplayTest.java125 private int mFrameRate; field in EncodeVirtualDisplayTest
143 mFrameRate = framerate; in EncodeVirtualDisplayTest()
208 mFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in testEncodeVirtualDisplay()
DVideoCodecTestBase.java941 private int mFrameRate; field in VideoCodecTestBase.MediaEncoderAsync
986 mInPresentationTimeUs = (mInputFrameIndex * 1000000) / mFrameRate;
1158 mFrameRate = format.getInteger(MediaFormat.KEY_FRAME_RATE); in createCodecInternal()
1218 mInPresentationTimeUs = (mInputFrameIndex * 1000000) / mFrameRate; in feedInputInternal()
/cts/tests/media/src/android/mediav2/cts/
DEncoderLevelTest.java202 cfg.mHeight, cfg.mFrameRate, cfg.mBitRate, cfg.mProfile)); in testVideoEncodeLevels()
DVideoEncoderTest.java72 mFrameLimit = Math.max(encCfgParams.mFrameRate, 30); in VideoEncoderTest()
DCodecEncoderTest.java629 final int keyFramePos = currCfg.mFrameRate * keyFrameInterval; in testSetForceSyncFrame()
723 final int adaptiveBrDurFrm = mActiveEncCfg.mFrameRate * adaptiveBrInterval; in testAdaptiveBitRate()
DCodecEncoderSurfaceTest.java103 mFrameLimit = Math.max(encCfgParams.mFrameRate, 30); in CodecEncoderSurfaceTest()
DEncoderColorAspectsTest.java210 return frameIndex * 1000000L / mActiveEncCfg.mFrameRate; in computePresentationTime()
DEncodeDecodeAccuracyTest.java411 return frameIndex * 1000000L / mEncCfgParams.mFrameRate; in computePresentationTime()

12