| /xsrc/external/mit/MesaLib/src/intel/isl/ |
| H A D | isl_format_layout.c | 626 .colorspace = ISL_COLORSPACE_LINEAR, 646 .colorspace = ISL_COLORSPACE_LINEAR, 666 .colorspace = ISL_COLORSPACE_LINEAR, 686 .colorspace = ISL_COLORSPACE_LINEAR, 706 .colorspace = ISL_COLORSPACE_LINEAR, 726 .colorspace = ISL_COLORSPACE_LINEAR, 746 .colorspace = ISL_COLORSPACE_LINEAR, 766 .colorspace = ISL_COLORSPACE_LINEAR, 786 .colorspace = ISL_COLORSPACE_LINEAR, 806 .colorspace [all...] |
| /xsrc/external/mit/MesaLib.old/src/intel/ |
| H A D | isl_format_layout.c | 46 .colorspace = ISL_COLORSPACE_LINEAR, 66 .colorspace = ISL_COLORSPACE_LINEAR, 86 .colorspace = ISL_COLORSPACE_LINEAR, 106 .colorspace = ISL_COLORSPACE_LINEAR, 126 .colorspace = ISL_COLORSPACE_LINEAR, 146 .colorspace = ISL_COLORSPACE_LINEAR, 166 .colorspace = ISL_COLORSPACE_LINEAR, 186 .colorspace = ISL_COLORSPACE_LINEAR, 206 .colorspace = ISL_COLORSPACE_LINEAR, 226 .colorspace [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/format/ |
| H A D | u_format_table.py | 41 def colorspace_map(colorspace): 42 return 'UTIL_FORMAT_COLORSPACE_' + str(colorspace).upper() 167 comment = colorspace_channels_map[format.colorspace][i] 217 print(" %s," % (colorspace_map(format.colorspace),)) 234 if format.colorspace != ZS and not format.is_pure_color(): 264 if format.colorspace != ZS and not format.is_pure_color(): 298 if format.colorspace != ZS and has_access(format):
|
| H A D | u_format_parse.py | 117 def __init__(self, name, layout, block_width, block_height, block_depth, le_channels, le_swizzles, be_channels, be_swizzles, colorspace): 123 self.colorspace = colorspace 297 if self.layout != PLAIN or self.colorspace == ZS: 324 return self.colorspace == ZS and self.has_channel(0) 327 return self.colorspace == ZS and self.has_channel(1) 353 def _parse_channels(fields, layout, colorspace, swizzles): 356 if colorspace in (RGB, SRGB): 361 elif colorspace == ZS: 425 colorspace [all...] |
| H A D | u_format.c | 124 return (desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 125 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 136 return (desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 137 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 148 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 149 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 165 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 166 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 286 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 287 desc->colorspace [all...] |
| H A D | u_format.h | 235 * depending on the colorspace. 242 enum util_format_colorspace colorspace; member in struct:util_format_description 541 return desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB; 547 return desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && 554 return desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && 617 return desc->colorspace == UTIL_FORMAT_COLORSPACE_YUV; 627 if (desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && 686 switch (desc->colorspace) { 941 enum util_format_colorspace colorspace, 955 if (colorspace 940 util_format_get_component_bits(enum pipe_format format,enum util_format_colorspace colorspace,uint component) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| H A D | vk_format.h | 195 vk_format_get_component_bits(VkFormat format, enum util_format_colorspace colorspace, argument 209 if (colorspace == UTIL_FORMAT_COLORSPACE_SRGB) { 210 colorspace = UTIL_FORMAT_COLORSPACE_RGB; 212 if (desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) { 215 desc_colorspace = desc->colorspace; 218 if (desc_colorspace != colorspace) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/ |
| H A D | vk_format.h | 139 enum vk_format_colorspace colorspace; member in struct:vk_format_description 361 return desc->colorspace == VK_FORMAT_COLORSPACE_ZS && 368 return desc->colorspace == VK_FORMAT_COLORSPACE_ZS && 422 return (desc->colorspace == VK_FORMAT_COLORSPACE_RGB || 423 desc->colorspace == VK_FORMAT_COLORSPACE_SRGB) && 455 return desc->colorspace == VK_FORMAT_COLORSPACE_SRGB; 506 enum vk_format_colorspace colorspace, 520 if (colorspace == VK_FORMAT_COLORSPACE_SRGB) { 521 colorspace = VK_FORMAT_COLORSPACE_RGB; 523 if (desc->colorspace 505 vk_format_get_component_bits(VkFormat format,enum vk_format_colorspace colorspace,unsigned component) argument [all...] |
| H A D | vk_format_table.py | 41 def colorspace_map(colorspace): 42 return 'VK_FORMAT_COLORSPACE_' + str(colorspace).upper() 122 comment = colorspace_channels_map[format.colorspace][i] 142 print(" %s," % (colorspace_map(format.colorspace),))
|
| H A D | vk_format_parse.py | 115 def __init__(self, name, layout, block_width, block_height, le_channels, le_swizzles, be_channels, be_swizzles, colorspace): 125 self.colorspace = colorspace 224 if self.layout != PLAIN or self.colorspace == ZS: 251 return self.colorspace == ZS and self.has_channel(0) 254 return self.colorspace == ZS and self.has_channel(1) 279 def _parse_channels(fields, layout, colorspace, swizzles): 282 if colorspace in (RGB, SRGB): 287 elif colorspace == ZS: 363 colorspace [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| H A D | vk_format_table.py | 41 def colorspace_map(colorspace): 42 return 'VK_FORMAT_COLORSPACE_' + str(colorspace).upper() 122 comment = colorspace_channels_map[format.colorspace][i] 142 print(" %s," % (colorspace_map(format.colorspace),))
|
| H A D | vk_format.h | 140 enum vk_format_colorspace colorspace; member in struct:vk_format_description 354 return desc->colorspace == VK_FORMAT_COLORSPACE_ZS && 361 return desc->colorspace == VK_FORMAT_COLORSPACE_ZS && 439 return desc->colorspace == VK_FORMAT_COLORSPACE_SRGB; 490 enum vk_format_colorspace colorspace, 504 if (colorspace == VK_FORMAT_COLORSPACE_SRGB) { 505 colorspace = VK_FORMAT_COLORSPACE_RGB; 507 if (desc->colorspace == VK_FORMAT_COLORSPACE_SRGB) { 510 desc_colorspace = desc->colorspace; 513 if (desc_colorspace != colorspace) { 489 vk_format_get_component_bits(VkFormat format,enum vk_format_colorspace colorspace,unsigned component) argument [all...] |
| H A D | vk_format_parse.py | 116 def __init__(self, name, layout, block_width, block_height, le_channels, le_swizzles, be_channels, be_swizzles, colorspace, width_divisor, height_divisor, plane_formats): 126 self.colorspace = colorspace 232 if self.layout != PLAIN or self.colorspace == ZS: 259 return self.colorspace == ZS and self.has_channel(0) 262 return self.colorspace == ZS and self.has_channel(1) 287 def _parse_channels(fields, layout, colorspace, swizzles): 290 if colorspace in (RGB, SRGB): 295 elif colorspace == ZS: 380 colorspace [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/ |
| H A D | vk_format.h | 121 enum util_format_colorspace colorspace, 136 colorspace, component); 120 vk_format_get_component_bits(VkFormat format,enum util_format_colorspace colorspace,unsigned component) argument
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_format_table.py | 43 def colorspace_map(colorspace): 44 return 'UTIL_FORMAT_COLORSPACE_' + str(colorspace).upper() 121 comment = colorspace_channels_map[format.colorspace][i] 143 print(" %s," % (colorspace_map(format.colorspace),)) 149 if format.colorspace != ZS and not format.is_pure_color() and access:
|
| H A D | u_format_parse.py | 115 def __init__(self, name, layout, block_width, block_height, le_channels, le_swizzles, be_channels, be_swizzles, colorspace): 125 self.colorspace = colorspace 240 if self.layout != PLAIN or self.colorspace == ZS: 267 return self.colorspace == ZS and self.has_channel(0) 270 return self.colorspace == ZS and self.has_channel(1) 295 def _parse_channels(fields, layout, colorspace, swizzles): 298 if colorspace in (RGB, SRGB): 303 elif colorspace == ZS: 368 colorspace [all...] |
| H A D | u_format.h | 231 * depending on the colorspace. 238 enum util_format_colorspace colorspace; member in struct:util_format_description 531 return desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB; 537 return desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && 544 return desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && 607 return desc->colorspace == UTIL_FORMAT_COLORSPACE_YUV; 617 if (desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && 676 switch (desc->colorspace) { 893 enum util_format_colorspace colorspace, 907 if (colorspace 892 util_format_get_component_bits(enum pipe_format format,enum util_format_colorspace colorspace,uint component) argument [all...] |
| H A D | u_format.c | 71 return (desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 72 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 83 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 84 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 100 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 101 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 198 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 199 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 216 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 217 desc->colorspace [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/isl/ |
| H A D | gen_format_layout.py | 84 .colorspace = ISL_COLORSPACE_${format.colorspace}, 182 # alpha doesn't have a colorspace of it's own. 183 self.colorspace = line[13].strip().upper() 184 if self.colorspace in ['']: 185 self.colorspace = 'NONE' 210 if fmt.colorspace != 'SRGB':
|
| /xsrc/external/mit/MesaLib/dist/src/intel/isl/ |
| H A D | gen_format_layout.py | 91 .colorspace = ISL_COLORSPACE_${format.colorspace}, 210 # alpha doesn't have a colorspace of it's own. 211 self.colorspace = line[13].strip().upper() 212 if self.colorspace in ['']: 213 self.colorspace = 'NONE' 249 if fmt.colorspace != 'SRGB':
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | format_parser.py | 235 def __init__(self, name, layout, block_width, block_height, block_depth, channels, swizzle, colorspace): 252 colorspace -- one of 'rgb', 'srgb', 'yuv', or 'zs' 263 assert colorspace in (RGB, SRGB, YUV, ZS) 264 self.colorspace = colorspace 268 if self.colorspace in (RGB, SRGB): 272 elif colorspace == ZS: 521 def _parse_channels(fields, layout, colorspace, swizzle): 566 colorspace = fields[10] 572 channels = _parse_channels(fields[5:9], layout, colorspace, swizzl [all...] |
| H A D | format_fallback.py | 45 if fmt.colorspace != 'srgb':
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | format_parser.py | 235 def __init__(self, name, layout, block_width, block_height, block_depth, channels, swizzle, colorspace): 252 colorspace -- one of 'rgb', 'srgb', 'yuv', or 'zs' 263 assert colorspace in (RGB, SRGB, YUV, ZS) 264 self.colorspace = colorspace 268 if self.colorspace in (RGB, SRGB): 272 elif colorspace == ZS: 566 colorspace = fields[10] 575 yield Format(name, layout, block_width, block_height, block_depth, channels, swizzle, colorspace)
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| H A D | pan_afbc.c | 171 return desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_format_soa.c | 85 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) { 325 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB && 429 (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 430 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB || 431 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) && 472 (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB) && 704 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && 780 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) {
|