/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
|
/cts/apps/CameraITS/tests/scene4/ |
D | test_30_60fps_preview_fov_match.py | 108 def _do_preview_recording(cam, resolution, stabilize, fps): argument 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) 175 cam, preview_size, stabilize=False, fps=30) 177 cam, preview_size, stabilize=False, fps=60)
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_sensor_fusion.py | 69 def _collect_data(cam, fps, w, h, test_length, rot_rig, chart_dist, argument 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 206 frame_delta_tol_ms = _FRAME_DELTA_RTOL * (1 / fps) * _SEC_TO_MSEC 347 fps = float(self.fps) 353 if img_w * img_h > _IMG_SIZE_MAX or fps * test_length > _NUM_FRAMES_MAX: 370 cam, fps, img_w, img_h, test_length, rot_rig, chart_distance, [all …]
|
/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()
|
D | VideoCodecRequirementsTest.java | 169 double achievedRate = decode.doDecode().fps(); in testAV1HwDecoderRequirements() 262 double fps = 0; in testAV1EncoderRequirements() local 272 fps = max(fps, pp.getMaxFrameRate()); in testAV1EncoderRequirements() 287 fps = reported.getLower(); in testAV1EncoderRequirements() 298 rAV1EncoderReq.setAv1EncFps(fps); in testAV1EncoderRequirements()
|
D | CodecTranscoderTestBase.java | 438 double fps = mEncOutputCount / ((end - start) / 1000.0); in doTranscode() local 440 + mEncoderName + " Achieved fps: " + fps); in doTranscode() 441 return getMetrics(fps, mFrameDrops / 30); in doTranscode() 546 double fps = mEncOutputCount / ((end - start) / 1000.0); in doTranscode() local 549 + mEncoderName + " Achieved fps: " + fps); in doTranscode() 550 return getMetrics(fps, mFrameDrops / 30); in doTranscode()
|
/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 169 Y4M file = AVICON-MOBILE-SelfieTeenKitchenSocialMedia-SS01-CF01-P-420-8bit-SDR-1080p-30fps.y4m 177 Y4M file = AVICON-MOBILE-SelfieTeenKitchenSocialMedia-SS01-CF01-P-420-8bit-SDR-1080p-30fps.y4m 185 Y4M file = AVICON-MOBILE-SelfieTeenKitchenSocialMedia-SS01-CF01-P-420-8bit-SDR-1080p-30fps.y4m 193 Y4M file = AVICON-MOBILE-SelfieTeenKitchenSocialMedia-SS01-CF01-P-420-8bit-SDR-1080p-30fps.y4m 201 Y4M file = AVICON-MOBILE-SelfieTeenKitchenSocialMedia-SS01-CF01-P-420-8bit-SDR-1080p-30fps.y4m
|
/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/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()
|
D | CodecEncoderSurfaceTest.java | 178 final int fps = (int) arg[4]; in input() local 191 testArgs[3] = getVideoEncoderCfgParams(mediaType, br, fps, 8, maxBFrame); in input() 195 testArgs[7] = String.format("%dkbps_%dfps_%s_%s", br / 1000, fps, in input() 210 final int fps = (int) arg[4]; in input() local 225 getVideoEncoderCfgParams(mediaType, br, fps, toneMap ? 8 : 10, in input() 233 testArgs[7] = String.format("%dkbps_%dfps_%s_%s_%s", br / 1000, fps, 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/feature_combination/ |
D | test_feature_combination.py | 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)]
|
/cts/tests/vr/src/android/vr/cts/ |
D | VrDisplayTest.java | 72 double fps = NUM_FRAMES / (double)(endNanos - startNanos) * 1e9; in testRefreshRateIsAtLeast60Hz() local 73 assertTrue(fps >= 59.); in testRefreshRateIsAtLeast60Hz()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | DisplayRefreshRateCtsActivity.java | 35 public final synchronized void notifyResult(float fps) { in notifyResult() argument 37 mFps = fps; in notifyResult()
|
/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/apps/CameraITS/tests/scene6/ |
D | test_session_characteristics_zoom.py | 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/camera/src/android/hardware/cts/ |
D | CameraGLTest.java | 558 for (int[] fps: parameters.getSupportedPreviewFpsRange()) { 563 (fps[Parameters.PREVIEW_FPS_MIN_INDEX] / 1000.) + "," + 564 (fps[Parameters.PREVIEW_FPS_MAX_INDEX] / 1000.) + "]"); 567 parameters.setPreviewFpsRange(fps[Parameters.PREVIEW_FPS_MIN_INDEX], 568 fps[Parameters.PREVIEW_FPS_MAX_INDEX]); 575 assertEquals(fps[Parameters.PREVIEW_FPS_MIN_INDEX], 577 assertEquals(fps[Parameters.PREVIEW_FPS_MAX_INDEX], 597 (fps[Parameters.PREVIEW_FPS_MIN_INDEX] / 1000.) + ", " + 598 (fps[Parameters.PREVIEW_FPS_MAX_INDEX] / 1000.) + "])", 630 fps[Parameters.PREVIEW_FPS_MIN_INDEX]; [all …]
|
/cts/apps/CameraITS/tests/inprog/rolling_shutter_skew/ |
D | test_rolling_shutter_skew.py | 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/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()
|
D | HevcVp9ClaimsPerformanceTest.java | 51 int fps, boolean isEncoder, ComponentClass componentClass, String allTestParams) { in HevcVp9ClaimsPerformanceTest() argument 54 new VideoCodecClaimsPerformanceTestBase(mediaType, width, height, fps, in HevcVp9ClaimsPerformanceTest()
|
D | VideoCodecClaimsPerformanceTest.java | 58 public VideoCodecClaimsPerformanceTest(String mediaType, int width, int height, int fps, in VideoCodecClaimsPerformanceTest() argument 60 super(mediaType, width, height, fps, isEncoder, componentClass, allTestParams); in VideoCodecClaimsPerformanceTest()
|
/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/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderRenderTest.java | 118 float fps) in onFrameRendered_indicatesAllFramesRendered() argument 121 surface.setFrameRate(fps, Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE); in onFrameRendered_indicatesAllFramesRendered() 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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaPerfUtils.java | 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()
|