Home
last modified time | relevance | path

Searched refs:UTIL_FORMAT_COLORSPACE_RGB (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_pixelformat.c144 …assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 0) == color->bits… in stw_pixelformat_add()
145 …assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 1) == color->bits… in stw_pixelformat_add()
146 …assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 2) == color->bits… in stw_pixelformat_add()
147 …assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 3) == color->bits… in stw_pixelformat_add()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_manager.c533 UTIL_FORMAT_COLORSPACE_RGB, 0); in st_visual_to_context_mode()
536 UTIL_FORMAT_COLORSPACE_RGB, 1); in st_visual_to_context_mode()
539 UTIL_FORMAT_COLORSPACE_RGB, 2); in st_visual_to_context_mode()
542 UTIL_FORMAT_COLORSPACE_RGB, 3); in st_visual_to_context_mode()
561 UTIL_FORMAT_COLORSPACE_RGB, 0); in st_visual_to_context_mode()
564 UTIL_FORMAT_COLORSPACE_RGB, 1); in st_visual_to_context_mode()
567 UTIL_FORMAT_COLORSPACE_RGB, 2); in st_visual_to_context_mode()
570 UTIL_FORMAT_COLORSPACE_RGB, 3); in st_visual_to_context_mode()
Dst_cb_eglimage.c280 UTIL_FORMAT_COLORSPACE_RGB, 3) > 0) in st_bind_egl_image()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_resource.c139 sb = util_format_get_component_bits(rsc->b.b.format, UTIL_FORMAT_COLORSPACE_RGB, i); in valid_format_cast()
140 db = util_format_get_component_bits(format, UTIL_FORMAT_COLORSPACE_RGB, i); in valid_format_cast()
/third_party/mesa3d/src/panfrost/lib/
Dpan_afbc.c147 return desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB; in panfrost_afbc_can_ytr()
/third_party/mesa3d/src/imagination/vulkan/
Dvk_format.h47 return (desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in vk_format_is_alpha_on_msb()
/third_party/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c182 || output_format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB in main()
210 || input_format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB in main()
/third_party/mesa3d/src/util/format/
Du_format.c119 return (desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_has_alpha()
131 return (desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_has_alpha1()
143 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_is_luminance()
160 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_is_alpha()
289 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_is_luminance_alpha()
307 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_is_intensity()
Du_format.h132 UTIL_FORMAT_COLORSPACE_RGB = 0, enumerator
689 case UTIL_FORMAT_COLORSPACE_RGB: in util_format_colormask()
958 colorspace = UTIL_FORMAT_COLORSPACE_RGB; in util_format_get_component_bits()
961 desc_colorspace = UTIL_FORMAT_COLORSPACE_RGB; in util_format_get_component_bits()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_aos.c112 desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB || in format_matches_type()
534 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB && in lp_build_fetch_rgba_aos()
610 (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in lp_build_fetch_rgba_aos()
698 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB) { in lp_build_fetch_rgba_aos()
Dlp_bld_format_soa.c431 (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in lp_build_fetch_rgba_soa()
474 (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB) && in lp_build_fetch_rgba_soa()
1028 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB && in lp_build_store_rgba_soa()
1040 (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB) && in lp_build_store_rgba_soa()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_translate.h291 util_format_get_component_bits(fmt, UTIL_FORMAT_COLORSPACE_RGB, 0); in translate_output_mode()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_util.h289 util_format_get_component_bits(format, UTIL_FORMAT_COLORSPACE_RGB, 0) == in fd_surface_half_precision()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_clear.c156 format, UTIL_FORMAT_COLORSPACE_RGB, i); in convert_fast_clear_color()
165 format, UTIL_FORMAT_COLORSPACE_RGB, i); in convert_fast_clear_color()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c288 vk_format_get_component_bits(first_format, UTIL_FORMAT_COLORSPACE_RGB, PIPE_SWIZZLE_X); in try_lower_tex_ycbcr()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c534 uint8_t bits = util_format_get_component_bits(format, UTIL_FORMAT_COLORSPACE_RGB, i); in util_clamp_color()
Du_pack_color.h343 if (util_format_get_component_bits(format, UTIL_FORMAT_COLORSPACE_RGB, 0) <= 8) { in util_pack_color()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_logic_ops.c247 UTIL_FORMAT_COLORSPACE_RGB, i); in v3d_emit_logic_op_raw()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_formats.c231 desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB && in buffer_format_features()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_screen.c693 else if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB) in llvmpipe_is_format_supported()
/third_party/mesa3d/src/gallium/frontends/vdpau/
Doutput.c382 index_format, UTIL_FORMAT_COLORSPACE_RGB, 0); in vlVdpOutputSurfacePutBitsIndexed()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c502 UTIL_FORMAT_COLORSPACE_RGB, in lower_tex_ycbcr()
Dtu_clear_blit.c50 switch (util_format_get_component_bits(format, UTIL_FORMAT_COLORSPACE_RGB, PIPE_SWIZZLE_X)) { in format_to_ifmt()
2632 switch (util_format_get_component_bits(format, UTIL_FORMAT_COLORSPACE_RGB, PIPE_SWIZZLE_X)) { in pack_gmem_clear_value()
2637 if (util_format_get_component_bits(format, UTIL_FORMAT_COLORSPACE_RGB, PIPE_SWIZZLE_Y) == 6) in pack_gmem_clear_value()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_copy.c362 util_format_get_component_bits(dstfmt, UTIL_FORMAT_COLORSPACE_RGB, 0); in panvk_meta_copy_img2img_shader()
797 util_format_get_component_bits(imgfmt, UTIL_FORMAT_COLORSPACE_RGB, 0); in panvk_meta_copy_buf_texelsize()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c786 format, UTIL_FORMAT_COLORSPACE_RGB, 0) < 8) { in fd3_emit_state()

12