/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | EncoderConfigParams.java | 45 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 …]
|
D | EncoderProfileLevelTestBase.java | 220 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()
|
D | HDREncoderTestBase.java | 70 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/ |
D | VideoEncoderCapabilitiesTest.java | 42 final private int mFrameRate; field in VideoEncoderCapabilitiesTest 88 mFrameRate = frameRate; in VideoEncoderCapabilitiesTest() 99 format.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in testEncoderAvailability()
|
D | VideoEncoderTest.java | 293 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/ |
D | VideoEncoderAdaptiveBitRateTest.java | 135 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()
|
D | VideoEncoderTargetBitrateTest.java | 140 if (mOutputCount >= mActiveEncCfg.mFrameRate) { in dequeueOutput()
|
D | VideoEncoderIntraFrameIntervalTest.java | 147 (int) (mEncCfgParams[0].mFrameRate * mEncCfgParams[0].mKeyFrameInterval); in testEncoderSyncFrameSupport()
|
D | VideoEncoderMinMaxTest.java | 232 cfgVar.mFrameRate, cfgVar.mMaxBFrames, in updateParamList() 273 mEncCfgParams[0].mFrameRate <= 240); in testMinMaxSupport()
|
D | VideoEncoderValidationTestBase.java | 190 long pts = mInputOffsetPts + mInputCount * 1000000L / mActiveEncCfg.mFrameRate; in enqueueInput()
|
D | VideoEncoderRoiTest.java | 147 long pts = mInputOffsetPts + mInputCount * 1000000L / mActiveEncCfg.mFrameRate; in enqueueInput()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaRecorderStressTest.java | 75 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/ |
D | CodecTranscoderTestBase.java | 48 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()
|
D | CodecTestBase.java | 745 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()
|
D | CodecInitializationLatencyTest.java | 406 mFrameRate = 60; in EncoderInitializationLatency() 446 format.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in setUpFormat()
|
/cts/tests/video/src/android/video/cts/ |
D | CodecPerformanceTestBase.java | 81 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()
|
D | VideoEncoderDecoderTest.java | 127 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/ |
D | EncodeVirtualDisplayTest.java | 125 private int mFrameRate; field in EncodeVirtualDisplayTest 143 mFrameRate = framerate; in EncodeVirtualDisplayTest() 208 mFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in testEncodeVirtualDisplay()
|
D | VideoCodecTestBase.java | 941 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/ |
D | EncoderLevelTest.java | 202 cfg.mHeight, cfg.mFrameRate, cfg.mBitRate, cfg.mProfile)); in testVideoEncodeLevels()
|
D | VideoEncoderTest.java | 72 mFrameLimit = Math.max(encCfgParams.mFrameRate, 30); in VideoEncoderTest()
|
D | CodecEncoderTest.java | 629 final int keyFramePos = currCfg.mFrameRate * keyFrameInterval; in testSetForceSyncFrame() 723 final int adaptiveBrDurFrm = mActiveEncCfg.mFrameRate * adaptiveBrInterval; in testAdaptiveBitRate()
|
D | CodecEncoderSurfaceTest.java | 103 mFrameLimit = Math.max(encCfgParams.mFrameRate, 30); in CodecEncoderSurfaceTest()
|
D | EncoderColorAspectsTest.java | 210 return frameIndex * 1000000L / mActiveEncCfg.mFrameRate; in computePresentationTime()
|
D | EncodeDecodeAccuracyTest.java | 411 return frameIndex * 1000000L / mEncCfgParams.mFrameRate; in computePresentationTime()
|