| /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/ |
| H A D | vk_format_info.h | 30 #include "util/format/u_format.h" 35 vk_format_is_int(VkFormat format) argument 37 return util_format_is_pure_integer(vk_format_to_pipe_format(format)); 41 vk_format_is_sint(VkFormat format) argument 43 return util_format_is_pure_sint(vk_format_to_pipe_format(format)); 47 vk_format_is_uint(VkFormat format) argument 49 return util_format_is_pure_uint(vk_format_to_pipe_format(format)); 53 vk_format_is_unorm(VkFormat format) argument 55 return util_format_is_unorm(vk_format_to_pipe_format(format)); 59 vk_format_is_snorm(VkFormat format) argument 65 vk_format_is_float(VkFormat format) argument 71 vk_format_is_srgb(VkFormat format) argument 77 vk_format_get_blocksize(VkFormat format) argument 83 vk_format_get_blockwidth(VkFormat format) argument 89 vk_format_get_blockheight(VkFormat format) argument 95 vk_format_is_compressed(VkFormat format) argument 101 vk_format_description(VkFormat format) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/ |
| H A D | vk_format.h | 32 #include <util/format/u_format.h> 38 vk_format_description(VkFormat format) argument 40 return util_format_description(vk_format_to_pipe_format(format)); 44 * Return bytes per block (not pixel) for the given format. 47 vk_format_get_blocksize(VkFormat format) argument 49 return util_format_get_blocksize(vk_format_to_pipe_format(format)); 53 vk_format_get_blockwidth(VkFormat format) argument 55 return util_format_get_blockwidth(vk_format_to_pipe_format(format)); 59 vk_format_get_blockheight(VkFormat format) argument 61 return util_format_get_blockheight(vk_format_to_pipe_format(format)); 65 vk_format_is_compressed(VkFormat format) argument 72 vk_format_has_alpha(VkFormat format) argument 78 vk_format_is_int(VkFormat format) argument 84 vk_format_is_uint(VkFormat format) argument 90 vk_format_is_sint(VkFormat format) argument 96 vk_format_is_srgb(VkFormat format) argument 102 vk_format_is_unorm(VkFormat format) argument 108 vk_format_is_snorm(VkFormat format) argument 114 vk_format_is_float(VkFormat format) argument 120 vk_format_get_component_bits(VkFormat format,enum util_format_colorspace colorspace,unsigned component) argument 140 vk_format_get_nr_components(VkFormat format) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/tests/format/ |
| H A D | srgb.c | 5 #include "util/format/u_format.h" 10 for (enum pipe_format format = 0; format < PIPE_FORMAT_COUNT; format++) local in function:main 12 if (!util_format_is_srgb(format)) { 13 const enum pipe_format linear = util_format_linear(format); 14 if (format != linear) { 16 util_format_name(format), 23 const enum pipe_format linear = util_format_linear(format); 24 if (format [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_format.h | 33 enum a3xx_vtx_fmt fd3_pipe2vtx(enum pipe_format format); 34 enum a3xx_tex_fmt fd3_pipe2tex(enum pipe_format format); 35 enum a3xx_tex_fetchsize fd3_pipe2fetchsize(enum pipe_format format); 36 enum a3xx_color_fmt fd3_pipe2color(enum pipe_format format); 37 enum a3xx_color_fmt fd3_fs_output_format(enum pipe_format format); 38 enum a3xx_color_swap fd3_pipe2swap(enum pipe_format format); 39 unsigned fd3_pipe2nblocksx(enum pipe_format format, unsigned width); 41 uint32_t fd3_tex_swiz(enum pipe_format format, unsigned swizzle_r,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_format.h | 28 #include "util/format/u_format.h" 33 enum a3xx_vtx_fmt fd3_pipe2vtx(enum pipe_format format); 34 enum a3xx_tex_fmt fd3_pipe2tex(enum pipe_format format); 35 enum a3xx_color_fmt fd3_pipe2color(enum pipe_format format); 36 enum a3xx_color_fmt fd3_fs_output_format(enum pipe_format format); 37 enum a3xx_color_swap fd3_pipe2swap(enum pipe_format format); 39 uint32_t fd3_tex_swiz(enum pipe_format format, unsigned swizzle_r,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/ |
| H A D | fd4_format.h | 34 enum a4xx_vtx_fmt fd4_pipe2vtx(enum pipe_format format); 35 enum a4xx_tex_fmt fd4_pipe2tex(enum pipe_format format); 36 enum a4xx_color_fmt fd4_pipe2color(enum pipe_format format); 37 enum a3xx_color_swap fd4_pipe2swap(enum pipe_format format); 38 enum a4xx_depth_format fd4_pipe2depth(enum pipe_format format); 40 uint32_t fd4_tex_swiz(enum pipe_format format, unsigned swizzle_r,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_format.h | 34 enum a5xx_vtx_fmt fd5_pipe2vtx(enum pipe_format format); 35 enum a5xx_tex_fmt fd5_pipe2tex(enum pipe_format format); 36 enum a5xx_color_fmt fd5_pipe2color(enum pipe_format format); 37 enum a3xx_color_swap fd5_pipe2swap(enum pipe_format format); 38 enum a5xx_depth_format fd5_pipe2depth(enum pipe_format format); 40 uint32_t fd5_tex_swiz(enum pipe_format format, unsigned swizzle_r,
|
| /xsrc/external/mit/MesaLib/dist/src/vulkan/util/ |
| H A D | vk_format.h | 29 #include "util/format/u_format.h" 39 vk_format_aspects(VkFormat format); 42 vk_format_is_color(VkFormat format) argument 44 return vk_format_aspects(format) == VK_IMAGE_ASPECT_COLOR_BIT; 48 vk_format_is_depth_or_stencil(VkFormat format) argument 50 const VkImageAspectFlags aspects = vk_format_aspects(format); 55 vk_format_has_depth(VkFormat format) argument 57 const VkImageAspectFlags aspects = vk_format_aspects(format); 62 vk_format_has_stencil(VkFormat format) argument 64 const VkImageAspectFlags aspects = vk_format_aspects(format); 69 vk_format_depth_only(VkFormat format) argument 85 vk_format_stencil_only(VkFormat format) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_format_table.py | 121 comment = colorspace_channels_map[format.colorspace][i] 127 for format in formats: 129 print('util_format_%s_description = {' % (format.short_name(),)) 130 print(" %s," % (format.name,)) 131 print(" \"%s\"," % (format.name,)) 132 print(" \"%s\"," % (format.short_name(),)) 133 print(" {%u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.block_size())) 134 print(" %s," % (layout_map(format [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/format/ |
| H A D | u_format_table.py | 79 def has_access(format): 114 if format.short_name() in noaccess_formats: 116 if format.layout in ('astc', 'atc'): 118 if format.layout == 'etc' and format.short_name() != 'etc1_rgb8': 128 print('#include "util/format/u_format.h"', file=file) 167 comment = colorspace_channels_map[format.colorspace][i] 178 print("util_format_%sdescription%s(enum pipe_format format)" % (type, suffix)) 180 print(" if (format >= ARRAY_SIZE(util_format_%sdescriptions))" % (type)) 183 print(" return &util_format_%sdescriptions[format];" [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/ |
| H A D | fd4_format.h | 34 enum a4xx_vtx_fmt fd4_pipe2vtx(enum pipe_format format); 35 enum a4xx_tex_fmt fd4_pipe2tex(enum pipe_format format); 36 enum a4xx_color_fmt fd4_pipe2color(enum pipe_format format); 37 enum a3xx_color_swap fd4_pipe2swap(enum pipe_format format); 38 enum a4xx_tex_fetchsize fd4_pipe2fetchsize(enum pipe_format format); 39 enum a4xx_depth_format fd4_pipe2depth(enum pipe_format format); 41 uint32_t fd4_tex_swiz(enum pipe_format format, unsigned swizzle_r,
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_format.h | 34 enum a5xx_vtx_fmt fd5_pipe2vtx(enum pipe_format format); 35 enum a5xx_tex_fmt fd5_pipe2tex(enum pipe_format format); 36 enum a5xx_color_fmt fd5_pipe2color(enum pipe_format format); 37 enum a3xx_color_swap fd5_pipe2swap(enum pipe_format format); 38 enum a5xx_tex_fetchsize fd5_pipe2fetchsize(enum pipe_format format); 39 enum a5xx_depth_format fd5_pipe2depth(enum pipe_format format); 41 uint32_t fd5_tex_swiz(enum pipe_format format, unsigned swizzle_r,
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/rnn/ |
| H A D | aprintf.c | 28 char *aprintf(const char *format, ...) { argument 30 va_start(va, format); 31 size_t sz = vsnprintf(0, 0, format, va); 34 va_start(va, format); 35 vsnprintf(res, sz + 1, format, va);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| H A D | vk_format.h | 36 vk_format_description(VkFormat format) argument 38 return util_format_description(vk_format_to_pipe_format(format)); 42 * Return total bits needed for the pixel format per block. 45 vk_format_get_blocksizebits(VkFormat format) argument 47 return util_format_get_blocksizebits(vk_format_to_pipe_format(format)); 51 * Return bytes per block (not pixel) for the given format. 54 vk_format_get_blocksize(VkFormat format) argument 56 return util_format_get_blocksize(vk_format_to_pipe_format(format)); 60 vk_format_get_blockwidth(VkFormat format) argument 62 return util_format_get_blockwidth(vk_format_to_pipe_format(format)); 66 vk_format_get_blockheight(VkFormat format) argument 76 vk_format_get_first_non_void_channel(VkFormat format) argument 113 vk_format_is_compressed(VkFormat format) argument 119 vk_format_is_subsampled(VkFormat format) argument 125 vk_format_is_int(VkFormat format) argument 131 vk_format_is_uint(VkFormat format) argument 137 vk_format_is_sint(VkFormat format) argument 143 vk_format_is_unorm(VkFormat format) argument 149 vk_format_is_srgb(VkFormat format) argument 155 vk_format_no_srgb(VkFormat format) argument 195 vk_format_get_component_bits(VkFormat format,enum util_format_colorspace colorspace,unsigned component) argument 237 vk_to_non_srgb_format(VkFormat format) argument 260 vk_format_get_nr_components(VkFormat format) argument 266 vk_format_get_plane_count(VkFormat format) argument 272 vk_format_get_plane_width(VkFormat format,unsigned plane,unsigned width) argument 278 vk_format_get_plane_height(VkFormat format,unsigned plane,unsigned height) argument 284 vk_format_get_plane_format(VkFormat format,unsigned plane_id) argument [all...] |
| H A D | radv_util.c | 38 void radv_printflike(1, 2) radv_loge(const char *format, ...) argument 42 va_start(va, format); 43 radv_loge_v(format, va); 49 radv_loge_v(const char *format, va_list va) argument 52 vfprintf(stderr, format, va); 57 void radv_printflike(1, 2) radv_logi(const char *format, ...) argument 61 va_start(va, format); 62 radv_logi_v(format, va); 68 radv_logi_v(const char *format, va_list va) argument 71 vfprintf(stderr, format, v [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| H A D | vk_format_table.py | 79 def print_channels(format, func): 80 if format.nr_channels() <= 1: 81 func(format.le_channels, format.le_swizzles) 84 func(format.be_channels, format.be_swizzles) 86 func(format.le_channels, format.le_swizzles) 122 comment = colorspace_channels_map[format.colorspace][i] 128 for format i [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/ |
| H A D | zink_format.h | 33 zink_decompose_vertex_format(enum pipe_format format); 36 zink_pipe_format_to_vk_format(enum pipe_format format); 39 zink_format_is_voidable_rgba_variant(enum pipe_format format);
|
| /xsrc/external/mit/xorg-server/dist/hw/xwin/winclipboard/ |
| H A D | debug.c | 31 winDebug(const char *format, ...) argument 35 va_start(ap, format); 37 count += vfprintf(stderr, format, ap); 44 ErrorF(const char *format, ...) argument 48 va_start(ap, format); 49 count = vfprintf(stderr, format, ap);
|
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/ |
| H A D | tu_util.c | 39 void tu_printflike(1, 2) tu_loge(const char *format, ...) argument 43 va_start(va, format); 44 tu_loge_v(format, va); 50 tu_loge_v(const char *format, va_list va) argument 53 vfprintf(stderr, format, va); 58 void tu_printflike(1, 2) tu_logi(const char *format, ...) argument 62 va_start(va, format); 63 tu_logi_v(format, va); 69 tu_logi_v(const char *format, va_list va) argument 72 vfprintf(stderr, format, v 77 __tu_finishme(const char * file,int line,const char * format,...) argument 90 __vk_errorf(struct tu_instance * instance,VkResult error,const char * file,int line,const char * format,...) argument [all...] |
| H A D | vk_format_table.py | 79 def print_channels(format, func): 80 if format.nr_channels() <= 1: 81 func(format.le_channels, format.le_swizzles) 84 func(format.be_channels, format.be_swizzles) 86 func(format.le_channels, format.le_swizzles) 122 comment = colorspace_channels_map[format.colorspace][i] 128 for format i [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/ |
| H A D | pan_pretty_print.h | 29 char *pandecode_format_name(enum mali_format format);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| H A D | svga_format.h | 41 * Vertex format flags. These are used to specify that some vertex formats 56 * Texture format flags. 65 svga_translate_vertex_format_vgpu10(enum pipe_format format, 70 svga_translate_texture_buffer_view_format(enum pipe_format format, 76 enum pipe_format format, 81 SVGA3dSurfaceFormat format, 85 svga_format_size(SVGA3dSurfaceFormat format, 91 svga_format_name(SVGA3dSurfaceFormat format); 94 svga_format_is_integer(SVGA3dSurfaceFormat format); 97 svga_format_support_gen_mips(enum pipe_format format); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| H A D | svga_format.h | 41 * Vertex format flags. These are used to specify that some vertex formats 56 * Texture format flags. 65 svga_translate_vertex_format_vgpu10(enum pipe_format format, 70 svga_translate_texture_buffer_view_format(enum pipe_format format, 76 enum pipe_format format, 81 SVGA3dSurfaceFormat format, 85 svga_format_size(SVGA3dSurfaceFormat format, 91 svga_format_name(SVGA3dSurfaceFormat format); 94 svga_format_is_integer(SVGA3dSurfaceFormat format); 97 svga_format_support_gen_mips(enum pipe_format format); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/fdl/ |
| H A D | fd6_format_table.h | 31 #include "util/format/u_format.h" 38 enum a6xx_depth_format fd6_pipe2depth(enum pipe_format format); 40 enum a6xx_format fd6_vertex_format(enum pipe_format format) ATTRIBUTE_CONST; 41 enum a3xx_color_swap fd6_vertex_swap(enum pipe_format format) ATTRIBUTE_CONST; 42 enum a6xx_format fd6_texture_format(enum pipe_format format, 44 enum a3xx_color_swap fd6_texture_swap(enum pipe_format format, 46 enum a6xx_format fd6_color_format(enum pipe_format format, 48 enum a3xx_color_swap fd6_color_swap(enum pipe_format format,
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xwin/ |
| H A D | winmsg.h | 38 MessageType type, int verb, const char *format, ...); 39 void winDrvMsg (int scrnIndex, MessageType type, const char *format, ...); 40 void winMsgVerb (MessageType type, int verb, const char *format, ...); 41 void winMsg (MessageType type, const char *format, ...); 42 void winDebug (const char *format, ...); 43 void winTrace (const char *format, ...); 45 void winErrorFVerb (int verb, const char *format, ...);
|