Home
last modified time | relevance | path

Searched refs:ref_fov (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CameraITS/utils/
Dimage_fov_utils.py58 def check_fov(circle, ref_fov, w, h): argument
61 chk_percent = calc_expected_circle_image_ratio(ref_fov, w, h)
142 def calc_expected_circle_image_ratio(ref_fov, img_w, img_h): argument
157 ar_ref = ref_fov['w'] / ref_fov['h']
163 return ref_fov['percent'] * r
242 ref_fov = {}
268 ref_fov = {}
269 ref_fov['fmt'] = fmt_type
270 ref_fov['percent'] = fov_percent
271 ref_fov['w'] = w
[all …]
Dimage_fov_utils_tests.py30 ref_fov = {'w': 640, 'h': 480, 'percent': 5}
34 ref_fov, img_w, img_h)
/cts/apps/CameraITS/tests/scene4/
Dtest_preview_aspect_ratio_and_crop.py188 ref_fov, cc_ct_gt, aspect_ratio_gt = image_fov_utils.find_fov_reference(
235 circle, ref_fov, width, height)
257 crop_thresh_factor = ((min(ref_fov['w'], ref_fov['h']) / 4.0) /
258 max(ref_fov['circle_w'],
259 ref_fov['circle_h']))
Dtest_video_aspect_ratio_and_crop.py182 ref_fov, cc_ct_gt, aspect_ratio_gt = image_fov_utils.find_fov_reference(
256 circle, ref_fov, width, height)
278 crop_thresh_factor = ((min(ref_fov['w'], ref_fov['h']) / 4.0) /
279 max(ref_fov['circle_w'],
280 ref_fov['circle_h']))
Dtest_aspect_ratio_and_crop.py284 ref_fov, cc_ct_gt, aspect_ratio_gt = (
292 crop_thresh_factor = ((min(ref_fov['w'], ref_fov['h']) / 4.0) /
293 max(ref_fov['circle_w'], ref_fov['circle_h']))
346 circle, ref_fov, w_iter, h_iter)