/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)
|
/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_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_ev_compensation_basic.py | 58 for cap in caps: 59 if (cap['metadata']['android.control.aeState'] == LOCKED): 60 y = its.image.convert_capture_to_planes(cap)[0] 64 assert(cap['metadata']['android.control.aeState'] == LOCKED)
|
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_ev_compensation_advanced.py | 74 for cap in caps: 75 if (cap['metadata']['android.control.aeState'] == LOCKED): 76 y = its.image.convert_capture_to_planes(cap)[0] 80 assert(cap['metadata']['android.control.aeState'] == LOCKED)
|
D | test_param_noise_reduction.py | 58 cap = cam.do_capture(req) 59 rgb_image = its.image.convert_capture_to_rgb_image(cap) 82 cap = cam.do_capture(req) 83 rgb_image = its.image.convert_capture_to_rgb_image(cap) 86 cap["metadata"]["android.noiseReduction.mode"])
|
D | test_reprocess_noise_reduction.py | 77 cap = cam.do_capture(req, out_surface, reprocess_format) 78 img = its.image.decompress_jpeg_to_rgb_image(cap["data"]) 99 cap = cam.do_capture(req, out_surface, reprocess_format) 101 img = its.image.decompress_jpeg_to_rgb_image(cap["data"]) 108 cap["metadata"]["android.noiseReduction.mode"])
|
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_exposure.py | 66 cap = cam.do_capture(req) 67 s_res = cap["metadata"]["android.sensor.sensitivity"] 68 e_res = cap["metadata"]["android.sensor.exposureTime"] 74 img = its.image.convert_capture_to_rgb_image(cap)
|
D | test_raw_sensitivity.py | 58 cap,_ = cam.do_capture(req, cam.CAP_RAW_YUV) 62 plane = its.image.convert_capture_to_planes(cap, props)[1] 67 img = its.image.convert_capture_to_rgb_image(cap, props=props)
|
D | test_raw_burst_sensitivity.py | 64 for i,cap in enumerate(caps): 69 plane = its.image.convert_capture_to_planes(cap, props)[1] 74 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"])
|
/cts/tests/video/src/android/video/cts/ |
D | CodecInfo.java | 66 CodecCapabilities cap = codec.getCodecInfo().getCapabilitiesForType(mimeType); in getSupportedFormatInfo() local 67 if (cap.colorFormats.length == 0) { in getSupportedFormatInfo() 74 for (int color : cap.colorFormats) { in getSupportedFormatInfo() 82 printIntArray("supported colors", cap.colorFormats); in getSupportedFormatInfo() 85 MediaUtils.setMaxEncoderFrameAndBitrates(cap.getVideoCapabilities(), format, maxFps); 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/tests/scene3/ |
D | test_edge_enhancement.py | 61 cap = cam.do_capture(req, out_surface, repeat_request=req) 62 img = its.image.convert_capture_to_rgb_image(cap) 65 res_edge_mode = cap["metadata"]["android.edge.mode"]
|