Lines Matching refs:props
33 def check_solid_color(cap, props): argument
43 r, gr, gb, b = its.image.convert_capture_to_planes(cap, props)
52 white_level = int(props['android.sensor.info.whiteLevel'])
58 def check_color_bars(cap, props, mirror=False): argument
74 img = its.image.convert_capture_to_rgb_image(cap, props=props)
88 def check_pattern(cap, props, pattern): argument
101 return check_solid_color(cap, props)
104 striped = check_color_bars(cap, props, mirror=False)
107 striped = check_color_bars(cap, props, mirror=True)
115 def test_test_patterns(cam, props, af_fd): argument
124 avail_patterns = props['android.sensor.availableTestPatternModes']
126 sens_min, _ = props['android.sensor.info.sensitivityRange']
127 exposure = min(props['android.sensor.info.exposureTimeRange'])
137 img = its.image.convert_capture_to_rgb_image(cap, props=props)
143 assert check_pattern(cap, props, pattern)
164 props = cam.get_camera_properties()
165 its.caps.skip_unless(its.caps.raw16(props) and
166 its.caps.manual_sensor(props) and
167 its.caps.per_frame_control(props))
170 fd = props['android.lens.info.minimumFocusDistance']
171 test_test_patterns(cam, props, fd)