Lines Matching refs:fmt
126 def get_available_output_sizes(fmt, props, max_size=None, match_ar_size=None): argument
153 fmt_configs = [cfg for cfg in configs if cfg['format'] == fmt_codes[fmt]]
214 fmt = 'yuv'
215 size = get_available_output_sizes(fmt, props)[-1]
216 out_spec = {'format': fmt, 'width': size[0], 'height': size[1]}
237 fmt = 'yuv'
238 size = get_available_output_sizes(fmt, props)[-1]
239 out_spec = {'format': fmt, 'width': size[0], 'height': size[1]}
347 fmt = {'format': 'yuv', 'width': size[0], 'height': size[1]}
349 return fmt
364 fmt = {'format': 'yuv', 'width': size[0], 'height': size[1]}
366 return fmt
381 fmt = {'format': 'jpeg', 'width': size[0], 'height': size[1]}
383 return fmt