Searched refs:w_crop (Results 1 – 1 of 1) sorted by relevance
53 def get_yuv_patch_coordinates(num, w_orig, w_crop): argument64 if w_crop == w_orig: # uncropped image68 elif w_crop < w_orig: # adject patch width to match vertical RAW crop69 w_delta_edge = (w_orig - w_crop) / 273 w_norm = (w_bar_orig - w_delta_edge) / w_crop - 2 * DELTA75 x_norm = (w_bar_orig*num - w_delta_edge)/w_crop + DELTA76 w_norm = (w_bar_orig - w_delta_edge) / w_crop - 2 * DELTA78 x_norm = (w_bar_orig * num - w_delta_edge) / w_crop + DELTA79 w_norm = w_bar_orig / w_crop - 2 * DELTA