Home
last modified time | relevance | path

Searched refs:fps (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/media/libmediandkjni/
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,
Dnative_media_decoder_source.cpp28 int32_t w, int32_t h, int32_t colorFormat, float fps, bool looping, bool regulate);
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()
/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/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py94 def _collect_data(cam, fps, w, h, test_length, rot_rig, chart_dist, log_path): argument
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
257 frame_delta_tol_ms = _FRAME_DELTA_TOL * (1 / fps) * _SEC_TO_MSEC
516 fps = float(self.fps)
522 if img_w * img_h > _IMG_SIZE_MAX or fps * test_length > _NUM_FRAMES_MAX:
538 events, frames = _collect_data(cam, fps, img_w, img_h, test_length,
[all …]
/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],
583 (fps[Parameters.PREVIEW_FPS_MIN_INDEX] / 1000.) + ", " +
584 (fps[Parameters.PREVIEW_FPS_MAX_INDEX] / 1000.) + "])",
616 fps[Parameters.PREVIEW_FPS_MIN_INDEX];
[all …]
DCameraTest.java2123 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()
2152 for (int[] fps: fpsList) { in testPreviewFpsRangeByCamera()
2154 parameters.setPreviewFpsRange(fps[Parameters.PREVIEW_FPS_MIN_INDEX], in testPreviewFpsRangeByCamera()
2155 fps[Parameters.PREVIEW_FPS_MAX_INDEX]); in testPreviewFpsRangeByCamera()
2156 callback.reset(fps[Parameters.PREVIEW_FPS_MIN_INDEX] / 1000.0, in testPreviewFpsRangeByCamera()
2157 fps[Parameters.PREVIEW_FPS_MAX_INDEX] / 1000.0); in testPreviewFpsRangeByCamera()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DDisplayRefreshRateCtsActivity.java33 public final synchronized void notifyResult(float fps) { in notifyResult() argument
35 mFps = fps; in notifyResult()
/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/CameraITS/tests/inprog/rolling_shutter_skew/
Dtest_rolling_shutter_skew.py173 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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaPerfUtils.java105 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()
/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/mediapc/src/android/mediapc/cts/
DCodecTestBase.java695 double fps = mOutputCount / ((end - start) / 1000.0); in doDecode() local
697 " Achieved fps: " + fps); in doDecode()
698 return fps; in doDecode()
778 double fps = mOutputCount / ((end - start) / 1000.0); in doEncode() local
780 " Achieved fps: " + fps); in doEncode()
781 return fps; in doEncode()
DCodecTranscoderTestBase.java394 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/openglperf/src/android/openglperf/cts/
DPlanetsRenderer.java243 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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java468 public double fps; field in RVCVXCheckAnalyzer.VideoMetaInfo
510 fps = json.getDouble("frameRate"); in VideoMetaInfo()
808 if (meta.fps > DECIMATION_FPS_TARGET) { in analyzeVideo()
809 decimation = (int)(meta.fps / DECIMATION_FPS_TARGET); in analyzeVideo()
810 meta.fps /=decimation; in analyzeVideo()
937 timestamp = (double) i / meta.fps; in analyzeVideo()
/cts/tests/tests/media/src/android/media/cts/
DVideoDecoderPerfTest.java292 double fps = outputNum / ((finish - start) / 1000.0); in doDecode() local
293 log.addValue("average_fps", fps, ResultType.HIGHER_BETTER, ResultUnit.FPS); in doDecode()
296 fps = MediaPerfUtils.addPerformanceStatsToLog(log, stats, message); in doDecode()
298 return fps; in doDecode()
DMediaCodecTest.java1696 int fps = 0; // frame rate for the max resolution in getAvcSupportedFormatInfo() local
1710 fps = 25; in getAvcSupportedFormatInfo()
1716 fps = 15; in getAvcSupportedFormatInfo()
1722 fps = 30; in getAvcSupportedFormatInfo()
1728 fps = 30; in getAvcSupportedFormatInfo()
1734 fps = 60; in getAvcSupportedFormatInfo()
1741 fps = 30; in getAvcSupportedFormatInfo()
1746 info.mFps = fps; in getAvcSupportedFormatInfo()
/cts/apps/CameraITS/tests/
Dits_base_test.py105 self.fps = int(self.user_params['fps'])
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java856 double fps = MediaPerfUtils.addPerformanceStatsToLog( in logPerformanceResults() local
872 return fps; in logPerformanceResults()
/cts/tests/tests/media/assets/hls_variant/387360/
D09.ts221 4���Y��;38IP������+����C��s�N���}�fps��sck��6�&��,Io1>��c����Y�{��G�|y?h��I��Ȇ1��ݎi1Qi�|u��…
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...