Lines Matching full:formats
41 def get_unorm_to_srgb_map(formats): argument
42 names = set(fmt.name for fmt in formats)
44 for fmt in formats:
69 def get_rgbx_to_rgba_map(formats): argument
70 names = set(fmt.name for fmt in formats)
72 for fmt in formats:
89 #include "formats.h"
94 * For non-sRGB formats, return the format as-is.
162 formats = list(format_parser.parse(pargs.csv))
165 'unorm_to_srgb_map': list(get_unorm_to_srgb_map(formats)),
166 'rgbx_to_rgba_map': list(get_rgbx_to_rgba_map(formats)),