Home
last modified time | relevance | path

Searched full:fps (Results 1 – 25 of 94) sorted by relevance

1234

/cts/tests/mediapc/src/android/mediapc/cts/
DMultiCodecPerfTestBase.java43 // allowed tolerance in measured fps vs expected fps in percentage, i.e. codecs achieving fps
85 // Returns the list of hardware codecs supporting the 720p 30fps format.
94 // Returns the max number of 720p 30 fps instances that the given list of mimeCodecPairs
95 // supports. It also checks that the each codec supports 720p 180 fps PerformancePoint.
110 // VP9 requires 60 fps at 720p and minimum of 2 instances in checkAndGetMaxSupportedInstancesFor720p()
144 // Calculate how many 720p 30fps max instances it can support from it's mMaxFrameRate in checkAndGetMaxSupportedInstancesFor720p()
DCodecTestBase.java666 * in surface mode(uses PersistentInputSurface) and returns the achieved fps for decoding.
695 double fps = mOutputCount / ((end - start) / 1000.0); in doDecode() local
697 " Achieved fps: " + fps); in doDecode()
698 return fps; in doDecode()
732 * given encoderName and configuring to 720p 30fps format.
778 double fps = mOutputCount / ((end - start) / 1000.0); in doEncode() local
780 " Achieved fps: " + fps); in doEncode()
781 return fps; in doEncode()
DFrameDropTest.java51 * at 60 fps for S perf class / 30 fps for R perf class, for at least 30 seconds worth of
DAdaptivePlaybackFrameDropTest.java54 * assets of 3 seconds duration each at 60 fps for S perf class / 30 fps for R perf class,
DCodecTranscoderTestBase.java357 * The following class transcodes the given testFile and returns the achieved fps for transcoding.
394 double fps = mEncOutputCount / ((end - start) / 1000.0); in doTranscode() local
396 mEncoderName + " Achieved fps: " + fps); in doTranscode()
397 return fps; in doTranscode()
/cts/tests/tests/media/src/android/media/cts/
DVideoCodecTest.java51 private static final int FPS = 30; field in VideoCodecTest
106 FPS, in internalTestBasic()
138 decode(params.outputIvfFilename, null, codecMimeType, FPS, in internalTestBasic()
166 FPS, in internalTestAsyncEncoding()
177 decode(params.outputIvfFilename, OUTPUT_YUV, codecMimeType, FPS, in internalTestAsyncEncoding()
193 FPS, in internalTestAsyncEncoding()
204 decode(params.outputIvfFilename, OUTPUT_YUV, codecMimeType, FPS, in internalTestAsyncEncoding()
240 FPS, in internalTestSyncFrame()
244 params.syncFrameInterval = encodeSeconds * FPS; in internalTestSyncFrame()
245 params.syncForceFrameInterval = FPS; in internalTestSyncFrame()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaPerfUtils.java80 log.addValue("reported_low", reported.getLower(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog()
81 log.addValue("reported_high", reported.getUpper(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog()
90 * logcat. Returns the "final fps" value.
105 double fps = logPerformanceStats(log, timeAvgUsStats, "time_avg_stats", in addPerformanceStatsToLog() local
108 log.setSummary("fps", fps, ResultType.HIGHER_BETTER, ResultUnit.FPS); in addPerformanceStatsToLog()
109 return fps; in addPerformanceStatsToLog()
114 * Also prints the same into logcat using |message| as the base message. Returns the fps value
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py67 _FRAME_DELTA_TOL = 1.5 # 50% margin over nominal FPS of captures
90 _NUM_FRAMES_MAX = 300 # fps*test_length should be < this for smooth captures.
94 def _collect_data(cam, fps, w, h, test_length, rot_rig, chart_dist, log_path): argument
103 fps: frames per second capture rate.
157 req['android.control.aeTargetFpsRange'] = [fps, fps]
158 req['android.sensor.frameDuration'] = int(1 / _NSEC_TO_SEC / fps)
160 w, h, s, e/_MSEC_TO_NSEC, fps)
161 caps = cam.do_capture([req] * int(fps * test_length), fmt)
238 def _get_cam_times(cam_events, fps): argument
247 fps: float of frames per second value
[all …]
/cts/tests/tests/media/libmediandkjni/
Dnative_media_decoder_source.cpp28 int32_t w, int32_t h, int32_t colorFormat, float fps, bool looping, bool regulate);
46 // Simulate a real-time source by slowing down the feeding rate (up to configured fps)
60 int32_t w, int32_t h, int32_t colorFormat, float fps, bool looping, in createDecoderSource() argument
63 DecoderSource *d = new DecoderSource(w, h, colorFormat, fps, looping, regulateFeedingRate); in createDecoderSource()
70 int32_t w, int32_t h, int32_t colorFormat, float fps, bool looping, bool regulate) in DecoderSource() argument
71 : Source(w, h, colorFormat, fps, looping), in DecoderSource()
154 // synthesize timestamps based on required fps in run()
Dnative_media_source.h38 Source(int32_t w, int32_t h, int32_t colorFormat, float fps, bool looping) in Source() argument
42 mFps(fps), in Source()
69 int32_t w, int32_t h, int32_t colorFormat, float fps, bool looping,
/cts/hostsidetests/graphics/framerateoverride/app/src/com/android/cts/graphics/framerateoverride/
DFrameRateOverrideTestActivity.java285 float fps = 0; in observe() local
291 fps = totalBuffers / testDuration; in observe()
292 if (frameRatesMatchesOverride(fps, expectedFrameRate)) { in observe()
296 fps)); in observe()
305 + "expected: %.2f observed: %.2f", condition, expectedFrameRate, fps), in observe()
306 frameRatesMatchesOverride(fps, expectedFrameRate)); in observe()
354 float fps = getFps(); in verifyFrameRate() local
358 fps)); in verifyFrameRate()
362 mCondition, mExpectedRefreshRate, fps), in verifyFrameRate()
363 frameRatesMatchesOverride(mExpectedRefreshRate, fps)); in verifyFrameRate()
/cts/tests/tests/view/src/android/view/cts/
DDisplayRefreshRateTest.java70 // This tests the fps of the default display. in testRefreshRate()
81 Log.d(TAG, "claimed " + claimedFps + " fps, " + in testRefreshRate()
82 "achieved " + achievedFps + " fps"); in testRefreshRate()
DDisplayRefreshRateCtsActivity.java33 public final synchronized void notifyResult(float fps) { in notifyResult() argument
35 mFps = fps; in notifyResult()
/cts/apps/CameraITS/tests/inprog/rolling_shutter_skew/
Dtest_rolling_shutter_skew.py30 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/tools/
Drun_sensor_fusion.py115 fps = test_params_content['fps']
152 logging.info('FPS: %d, img size: %s', fps, img_size)
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java544 for (int[] fps: parameters.getSupportedPreviewFpsRange()) {
549 (fps[Parameters.PREVIEW_FPS_MIN_INDEX] / 1000.) + "," +
550 (fps[Parameters.PREVIEW_FPS_MAX_INDEX] / 1000.) + "]");
553 parameters.setPreviewFpsRange(fps[Parameters.PREVIEW_FPS_MIN_INDEX],
554 fps[Parameters.PREVIEW_FPS_MAX_INDEX]);
561 assertEquals(fps[Parameters.PREVIEW_FPS_MIN_INDEX],
563 assertEquals(fps[Parameters.PREVIEW_FPS_MAX_INDEX],
582 ")! (Size " + size.width + "x" + size.height + ", fps [" +
583 (fps[Parameters.PREVIEW_FPS_MIN_INDEX] / 1000.) + ", " +
584 (fps[Parameters.PREVIEW_FPS_MAX_INDEX] / 1000.) + "])",
[all …]
DCameraTest.java2115 // Test if the parameters exists and minimum fps <= maximum fps. in testPreviewFpsRangeByCamera()
2123 for(int[] fps: fpsList) { in testPreviewFpsRangeByCamera()
2124 assertTrue(fps[Parameters.PREVIEW_FPS_MIN_INDEX] > 0); in testPreviewFpsRangeByCamera()
2125 assertTrue(fps[Parameters.PREVIEW_FPS_MIN_INDEX] <= in testPreviewFpsRangeByCamera()
2126 fps[Parameters.PREVIEW_FPS_MAX_INDEX]); in testPreviewFpsRangeByCamera()
2127 if (!found && Arrays.equals(defaultFps, fps)) { in testPreviewFpsRangeByCamera()
2131 assertTrue("Preview fps range must be in the supported list.", found); in testPreviewFpsRangeByCamera()
2143 // Test if the actual fps is within fps range. in testPreviewFpsRangeByCamera()
2152 for (int[] fps: fpsList) { in testPreviewFpsRangeByCamera()
2154 parameters.setPreviewFpsRange(fps[Parameters.PREVIEW_FPS_MIN_INDEX], in testPreviewFpsRangeByCamera()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java413 mCollector.expectNotNull("Unable to find the fixed frame rate fps range for " + in testAbandonedHighSpeedRequest()
421 // Skip the test if the highest recording FPS supported by CamcorderProfile in testAbandonedHighSpeedRequest()
423 Log.w(TAG, "high speed recording " + size + "@" + captureRate + "fps" in testAbandonedHighSpeedRequest()
501 * Test recording framerate accuracy when switching from low FPS to high FPS.
670 ") must be one of the camera device available FPS range!", in doRecordingWithDifferentPreviewSizes()
733 // Allow external camera to use variable fps range in videoPreviewSurfaceSharingTestByCamera()
748 assertTrue("Cannot find FPS range for maxFps " + VIDEO_FRAME_RATE, foundRange); in videoPreviewSurfaceSharingTestByCamera()
828 mCollector.expectNotNull("Unable to find the fixed frame rate fps range for " + in slowMotionRecording()
836 // Skip the test if the highest recording FPS supported by CamcorderProfile in slowMotionRecording()
838 Log.w(TAG, "high speed recording " + size + "@" + captureRate + "fps" in slowMotionRecording()
[all …]
/cts/tests/video/src/android/video/cts/
DCodecPerformanceTestBase.java48 // allowed tolerance in measured fps vs expected fps, i.e. codecs achieving fps
96 // fps tolerance factor is kept quite low for devices launched on Android R and lower
258 // TODO (b/193458026) Limit max expected fps
DCodecDecoderPerformanceTest.java129 Log.d(LOG_TAG, log + "act/exp fps: " + mAchievedFps + "/" + expectedFps); in testPerformanceOfHardwareVideoDecoders()
130 assertTrue("Unable to achieve the expected rate. " + log + "act/exp fps: " + mAchievedFps in testPerformanceOfHardwareVideoDecoders()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DPlanetsRenderer.java73 // for total FPS measurement
243 float fps = ((float) mParam.mNumFrames) / ((float) timePassed) * 1000.0f; in onEglSwapBuffers() local
247 Log.i(TAG, "Final FPS " + fps + " Num triangles " + numTriangles + " start time " + in onEglSwapBuffers()
250 mListener.onRenderCompletion(fps, numTriangles, mFrameInterval, mRendererName); in onEglSwapBuffers()
268 // reset timer to remove delays added for FPS calculation. in onSurfaceChanged()
DGlPlanetsActivity.java28 * Activity which runs GL test and measure FPS with given parameters passed from
39 public static final String INTENT_RESULT_FPS = "fps";
/cts/suite/cts/utils/
Dgrapher.py58 y = r['details']['Fps Values']
77 plt.ylabel('FPS')
/cts/tests/vr/src/android/vr/cts/
DVrDisplayTest.java72 double fps = NUM_FRAMES / (double)(endNanos - startNanos) * 1e9; in testRefreshRateIsAtLeast60Hz() local
73 assertTrue(fps >= 59.); in testRefreshRateIsAtLeast60Hz()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java83 ResultUnit.FPS); in recordMetricsExample()
88 reportLog.addValues("Sample Values", metricValues, ResultType.NEUTRAL, ResultUnit.FPS); in recordMetricsExample()

1234