• Home
  • Raw
  • Download

Lines Matching refs:props

67         sensitivity, exp_time, f_distance = 0.0, linear_tonemap=False, props=None):  argument
107 assert(props is not None)
109 if 0 in props["android.tonemap.availableToneMapModes"]:
116 elif 3 in props["android.tonemap.availableToneMapModes"]:
137 def fastest_auto_capture_request(props): argument
148 turn_slow_filters_off(props, req)
152 def get_available_output_sizes(fmt, props, max_size=None, match_ar_size=None): argument
171 configs = props['android.scaler.streamConfigurationMap']\
187 def set_filter_off_or_fast_if_possible(props, req, available_modes, filter): argument
199 if props.has_key(available_modes):
200 if 0 in props[available_modes]:
202 elif 1 in props[available_modes]:
205 def turn_slow_filters_off(props, req): argument
219 set_filter_off_or_fast_if_possible(props, req,
222 set_filter_off_or_fast_if_possible(props, req,
225 if props.has_key("camera.characteristics.keys"):
226 chars_keys = props["camera.characteristics.keys"]
230 if props.has_key("camera.characteristics.requestKeys"):
231 req_keys = props["camera.characteristics.requestKeys"]
235 set_filter_off_or_fast_if_possible(props, req,
239 set_filter_off_or_fast_if_possible(props, req,
243 def get_fastest_manual_capture_settings(props): argument
255 size = get_available_output_sizes(fmt, props)[-1]
257 s = min(props['android.sensor.info.sensitivityRange'])
258 e = min(props['android.sensor.info.exposureTimeRange'])
261 turn_slow_filters_off(props, req)
265 def get_fastest_auto_capture_settings(props): argument
277 size = get_available_output_sizes(fmt, props)[-1]
281 turn_slow_filters_off(props, req)
286 def get_smallest_yuv_format(props, match_ar=None): argument
296 size = get_available_output_sizes("yuv", props, match_ar_size=match_ar)[-1]
302 def get_largest_yuv_format(props, match_ar=None): argument
312 size = get_available_output_sizes("yuv", props, match_ar_size=match_ar)[0]
318 def get_largest_jpeg_format(props, match_ar=None): argument
329 size = get_available_output_sizes("jpeg", props, match_ar_size=match_ar)[0]
335 def get_max_digital_zoom(props): argument
348 if props.has_key("android.scaler.availableMaxDigitalZoom"):
349 maxz = props["android.scaler.availableMaxDigitalZoom"]