Home
last modified time | relevance | path

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

/cts/apps/CameraITS/tests/scene0/
Dtest_tonemap_curve.py53 def get_yuv_patch_coordinates(num, w_orig, w_crop): argument
64 if w_crop == w_orig: # uncropped image
68 elif w_crop < w_orig: # adject patch width to match vertical RAW crop
69 w_delta_edge = (w_orig - w_crop) / 2
73 w_norm = (w_bar_orig - w_delta_edge) / w_crop - 2 * DELTA
75 x_norm = (w_bar_orig*num - w_delta_edge)/w_crop + DELTA
76 w_norm = (w_bar_orig - w_delta_edge) / w_crop - 2 * DELTA
78 x_norm = (w_bar_orig * num - w_delta_edge) / w_crop + DELTA
79 w_norm = w_bar_orig / w_crop - 2 * DELTA