Home | History | Annotate | Download | only in its

Lines Matching refs:props

74         sensitivity, exp_time, f_distance = 0.0, linear_tonemap=False, props=None):
87 props: [Optional] the object returned from
114 assert(props is not None)
116 if 0 in props["android.tonemap.availableToneMapModes"]:
123 elif 3 in props["android.tonemap.availableToneMapModes"]:
144 def fastest_auto_capture_request(props):
148 props: the object returned from its.device.get_camera_properties().
155 turn_slow_filters_off(props, req)
159 def get_available_output_sizes(fmt, props, max_size=None, match_ar_size=None):
165 props: the object returned from its.device.get_camera_properties().
178 configs = props['android.scaler.streamConfigurationMap']\
194 def set_filter_off_or_fast_if_possible(props, req, available_modes, filter):
198 props: the object returned from its.device.get_camera_properties().
206 if props.has_key(available_modes):
207 if 0 in props[available_modes]:
209 elif 1 in props[available_modes]:
212 def turn_slow_filters_off(props, req):
220 props: the object returned from its.device.get_camera_properties().
226 set_filter_off_or_fast_if_possible(props, req,
229 set_filter_off_or_fast_if_possible(props, req,
232 if props.has_key("camera.characteristics.keys"):
233 chars_keys = props["camera.characteristics.keys"]
237 if props.has_key("camera.characteristics.requestKeys"):
238 req_keys = props["camera.characteristics.requestKeys"]
242 set_filter_off_or_fast_if_possible(props, req,
246 set_filter_off_or_fast_if_possible(props, req,
250 def get_fastest_manual_capture_settings(props):
254 props: the object returned from its.device.get_camera_properties().
262 size = get_available_output_sizes(fmt, props)[-1]
264 s = min(props['android.sensor.info.sensitivityRange'])
265 e = min(props['android.sensor.info.exposureTimeRange'])
268 turn_slow_filters_off(props, req)
272 def get_fastest_auto_capture_settings(props):
276 props: the object returned from its.device.get_camera_properties().
284 size = get_available_output_sizes(fmt, props)[-1]
288 turn_slow_filters_off(props, req)
293 def get_smallest_yuv_format(props, match_ar=None):
297 props: the object returned from its.device.get_camera_properties().
303 size = get_available_output_sizes("yuv", props, match_ar_size=match_ar)[-1]
309 def get_largest_yuv_format(props, match_ar=None):
313 props: the object returned from its.device.get_camera_properties().
319 size = get_available_output_sizes("yuv", props, match_ar_size=match_ar)[0]
325 def get_max_digital_zoom(props):
329 props: the object returned from its.device.get_camera_properties().
338 if props.has_key("android.scaler.availableMaxDigitalZoom"):
339 maxz = props["android.scaler.availableMaxDigitalZoom"]