Home
last modified time | relevance | path

Searched refs:log_path (Results 1 – 25 of 91) sorted by relevance

1234

/cts/apps/CameraITS/tests/scene1_1/
Dtest_jpeg.py36 def compute_img_means_and_save(img, fmt_name, log_path): argument
47 name_with_log_path = os.path.join(log_path, _NAME)
68 log_path = self.log_path
84 log_path, cam)['midExposureTime']
98 rgb_means_yuv = compute_img_means_and_save(img, 'yuv', log_path)
106 rgb_means_jpg = compute_img_means_and_save(img, 'jpg', log_path)
Dtest_auto_vs_manual.py36 def extract_awb_gains_and_xform(cap, cap_name, log_path): argument
48 name_with_log_path = os.path.join(log_path, _NAME)
78 log_path = self.log_path
106 cap_auto, 'auto', log_path)
114 cap_man1, 'manual_wb', log_path)
123 cap_man2, 'manual_wb_tm', log_path)
Dtest_capture_result.py53 def draw_lsc_plot(lsc_map_w, lsc_map_h, lsc_map, name, log_path): argument
62 name_with_log_path = os.path.join(log_path, _NAME)
94 def test_auto(cam, props, log_path): argument
151 draw_lsc_plot(lsc_map_w, lsc_map_h, lsc_map, 'auto', log_path)
154 def test_manual(cam, props, log_path): argument
248 draw_lsc_plot(lsc_map_w, lsc_map_h, lsc_map, 'manual', log_path)
275 test_auto(cam, props, self.log_path)
276 test_manual(cam, props, self.log_path)
277 test_auto(cam, props, self.log_path)
/cts/apps/CameraITS/utils/
Dvideo_processing_utils.py164 def extract_key_frames_from_video(log_path, video_file_name): argument
188 log_path, ffmpeg_image_name + '_%04d.png')
193 os.path.join(log_path, video_file_name),
207 arr = os.listdir(os.path.join(log_path))
238 def extract_all_frames_from_video(log_path, video_file_name, img_format): argument
266 'ffmpeg', '-i', os.path.join(log_path, video_file_name),
276 [_ for _ in os.listdir(log_path) if (_.endswith(img_format)
284 def extract_last_key_frame_from_recording(log_path, file_name): argument
294 key_frame_files = extract_key_frames_from_video(log_path, file_name)
303 os.path.join(log_path, last_key_frame_file))
[all …]
Dpreview_processing_utils.py186 test_name, log_path, facing, zoom_ratio=None): argument
209 log_path, file_name, _IMG_FORMAT
216 os.path.join(log_path, file)
245 log_path)
278 tmpdir = os.listdir(log_path)
280 logging.debug('Tmp directory: %s not found', log_path)
283 file_to_remove = os.path.join(log_path, file)
480 log_path): argument
516 dut, preview_rec_obj['recordedOutputPath'], log_path)
523 log_path, preview_file_name, _IMG_FORMAT
[all …]
Dui_interaction_utils.py83 def open_jca_viewfinder(dut, log_path): argument
93 call_on_fail = lambda: dut.take_screenshot(log_path, prefix='its_not_found')
107 dut.take_screenshot(log_path, prefix=VIEWFINDER_NOT_VISIBLE_PREFIX)
110 dut.take_screenshot(log_path, prefix=VIEWFINDER_VISIBLE_PREFIX)
113 def switch_jca_camera(dut, log_path, facing): argument
134 dut.take_screenshot(log_path, prefix='failed_to_switch_camera')
138 log_path, prefix=f"switched_to_{ui_facing_description.replace(' ', '_')}"
/cts/apps/CameraITS/tests/scene9/
Dtest_jpeg_high_entropy.py41 def _read_files_back_from_disk(log_path): argument
52 for file in sorted(os.listdir(log_path)):
60 jpeg_file_with_log_path = os.path.join(log_path, jpeg_file)
85 log_path = self.log_path
86 test_name_with_log_path = os.path.join(log_path, _NAME)
144 _read_files_back_from_disk(log_path)
/cts/apps/CameraITS/tests/scene8/
Dtest_ae_awb_regions.py202 def _extract_and_process_key_frames_from_recording(log_path, file_name): argument
214 log_path, file_name)
220 os.path.join(log_path, file))
282 log_path = self.log_path
283 test_name_with_log_path = os.path.join(log_path, _NAME)
288 log_path)
335 self.dut.adb.pull([recording_obj['recordedOutputPath'], log_path])
337 file_name_with_path = os.path.join(log_path, file_name)
351 log_path, file_name))
355 log_path, file_name))
/cts/apps/CameraITS/tests/scene_flash/
Dtest_preview_min_frame_rate.py85 log_path=self.log_path)
117 self.log_path])
119 self.log_path)
124 self.log_path, preview_file_name)
149 self.log_path, preview_file_name)[-1]
153 os.path.join(self.log_path, last_key_frame))
/cts/apps/CameraITS/tests/scene1_2/
Dtest_yuv_plus_jpeg.py36 def compute_means_and_save(cap, img_name, log_path): argument
67 log_path = self.log_path
103 rgb_means_yuv = compute_means_and_save(cap_yuv, 'yuv', log_path)
104 rgb_means_jpg = compute_means_and_save(cap_jpg, 'jpg', log_path)
/cts/apps/CameraITS/tests/scene_video/
Dtest_preview_frame_drop.py58 log_path = self.log_path
73 lighting_check=False, log_path=self.log_path)
111 self.dut.adb.pull([recording_obj['recordedOutputPath'], log_path])
118 self.log_path, file_name)
/cts/apps/CameraITS/tests/scene4/
Dtest_preview_stabilization_fov.py135 log_path = self.log_path
191 self.dut.adb.pull([ustab_rec_obj['recordedOutputPath'], log_path])
196 self.dut.adb.pull([stab_rec_obj['recordedOutputPath'], log_path])
202 log_path, ustab_file_name)
206 log_path, stab_file_name)
210 ustab_frame = os.path.join(log_path,
214 stab_frame = os.path.join(log_path,
Dtest_30_60fps_preview_fov_match.py98 log_path = self.log_path
133 [preview_recording_obj['recordedOutputPath'], log_path])
140 self.log_path, preview_file_name)
182 log_path, fps30_video))
185 log_path, fps60_video))
/cts/apps/CameraITS/tests/scene6/
Dtest_preview_video_zoom_match.py65 log_path = self.log_path
97 [preview_recording_obj['recordedOutputPath'], log_path])
128 [video_recording_obj['recordedOutputPath'], log_path])
208 log_path, video_file_name))
211 img_name_stem = os.path.join(log_path, 'video_zoomRatio')
237 log_path, preview_file_name))
242 img_name_stem = os.path.join(log_path, 'flipped_preview')
251 img_name_stem = os.path.join(log_path, 'rear_preview')
Dtest_preview_zoom.py62 log_path = self.log_path
114 self.dut, cam, preview_size, z_min, z_max, z_step_size, log_path)
121 uncompressed_video = os.path.join(log_path,
134 img_bgr = cv2.imread(os.path.join(log_path, img_name))
184 compressed_video = os.path.join(log_path, 'output_frames.mp4')
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_video_stabilization.py124 log_path = self.log_path
183 self.dut.adb.pull([recording_obj['recordedOutputPath'], log_path])
194 log_path, file_name, _IMG_FORMAT)
199 os.path.join(log_path, file))
216 gyro_events, f'{_NAME}_{video_quality}', log_path)
253 log_path, f'*_{video_quality}_*_stabilized_frame_*.png'
Dtest_lens_intrinsic_calibration.py92 def verify_lens_intrinsics(recording_obj, gyro_events, test_name, log_path): argument
141 gyro_events, f'{test_name}_{video_size}', log_path)
267 log_path = self.log_path
302 self.dut.adb.pull([recording_obj['recordedOutputPath'], log_path])
305 recording_obj, gyro_events, _NAME, log_path)
Dtest_preview_stabilization.py70 log_path = self.log_path
151 self.dut.adb.pull([recording_obj['recordedOutputPath'], log_path])
156 recording_obj, gyro_events, _NAME, log_path, facing,
/cts/apps/CameraITS/tests/scene2_a/
Dtest_reprocess_uv_swap.py104 log_path = self.log_path
105 name_with_log_path = os.path.join(log_path, _NAME)
179 log_path = self.log_path
180 name_with_log_path = os.path.join(log_path, _NAME)
251 log_path = self.log_path
252 name_with_log_path = os.path.join(log_path, _NAME)
/cts/apps/CameraITS/tests/scene3/
Dtest_landscape_to_portrait.py51 def _create_image_folder(log_path, suffix): argument
61 image_path = os.path.join(log_path, f'test_landscape_to_portrait_{suffix}')
113 image_path = _create_image_folder(self.log_path, _ENABLED)
142 image_path = _create_image_folder(self.log_path, _DISABLED)
/cts/apps/CameraITS/tools/
Ddng_noise_model.py202 sens_max, sens_max_analog, log_path): argument
219 os.path.join(log_path, 'noise_model.c'),
237 os.path.join(log_path, 'noise_model_avg.c'),
243 os.path.join(log_path, 'noise_profile_avg.cc'),
249 os.path.join(log_path, 'noise_profile.cc'),
257 os.path.join(log_path, 'noise_profile.cc'),
509 log_path = self.log_path
510 name_with_log_path = os.path.join(log_path, _NAME)
566 self.log_path,
612 file_path = os.path.join(log_path, filename)
[all …]
/cts/apps/CameraITS/tests/scene_extensions/scene_low_light/
Dtest_night_extension.py96 test_name = os.path.join(self.log_path, _NAME)
152 y_plane, self.scene, state='OFF', log_path=self.log_path,
158 lighting_check=False, log_path=self.log_path)
Dtest_low_light_boost_extension.py121 test_name = os.path.join(self.log_path, _NAME)
175 y_plane, self.scene, state='OFF', log_path=self.log_path,
181 lighting_check=False, log_path=self.log_path)
/cts/apps/CameraITS/tests/feature_combination/
Dtest_feature_combination.py69 log_path = self.log_path
229 self.dut.adb.pull([recording_obj['recordedOutputPath'], log_path])
235 self.log_path, preview_file_name)
271 recording_obj, gyro_events, _NAME, log_path, facing))
279 self.log_path, preview_file_name_with_path)
/cts/apps/CameraITS/tests/scene7/
Dtest_multi_camera_switch.py106 def _do_ae_check(uw_img, w_img, log_path, suffix): argument
408 _ZOOM_RANGE_UW_W[1], _ZOOM_STEP, self.log_path)
447 its_session_utils.remove_frame_files(self.log_path, [
448 os.path.join(self.log_path, img_uw_file),
449 os.path.join(self.log_path, img_w_file)])
452 uw_path = pathlib.Path(os.path.join(self.log_path, img_uw_file))
454 os.rename(os.path.join(self.log_path, img_uw_file), uw_name)
456 w_path = pathlib.Path(os.path.join(self.log_path, img_w_file))
458 os.rename(os.path.join(self.log_path, img_w_file), w_name)
469 img_name_stem = os.path.join(self.log_path, 'flipped_preview')
[all …]

1234