Searched refs:nr_mode (Results 1 – 2 of 2) sorted by relevance
/cts/apps/CameraITS/tests/scene1_2/ |
D | test_reprocess_noise_reduction.py | 44 def calc_rgb_snr(cap, frame, nr_mode, name_with_log_path): argument 149 for nr_mode in _NR_MODES_LIST: 151 if not camera_properties_utils.noise_reduction_mode(props, nr_mode): 152 nr_modes_reported.append(nr_mode) 159 nr_modes_reported.append(nr_mode) 161 req['android.noiseReduction.mode'] = nr_mode 165 rgb_snr_list.append(calc_rgb_snr(caps[i]['data'], i, nr_mode, 175 'NR mode %d %s SNR avg: %.2f min: %.2f, max: %.2f', nr_mode,
|
/cts/apps/CameraITS/tests/scene2_a/ |
D | test_reprocess_uv_swap.py | 127 for nr_mode in tuple(_NR_MODES.values()): 129 if not camera_properties_utils.noise_reduction_mode(props, nr_mode): 130 uv_swaps[reprocess_format][nr_mode] = (0, 0) 135 req['android.noiseReduction.mode'] = nr_mode 141 caps_no_nr[0]['data'], caps[0]['data'], nr_mode, 143 uv_swaps[reprocess_format][nr_mode] = (sad_swap, sad_no_swap) 150 for nr_mode, (sad_swap, sad_no_swap) in nr_mode_dict.items(): 158 reprocess_format, nr_mode, sad_swap, sad_no_swap)
|