/cts/apps/CameraITS/tests/inprog/ |
D | test_3a_remote.py | 45 cap = cam.do_capture(req) 47 ae_state = cap["metadata"]["android.control.aeState"] 48 awb_state = cap["metadata"]["android.control.awbState"] 49 af_state = cap["metadata"]["android.control.afState"] 50 gains = cap["metadata"]["android.colorCorrection.gains"] 51 transform = cap["metadata"]["android.colorCorrection.transform"] 52 exp_time = cap["metadata"]['android.sensor.exposureTime'] 53 lsc_map = cap["metadata"]["android.statistics.lensShadingMap"] 54 foc_dist = cap["metadata"]['android.lens.focusDistance'] 55 foc_range = cap["metadata"]['android.lens.focusRange'] [all …]
|
D | test_crop_region.py | 58 for i,cap in enumerate(caps): 59 img = its.image.convert_capture_to_rgb_image(cap) 60 crop = cap["metadata"]['android.scaler.cropRegion']
|
D | test_black_level.py | 61 cap = cam.do_capture(req) 62 yimg,uimg,vimg = its.image.convert_capture_to_planes(cap) 63 w = cap["width"] 64 h = cap["height"]
|
D | test_param_edge_mode.py | 42 cap = cam.do_capture(req) 43 img = its.image.convert_capture_to_rgb_image(cap)
|
D | test_param_black_level_lock.py | 56 cap = cam.do_capture(req) 57 yimg,_,_ = its.image.convert_capture_to_planes(cap)
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_yuv_jpeg_all.py | 44 cap = cam.do_capture(req, out_surface) 45 assert(cap["format"] == "yuv") 46 assert(cap["width"] == size[0]) 47 assert(cap["height"] == size[1]) 48 print "Captured YUV %dx%d" % (cap["width"], cap["height"]) 49 img = its.image.convert_capture_to_rgb_image(cap) 58 cap = cam.do_capture(req, out_surface) 59 assert(cap["format"] == "jpeg") 60 assert(cap["width"] == size[0]) 61 assert(cap["height"] == size[1]) [all …]
|
D | test_ae_precapture_trigger.py | 56 for cap in caps: 57 assert(cap['metadata']['android.control.aeState'] == INACTIVE) 62 cap = cam.do_capture(auto_req, fmt) 63 state = cap['metadata']['android.control.aeState'] 69 cap = cam.do_capture(auto_req, fmt) 70 state = cap['metadata']['android.control.aeState']
|
D | test_param_noise_reduction.py | 58 cap = cam.do_capture(req) 60 its.image.convert_capture_to_rgb_image(cap), 62 planes = its.image.convert_capture_to_planes(cap) 81 cap = cam.do_capture(req) 83 cap["metadata"]["android.noiseReduction.mode"]) 85 its.image.convert_capture_to_rgb_image(cap), 87 planes = its.image.convert_capture_to_planes(cap)
|
D | test_param_flash_mode.py | 46 cap = cam.do_capture(req) 47 flash_modes_reported.append(cap["metadata"]["android.flash.mode"]) 48 flash_states_reported.append(cap["metadata"]["android.flash.state"]) 49 img = its.image.convert_capture_to_rgb_image(cap)
|
D | test_jpeg.py | 41 cap = cam.do_capture(req, out_surface) 42 img = its.image.convert_capture_to_rgb_image(cap) 50 cap = cam.do_capture(req, out_surface) 51 img = its.image.decompress_jpeg_to_rgb_image(cap["data"])
|
D | test_tonemap_sequence.py | 45 cap = cam.do_capture(req) 46 img = its.image.convert_capture_to_rgb_image(cap) 54 cap = cam.do_capture(req) 55 img = its.image.convert_capture_to_rgb_image(cap)
|
D | test_black_white.py | 46 cap = cam.do_capture(req) 47 img = its.image.convert_capture_to_rgb_image(cap) 61 cap = cam.do_capture(req) 62 img = its.image.convert_capture_to_rgb_image(cap)
|
D | test_reprocess_noise_reduction.py | 76 cap = cam.do_capture(req, out_surface, reprocess_format) 77 img = its.image.decompress_jpeg_to_rgb_image(cap["data"]) 95 cap = cam.do_capture(req, out_surface, reprocess_format) 97 cap["metadata"]["android.noiseReduction.mode"]) 99 img = its.image.decompress_jpeg_to_rgb_image(cap["data"])
|
D | test_param_tonemap_mode.py | 63 cap = cam.do_capture(req) 64 img = its.image.convert_capture_to_rgb_image(cap) 88 cap = cam.do_capture(req) 89 img = its.image.convert_capture_to_rgb_image(cap)
|
D | test_raw_sensitivity.py | 56 cap,_ = cam.do_capture(req, cam.CAP_RAW_YUV) 60 plane = its.image.convert_capture_to_planes(cap, props)[1] 65 img = its.image.convert_capture_to_rgb_image(cap, props=props)
|
D | test_raw_burst_sensitivity.py | 62 for i,cap in enumerate(caps): 67 plane = its.image.convert_capture_to_planes(cap, props)[1] 72 img = its.image.convert_capture_to_rgb_image(cap, props=props)
|
/cts/apps/CameraITS/pymodules/its/ |
D | image.py | 46 def convert_capture_to_rgb_image(cap, argument 62 w = cap["width"] 63 h = cap["height"] 64 if cap["format"] == "raw10": 66 cap = unpack_raw10_capture(cap, props) 67 if cap["format"] == "raw12": 69 cap = unpack_raw12_capture(cap, props) 70 if cap["format"] == "yuv": 71 y = cap["data"][0:w*h] 72 u = cap["data"][w*h:w*h*5/4] [all …]
|
/cts/apps/CameraITS/tests/ |
D | tutorial.py | 69 cap = cam.do_capture(req) 73 print "Captured image width:", cap["width"] 74 print "Captured image height:", cap["height"] 75 pprint.pprint(cap["metadata"]) 78 rgbimg = its.image.convert_capture_to_rgb_image(cap) 83 yimg,uimg,vimg = its.image.convert_capture_to_planes(cap) 120 cap = cam.do_capture(req) 121 rgbimg = its.image.convert_capture_to_rgb_image(cap) 166 yimg,_,_ = its.image.convert_capture_to_planes(cap) 178 cap = cam.do_capture(req, cam.CAP_JPEG) [all …]
|
/cts/apps/CameraITS/tests/scene0/ |
D | test_unified_timestamps.py | 32 cap = cam.do_capture(req, fmt) 33 ts_image0 = cap['metadata']['android.sensor.timestamp'] 51 cap = cam.do_capture(req, fmt) 52 ts_image1 = cap['metadata']['android.sensor.timestamp']
|
D | test_capture_result_dump.py | 33 cap = cam.do_capture(req, fmt) 34 pprint.pprint(cap["metadata"])
|
D | test_param_sensitivity_burst.py | 42 for i,cap in enumerate(caps): 44 s_res = cap["metadata"]["android.sensor.sensitivity"]
|
D | test_metadata.py | 33 cap = cam.do_capture(auto_req) 34 md = cap["metadata"]
|
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
D | CodecInfo.java | 64 CodecCapabilities cap = codec.getCodecInfo().getCapabilitiesForType(mimeType); in getSupportedFormatInfo() local 65 if (cap.colorFormats.length == 0) { in getSupportedFormatInfo() 72 for (int color : cap.colorFormats) { in getSupportedFormatInfo() 80 printIntArray("supported colors", cap.colorFormats); in getSupportedFormatInfo() 82 VideoCapabilities vidCap = cap.getVideoCapabilities(); in getSupportedFormatInfo()
|
/cts/apps/CameraITS/tests/inprog/scene2/ |
D | test_dng_tags.py | 46 cap = cam.do_capture(its.objects.auto_capture_request()) 47 gains = cap["metadata"]["android.colorCorrection.gains"] 49 cap["metadata"]["android.colorCorrection.transform"]) 56 img = its.image.convert_capture_to_rgb_image(cap) 74 cap['metadata']['android.sensor.neutralColorPoint']))
|
/cts/apps/CameraITS/tools/ |
D | validate_scene.py | 58 cap = cam.do_capture(req) 59 img = its.image.convert_capture_to_rgb_image(cap)
|