/cts/apps/CameraITS/tests/scene4/ |
D | test_30_60fps_preview_fov_match.py | 14 """Verify 30FPS and 60FPS preview videos have the same FoV.""" 86 The test captures two videos, one with 30 fps and another with 60 fps. 108 def _do_preview_recording(cam, resolution, stabilize, fps): argument 117 fps: integer; frames per second capture rate 126 ae_target_fps_min=fps, ae_target_fps_max=fps) 136 logging.debug('recorded %s preview name: %s', fps, preview_file_name) 143 if not math.isclose(preview_frame_rate, fps, abs_tol=_FPS_ATOL): 146 preview_frame_rate, fps, _FPS_ATOL) 173 # Recording preview streams 30/60 fps with stabilization off 175 cam, preview_size, stabilize=False, fps=30) [all …]
|
/cts/hostsidetests/mediapc/videoencodingquality/bdrate/ |
D | Android.bp | 87 "RefFileName": "AVICON-MOBILE-Beach-SO04-CRW02-L-420-8bit-SDR-1080p-30fps.y4m", 161 Y4M file = AVICON-MOBILE-SelfieTeenKitchenSocialMedia-SS01-CF01-P-420-8bit-SDR-1080p-30fps.y4m 164 FPS = 30 169 Y4M file = AVICON-MOBILE-SelfieTeenKitchenSocialMedia-SS01-CF01-P-420-8bit-SDR-1080p-30fps.y4m 172 FPS = 30 177 Y4M file = AVICON-MOBILE-SelfieTeenKitchenSocialMedia-SS01-CF01-P-420-8bit-SDR-1080p-30fps.y4m 180 FPS = 30 185 Y4M file = AVICON-MOBILE-SelfieTeenKitchenSocialMedia-SS01-CF01-P-420-8bit-SDR-1080p-30fps.y4m 188 FPS = 30 193 Y4M file = AVICON-MOBILE-SelfieTeenKitchenSocialMedia-SS01-CF01-P-420-8bit-SDR-1080p-30fps.y4m [all …]
|
/cts/apps/CameraITS/tests/scene_video/ |
D | test_preview_frame_drop.py | 31 _FPS_RTOL = 0.1 # Recording FPS must be within 10% of requested FPS 34 _FRAME_DELTA_WINDOW_SIZE = 30 # 0.5 second of 60FPS video -> 30 frames 79 # Find largest minimum AE target FPS 81 logging.debug('FPS ranges: %s', fps_ranges) 83 raise AssertionError('No FPS ranges found.') 85 logging.debug('Recording FPS: %s', video_fps) 123 f'Requested FPS {video_fps} does not match ' 124 f'recording FPS {reported_frame_rate}, RTOL: {_FPS_RTOL}'
|
/cts/tests/mediapc/common/src/android/mediapc/cts/common/ |
D | CodecMetrics.java | 24 public static CodecMetrics getMetrics(double fps, double fdps) { in getMetrics() argument 25 return new AutoValue_CodecMetrics(fps, fdps); in getMetrics() 28 public abstract double fps(); in fps() method in CodecMetrics
|
D | PerformanceClassEvaluator.java | 195 // allowed tolerance in measured fps vs expected fps in percentage, i.e. codecs achieving 196 // fps that is greater than (FPS_TOLERANCE_FACTOR * expectedFps) will be considered as 399 * resolution@30 fps. 420 * resolution@30 fps. 435 * at 1080p resolution@30 fps and 3 sessions at 4k(U) resolution@30fps. 514 * resolution@30 fps. 531 * resolution@30 fps. 547 * resolution@30 fps. 628 * at 720p(R,S) /1080p(T) /4k(U) @30fps resolution. 635 // Test transcoding, fps calculated for encoder and decoder combined so req / 2 in createR5_1__H_1_6_720p() [all …]
|
/cts/apps/CameraITS/tests/feature_combination/ |
D | test_feature_combination.py | 44 - Target FPS range 58 Target FPS range: 59 The recorded preview has the expected fps range. For example, 61 produce 60fps preview/video. 163 # Fps ranges 165 fps_params = [fps for fps in fps_ranges if ( 166 fps[1] in _FPS_30_60 and 167 max_achievable_fps >= fps[1] - _FPS_SELECTION_ATOL)] 231 # Verify FPS by inspecting the video clip 250 # Verify FPS by inspecting the result metadata
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_sensor_fusion.py | 44 _FRAME_DELTA_RTOL = 1.5 # 50% margin over nominal FPS of captures 66 _NUM_FRAMES_MAX = 300 # fps*test_length should be < this for smooth captures. 69 def _collect_data(cam, fps, w, h, test_length, rot_rig, chart_dist, argument 79 fps: frames per second capture rate. 151 req['android.control.aeTargetFpsRange'] = [fps, fps] 152 req['android.sensor.frameDuration'] = int(1 / _NSEC_TO_SEC / fps) 154 w, h, s, e/_MSEC_TO_NSEC, fps) 155 caps = cam.do_capture([req] * int(fps * test_length), fmt) 187 def _get_cam_times(cam_events, fps): argument 196 fps: float of frames per second value [all …]
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | VideoCodecTest.java | 65 private static final int FPS = 30; field in VideoCodecTest 170 FPS, in internalTestBasic() 203 decode(params.outputIvfFilename, null, codecMimeType, FPS, codecConfigs); in internalTestBasic() 232 FPS, in internalTestAsyncEncoding() 244 decode(params.outputIvfFilename, OUTPUT_YUV, codecMimeType, FPS, codecConfigs); in internalTestAsyncEncoding() 260 FPS, in internalTestAsyncEncoding() 272 decode(params.outputIvfFilename, OUTPUT_YUV, codecMimeType, FPS, codecConfigs); in internalTestAsyncEncoding() 308 FPS, in internalTestSyncFrame() 312 params.syncFrameInterval = encodeSeconds * FPS; in internalTestSyncFrame() 313 params.syncForceFrameInterval = FPS; in internalTestSyncFrame() [all …]
|
/cts/tests/mediapc/requirements/ |
D | requirements.txtpb | 64 …er sessions (AVC or HEVC) in any codec combination running concurrently at 720p resolution@30 fps." 71 …later) in any codec combination running concurrently at 720p resolution@30 fps. *Only 2 instances … 78 …HEVC, VP9, AV1 or later) in any codec combination running concurrently at 1080p resolution@30 fps." 85 …ing concurrently with 3 sessions at 1080p resolution@30 fps and 3 sessions at 4k resolution@30fps,… 92 …ing concurrently with 3 sessions at 1080p resolution@30 fps and 3 sessions at 4k resolution@30fps,… 142 …er sessions (AVC or HEVC) in any codec combination running concurrently at 720p resolution@30 fps." 149 …later) in any codec combination running concurrently at 720p resolution@30 fps. *Only 2 instances … 156 … HEVC, VP9, AV1 or later) in any codec combination running concurrently at 1080p resolution@30fps." 163 …ing concurrently with 4 sessions at 1080p resolution@30 fps and 2 sessions at 4k resolution@30fps,… 170 …ing concurrently with 4 sessions at 1080p resolution@30 fps and 2 sessions at 4k resolution@30fps,… [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaPerfUtils.java | 82 log.addValue("reported_low", reported.getLower(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog() 83 log.addValue("reported_high", reported.getUpper(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog() 92 * logcat. Returns the "final fps" value. 107 double fps = logPerformanceStats(log, timeAvgUsStats, "time_avg_stats", in addPerformanceStatsToLog() local 110 log.setSummary("fps", fps, ResultType.HIGHER_BETTER, ResultUnit.FPS); in addPerformanceStatsToLog() 111 return fps; in addPerformanceStatsToLog() 116 * Also prints the same into logcat using |message| as the base message. Returns the fps value
|
/cts/tests/tests/gameframerate/src/ |
D | GameFrameRateCtsActivity.java | 210 float fps, FrameRateRange expectedFrameRateRange) { in frameRatesMatchesOverride() argument 211 return (fps + FPS_TOLERANCE_FOR_FRAME_RATE_OVERRIDE >= expectedFrameRateRange.min) in frameRatesMatchesOverride() 212 && (fps - FPS_TOLERANCE_FOR_FRAME_RATE_OVERRIDE <= expectedFrameRateRange.max); in frameRatesMatchesOverride() 361 float fps = 0; in observe() local 367 fps = totalBuffers / testDuration; in observe() 368 if (frameRatesMatchesOverride(fps, expectedFrameRate)) { in observe() 372 fps)); in observe() 382 condition, expectedFrameRate.min, expectedFrameRate.max, fps), in observe() 383 frameRatesMatchesOverride(fps, expectedFrameRate)); in observe() 431 float fps = getFps(); in verifyFrameRate() local [all …]
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | MultiTranscoderPerfTest.java | 235 Double fps = result.get().fps(); in testCodec() local 236 if (fps < 0) { in testCodec() 239 achievedFrameRate += fps; in testCodec() 245 Double fps = result.get().fps(); in testCodec() local 246 if (fps < 0) { in testCodec() 249 achievedFrameRate += fps; in testCodec() 256 // map errors to '0 fps' in testCodec()
|
D | MultiDecoderPerfTest.java | 91 * This test validates that the decoder can support at least 6 concurrent 720p 30fps 109 * 1080p 30fps decoder instances. Also ensures that all the concurrent sessions succeed in 130 * instances with 3 sessions at 1080p 30 fps and 3 sessions at 4k 30fps / 2 SDR secure 131 * concurrent instances at 4k 30 fps. Also ensures that all the concurrent sessions succeed 153 * at 4k 30 fps. Also ensures that all the concurrent sessions succeed in decoding with 198 achievedFrameRate = result.fps(); in testCodec()
|
D | MultiEncoderPerfTest.java | 90 * This test validates that the encoder can support at least 6 concurrent 720p 30fps 105 * This test validates that the encoder can support at least 6 concurrent 1080p 30fps 118 * with 4 sessions at 1080p 30 fps and 2 sessions at 4k 30 fps. Also ensures that all the 165 achievedFrameRate = result.fps(); in testCodec()
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoEncoderInput.java | 57 + "AVICON-MOBILE-BirthdayHalfway-SI17-CRUW03-L-420-8bit-SDR-1080p-30fps.mp4"); 60 + "AVICON-MOBILE-SelfieGroupGarden-SF15-CF01-P-420-8bit-SDR-1080p-30fps.mp4"); 63 + "AVICON-MOBILE-River-SO03-CRW01-L-420-8bit-SDR-720p-30fps.mp4");
|
/cts/apps/CameraITS/tests/scene6/ |
D | test_session_characteristics_zoom.py | 44 - Target FPS range 173 # FPS ranges 175 fps_params = [fps for fps in fps_ranges if ( 176 fps[_MAX_FPS_INDEX] in _FPS_30_60 and 177 max_achievable_fps >= fps[_MAX_FPS_INDEX] - _FPS_SELECTION_ATOL)]
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderRenderTest.java | 89 // TODO(b/290839444): The framework selects 30Hz refresh rate for 29.97fps, causing in onFrameRendered_indicatesAllFramesRendered_toDisplay_vp9() 90 // frame drops (and 24Hz for 25fps). Tell SurfaceFlinger that we prefer 60Hz. in onFrameRendered_indicatesAllFramesRendered_toDisplay_vp9() 105 // TODO(b/290839444): The framework selects 30Hz refresh rate for 29.97fps, causing in onFrameRendered_indicatesAllFramesRendered_toTexture_vp9() 106 // frame drops (and 24Hz for 25fps). Tell SurfaceFlinger that we prefer 60Hz. in onFrameRendered_indicatesAllFramesRendered_toTexture_vp9() 118 float fps) in onFrameRendered_indicatesAllFramesRendered() argument 121 surface.setFrameRate(fps, Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE); in onFrameRendered_indicatesAllFramesRendered() 241 // TODO(b/290839444): The framework selects 30Hz refresh rate for 29.97fps, causing in onFrameRendered_whenInvalidRenderTime_indicatesAllFramesRendered_vp9() 242 // frame drops (and 24Hz for 25fps). Tell SurfaceFlinger that we prefer 60Hz. in onFrameRendered_whenInvalidRenderTime_indicatesAllFramesRendered_vp9() 254 float fps) throws Exception { in onFrameRendered_whenInvalidRenderTime_indicatesAllFramesRendered() argument 258 surface.setFrameRate(fps, Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE); in onFrameRendered_whenInvalidRenderTime_indicatesAllFramesRendered()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | FrameRateOverrideCtsActivity.java | 318 float fps = 0; in observe() local 324 fps = totalBuffers / testDuration; in observe() 325 if (frameRatesMatchesOverride(fps, expectedFrameRate)) { in observe() 329 fps)); in observe() 338 + "expected: %.2f observed: %.2f", condition, expectedFrameRate, fps), in observe() 339 frameRatesMatchesOverride(fps, expectedFrameRate)); in observe() 387 float fps = getFps(); in verifyFrameRate() local 391 fps)); in verifyFrameRate() 395 mCondition, mExpectedRefreshRate, fps), in verifyFrameRate() 396 frameRatesMatchesOverride(mExpectedRefreshRate, fps)); in verifyFrameRate()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoCodecClaimsPerformanceTestBase.java | 50 public VideoCodecClaimsPerformanceTestBase(String mediaType, int width, int height, int fps, in VideoCodecClaimsPerformanceTestBase() argument 55 mFps = fps; in VideoCodecClaimsPerformanceTestBase() 121 + "%d fps", in deviceClaimsPerformanceSupported()
|
D | HevcVp9ClaimsPerformanceTest.java | 51 int fps, boolean isEncoder, ComponentClass componentClass, String allTestParams) { in HevcVp9ClaimsPerformanceTest() argument 54 new VideoCodecClaimsPerformanceTestBase(mediaType, width, height, fps, in HevcVp9ClaimsPerformanceTest() 65 // mediaTypes, width, height, fps, isEncoder, componentClass in input()
|
/cts/apps/CameraITS/tools/ |
D | run_sensor_fusion.py | 116 fps = test_params_content['fps'] 153 logging.info('FPS: %d, img size: %s', fps, img_size)
|
/cts/tests/media/src/android/mediav2/cts/ |
D | EncoderLevelTest.java | 111 final int fps = (int) arg[4]; in input() local 129 testArgs[1] = getVideoEncoderCfgParams(mediaType, br, width, height, fps, in input() 133 height, fps, colorFormatToString(COLOR_FormatYUV420Flexible, -1), in input() 142 testArgs[1] = getVideoEncoderCfgParams(mediaType, br, width, height, fps, in input() 146 height, fps, colorFormatToString(COLOR_FormatYUVP010, -1), level); in input()
|
/cts/tests/tests/taskfpscallback/src/android/taskfpscallback/cts/ |
D | TaskFpsCallbackCtsTest.java | 65 public void onFpsReported(float fps) { in testRegister() 84 public void onFpsReported(float fps) { in testRegisterWithoutPermission()
|
/cts/apps/CameraITS/tests/inprog/rolling_shutter_skew/ |
D | test_rolling_shutter_skew.py | 30 FPS = 30 variable 63 '-f', '--fps', 65 help='FPS to capture with during the test (defaults to 30)') 173 fps = args.fps if args.fps else FPS 191 req['android.control.aeTargetFpsRange'] = [fps, fps] 198 req['android.sensor.frameDuration'] = int(SEC_TO_NSEC / fps) 204 raw_caps = cam.do_capture([req]*fps*test_length, fmt)
|
/cts/apps/CameraITS/tests/scene_flash/ |
D | test_preview_min_frame_rate.py | 14 """Verifies that preview FPS reaches minimum under low light conditions.""" 45 recording's frame rate is at the minimum of the requested FPS range. 103 logging.debug('Testing preview recording FPS for size: %s', preview_size)
|