/pdk/apps/CameraITS/tests/scene1/ |
test_3a.py | 15 import its.device namespace 16 import its.caps namespace 24 with its.device.ItsSession() as cam: 26 if not its.caps.read_3a(props):
|
test_ae_precapture_trigger.py | 15 import its.device namespace 16 import its.caps namespace 17 import its.objects namespace 18 import its.target namespace 31 with its.device.ItsSession() as cam: 33 if not its.caps.compute_target_exposure(props): 37 _,fmt = its.objects.get_fastest_manual_capture_settings(props) 43 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"] 44 manual_req = its.objects.manual_capture_request(s,e) 47 precap_req = its.objects.manual_capture_request(s,e [all...] |
test_auto_vs_manual.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 33 with its.device.ItsSession() as cam: 35 if (not its.caps.manual_sensor(props) or 36 not its.caps.manual_post_proc(props)): 42 xform_rat = its.objects.float_to_rational(xform) 49 req = its.objects.auto_capture_request() 51 img_auto = its.image.convert_capture_to_rgb_image(cap_auto [all...] |
test_burst_sameness_manual.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 38 with its.device.ItsSession() as cam: 42 if not its.caps.manual_sensor(props): 46 _, fmt = its.objects.get_fastest_manual_capture_settings(props) 47 e, s = its.target.get_target_exposure_combos(cam)["minSensitivity"] 48 req = its.objects.manual_capture_request(s, e [all...] |
test_crop_region_raw.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 30 with its.device.ItsSession() as cam: 32 if (not its.caps.compute_target_exposure(props) or 33 not its.caps.raw16(props)): 44 # should look the same (once converted by the its.image module). 45 e, s = its.target.get_target_exposure_combos(cam)["minSensitivity" [all...] |
test_crop_regions.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 36 with its.device.ItsSession() as cam: 38 if not its.caps.compute_target_exposure(props): 45 e, s = its.target.get_target_exposure_combos(cam)["minSensitivity"] 52 req = its.objects.manual_capture_request(s,e) 54 img_full = its.image.convert_capture_to_rgb_image(cap_full [all...] |
test_jpeg.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 30 with its.device.ItsSession() as cam: 32 if not its.caps.compute_target_exposure(props): 36 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"] 37 req = its.objects.manual_capture_request(s, e, True) 40 size = its.objects.get_available_output_sizes("yuv", props)[0 [all...] |
test_param_flash_mode.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 27 with its.device.ItsSession() as cam: 29 if not its.caps.compute_target_exposure(props): 40 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"] 42 req = its.objects.manual_capture_request(s, e, True) 49 img = its.image.convert_capture_to_rgb_image(cap [all...] |
test_param_tonemap_mode.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 39 with its.device.ItsSession() as cam: 41 if not its.caps.compute_target_exposure(props): 45 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"] 56 req = its.objects.manual_capture_request(s,e) 65 img = its.image.convert_capture_to_rgb_image(cap [all...] |
test_tonemap_sequence.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 32 with its.device.ItsSession() as cam: 34 if (not its.caps.manual_sensor(props) or 35 not its.caps.manual_post_proc(props)): 44 req = its.objects.manual_capture_request(sens, exp_time, True) 47 img = its.image.convert_capture_to_rgb_image(cap) 48 its.image.write_image(img, "%s_i=%d.jpg" % (NAME, i) [all...] |
/pdk/apps/CameraITS/tests/scene0/ |
test_sensor_events.py | 15 import its.device namespace 16 import its.caps namespace 26 with its.device.ItsSession() as cam: 29 if not its.caps.sensor_fusion(props):
|
test_camera_properties.py | 15 import its.caps namespace 16 import its.device namespace 17 import its.objects namespace 24 with its.device.ItsSession() as cam: 30 if its.caps.manual_sensor(props): 37 print "JPG sizes:", its.objects.get_available_output_sizes("jpg", props) 38 print "RAW sizes:", its.objects.get_available_output_sizes("raw", props) 39 print "YUV sizes:", its.objects.get_available_output_sizes("yuv", props)
|
test_param_sensitivity_burst.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 28 with its.device.ItsSession() as cam: 30 if not its.caps.manual_sensor(props): 38 reqs = [its.objects.manual_capture_request(s,e) for s in sens_list] 39 _,fmt = its.objects.get_fastest_manual_capture_settings(props)
|
test_unified_timestamps.py | 15 import its.device namespace 16 import its.objects namespace 17 import its.caps namespace 24 with its.device.ItsSession() as cam: 28 if not its.caps.sensor_fusion(props): 33 req, fmt = its.objects.get_fastest_manual_capture_settings(props)
|
test_capture_result_dump.py | 15 import its.caps namespace 16 import its.image namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 26 with its.device.ItsSession() as cam: 30 if not its.caps.manual_sensor(props): 34 req,fmt = its.objects.get_fastest_manual_capture_settings(props)
|
test_metadata.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 18 import its.target namespace 19 import its.caps namespace 28 with its.device.ItsSession() as cam: 32 auto_req = its.objects.auto_capture_request() 37 print " Legacy:", its.caps.legacy(props) 38 print " Limited:", its.caps.limited(props) 39 print " Full:", its.caps.full(props [all...] |
/pdk/apps/CameraITS/tools/ |
config.py | 15 import its.device namespace 16 import its.target namespace 22 This program is just a wrapper around the its.target module, to allow the 50 with its.device.ItsSession() as cam: 52 its.target.clear_cached_target_exposure() 53 exposure = its.target.get_target_exposure(cam) 57 its.target.set_hardcoded_exposure(exposure)
|
/pdk/apps/CameraITS/service/src/com/android/camera2/its/ |
ItsException.java | 17 package com.android.camera2.its;
|
/pdk/apps/CameraITS/tests/inprog/ |
test_crop_region.py | 16 import its.image namespace 17 import its.device namespace 18 import its.objects namespace 31 with its.device.ItsSession() as cam: 38 reqs = [its.objects.auto_capture_request()] 43 req = its.objects.auto_capture_request() 59 img = its.image.convert_capture_to_rgb_image(cap) 61 its.image.write_image(img, "%s_img%d.jpg"%(name,i))
|
test_faces.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 25 with its.device.ItsSession() as cam: 27 req = its.objects.auto_capture_request()
|
test_test_patterns.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 25 with its.device.ItsSession() as cam: 28 req = its.objects.manual_capture_request(100, 10*1000*1000) 36 img = its.image.convert_capture_to_rgb_image(caps[1]) 37 its.image.write_image(img, "%s_pattern=%d.jpg" % (NAME, i))
|
test_blc_lsc.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 35 with its.device.ItsSession() as cam: 57 awb_transform_rat = its.objects.float_to_rational(awb_transform) 64 req = its.objects.manual_capture_request(ae_sen,e) 75 img = its.image.convert_capture_to_rgb_image(cap) 76 its.image.write_image(img, "%s_i=%d.jpg"%(NAME, i)) 78 tile_center = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) 79 rgb_means = its.image.compute_image_means(tile_center [all...] |
test_burst_sameness_auto.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 38 with its.device.ItsSession() as cam: 42 if not its.caps.manual_sensor(props): 46 _, fmt = its.objects.get_fastest_manual_capture_settings(props) 53 req = its.objects.auto_capture_request() 69 imgs[n] = its.image.convert_capture_to_rgb_image(cap) 70 tile = its.image.get_image_patch(imgs[n], 0.45, 0.45, 0.1, 0.1 [all...] |
test_param_edge_mode.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 38 with its.device.ItsSession() as cam: 43 img = its.image.convert_capture_to_rgb_image(cap) 44 its.image.write_image(img, "%s_mode=%d.jpg" % (NAME, e))
|
/pdk/apps/CameraITS/tests/inprog/scene2/ |
test_dng_tags.py | 15 import its.image namespace 16 import its.device namespace 17 import its.dng namespace 18 import its.objects namespace 27 with its.device.ItsSession() as cam: 38 dng_illum = [its.dng.D65, its.dng.A] 46 cap = cam.do_capture(its.objects.auto_capture_request()) 48 ccm = its.objects.rational_to_float( 50 cal = its.objects.rational_to_float(props[cal_str[i]] [all...] |