Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/osmesa/
Dosmesa.c326 enum pipe_format color_format, in osmesa_init_st_visual() argument
337 vis->color_format = color_format; in osmesa_init_st_visual()
395 bpp = util_format_get_blocksize(osbuffer->visual.color_format); in osmesa_st_framebuffer_flush_front()
451 format = osbuffer->visual.color_format; in osmesa_st_framebuffer_validate()
498 osmesa_create_buffer(enum pipe_format color_format, in osmesa_create_buffer() argument
509 osmesa_init_st_visual(&osbuffer->visual, color_format, in osmesa_create_buffer()
763 enum pipe_format color_format; in OSMesaMakeCurrent() local
774 color_format = osmesa_choose_format(osmesa->format, type); in OSMesaMakeCurrent()
775 if (color_format == PIPE_FORMAT_NONE) { in OSMesaMakeCurrent()
782 (osmesa->current_buffer->visual.color_format != color_format || in OSMesaMakeCurrent()
[all …]
/third_party/ffmpeg/libavcodec/
Dmediacodecdec_common.c181 int color_format; member
198 int color_format) in mcdec_map_color_format() argument
207 if (!strcmp(s->codec_name, "OMX.k3.video.decoder.avc") && color_format == COLOR_FormatYCbYCr) { in mcdec_map_color_format()
208 s->color_format = color_format = COLOR_TI_FormatYUV420PackedSemiPlanar; in mcdec_map_color_format()
212 if (color_formats[i].color_format == color_format) { in mcdec_map_color_format()
218 color_format, color_format); in mcdec_map_color_format()
394 switch (s->color_format) { in mediacodec_wrap_sw_buffer()
412 s->color_format, s->color_format); in mediacodec_wrap_sw_buffer()
478 AMEDIAFORMAT_GET_INT32(s->color_format, "color-format", 1); in mediacodec_dec_parse_format()
479 avctx->pix_fmt = mcdec_map_color_format(avctx, s, s->color_format); in mediacodec_dec_parse_format()
Dmediacodecdec_common.h59 int color_format; member
Domx.c202 OMX_COLOR_FORMATTYPE color_format; member
449 s->color_format = 0; in omx_component_init()
458 s->color_format = video_port_format.eColorFormat; in omx_component_init()
462 if (s->color_format == 0) { in omx_component_init()
473 in_port_params.format.video.eColorFormat = s->color_format; in omx_component_init()
/third_party/mesa3d/src/freedreno/fdl/
Dfd6_view.c363 enum a6xx_format color_format = in fdl6_view_init() local
369 if (color_format == FMT6_NONE) in fdl6_view_init()
376 color_format = FMT6_Z24_UNORM_S8_UINT_AS_R8G8B8A8; in fdl6_view_init()
378 if (color_format == FMT6_Z24_UNORM_S8_UINT_AS_R8G8B8A8 && !ubwc_enabled) in fdl6_view_init()
379 color_format = FMT6_8_8_8_8_UNORM; in fdl6_view_init()
407 A6XX_RB_MRT_BUF_INFO_COLOR_FORMAT(color_format) | in fdl6_view_init()
411 A6XX_SP_FS_MRT_REG_COLOR_FORMAT(color_format) | in fdl6_view_init()
416 A6XX_RB_2D_DST_INFO_COLOR_FORMAT(color_format) | in fdl6_view_init()
425 A6XX_RB_BLIT_DST_INFO_COLOR_FORMAT(color_format) | in fdl6_view_init()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_screen.c609 stvis->color_format = PIPE_FORMAT_R16G16B16A16_FLOAT; in dri_fill_st_visual()
611 stvis->color_format = PIPE_FORMAT_R16G16B16X16_FLOAT; in dri_fill_st_visual()
618 stvis->color_format = PIPE_FORMAT_B10G10R10A2_UNORM; in dri_fill_st_visual()
620 stvis->color_format = PIPE_FORMAT_B10G10R10X2_UNORM; in dri_fill_st_visual()
627 stvis->color_format = PIPE_FORMAT_R10G10B10A2_UNORM; in dri_fill_st_visual()
629 stvis->color_format = PIPE_FORMAT_R10G10B10X2_UNORM; in dri_fill_st_visual()
636 stvis->color_format = mode->sRGBCapable ? in dri_fill_st_visual()
640 stvis->color_format = mode->sRGBCapable ? in dri_fill_st_visual()
649 stvis->color_format = mode->sRGBCapable ? in dri_fill_st_visual()
653 stvis->color_format = mode->sRGBCapable ? in dri_fill_st_visual()
[all …]
Ddri_drawable.c329 *format = util_format_linear(drawable->stvis.color_format); in dri_drawable_get_format()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c303 enum pipe_format color_format = c->fs_key->color_format; in vc4_do_blending_i() local
304 const uint8_t *format_swiz = vc4_get_format_swizzle(color_format); in vc4_do_blending_i()
419 enum pipe_format color_format = c->fs_key->color_format; in vc4_nir_swizzle_and_pack() local
420 const uint8_t *format_swiz = vc4_get_format_swizzle(color_format); in vc4_nir_swizzle_and_pack()
439 enum pipe_format color_format = c->fs_key->color_format; in vc4_nir_blend_pipeline() local
440 const uint8_t *format_swiz = vc4_get_format_swizzle(color_format); in vc4_nir_blend_pipeline()
441 bool srgb = util_format_is_srgb(color_format); in vc4_nir_blend_pipeline()
Dvc4_qir.h325 enum pipe_format color_format; member
Dvc4_program.c2715 key->color_format = vc4->framebuffer.cbufs[0]->format; in vc4_update_compiled_fs()
/third_party/mesa3d/src/gallium/frontends/hgl/
Dhgl.c119 format = buffer->visual->color_format; in hgl_st_framebuffer_validate_textures()
297 visual->color_format = PIPE_FORMAT_B5G6R5_UNORM; in hgl_create_st_visual()
302 visual->color_format = (options & BGL_ALPHA) in hgl_create_st_visual()
331 util_format_name(visual->color_format)); in hgl_create_st_visual()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_manager.c478 format = stfb->iface->visual->color_format; in st_framebuffer_add_renderbuffer()
530 if (visual->color_format != PIPE_FORMAT_NONE) { in st_visual_to_context_mode()
532 util_format_get_component_bits(visual->color_format, in st_visual_to_context_mode()
535 util_format_get_component_bits(visual->color_format, in st_visual_to_context_mode()
538 util_format_get_component_bits(visual->color_format, in st_visual_to_context_mode()
541 util_format_get_component_bits(visual->color_format, in st_visual_to_context_mode()
546 mode->sRGBCapable = util_format_is_srgb(visual->color_format); in st_visual_to_context_mode()
622 util_format_srgb(stfbi->visual->color_format); in st_framebuffer_create()
1072 if (attribs->visual.color_format == PIPE_FORMAT_NONE) in st_api_create_context()
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_st.c184 templ.format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()
204 format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()
289 templ.format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()
Dstw_ext_pixelformat.c162 if (util_format_is_float(pfi->stvis.color_format)) { in stw_query_attrib()
Dstw_pixelformat.c211 pfi->stvis.color_format = color->format; in stw_pixelformat_add()
/third_party/openh264/codec/decoder/plus/inc/
DwelsDecoderExt.h107 int& color_format);
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_api.c873 v->stvis.color_format = choose_pixel_format(v); in XMesaCreateVisual()
877 v->stvis.color_format, in XMesaCreateVisual()
881 v->stvis.color_format = PIPE_FORMAT_NONE; in XMesaCreateVisual()
883 if (v->stvis.color_format == PIPE_FORMAT_NONE) { in XMesaCreateVisual()
Dxm_st.c161 format = xstfb->stvis.color_format; in xmesa_st_framebuffer_validate_textures()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_clear_blit.c251 enum a6xx_format color_format = fmt.fmt; in r2d_src_buffer() local
252 fixup_src_format(&format, dst_format, &color_format); in r2d_src_buffer()
256 .color_format = color_format, in r2d_src_buffer()
317 .color_format = fmt.fmt, in r2d_dst_buffer()
364 .color_format = fmt, in r2d_setup_common()
381 .color_format = fmt, in r2d_setup_common()
989 enum a6xx_format color_format = fmt.fmt; in r3d_src_buffer() local
990 fixup_src_format(&format, dst_format, &color_format); in r3d_src_buffer()
994 A6XX_TEX_CONST_0_FMT(color_format) | in r3d_src_buffer()
1076 tu_cs_emit_regs(cs, A6XX_GRAS_LRZ_MRT_BUF_INFO_0(.color_format = fmt)); in r3d_dst()
[all …]
Dtu_cmd_buffer.c288 tu_cs_emit_regs(cs, A6XX_GRAS_LRZ_MRT_BUF_INFO_0(.color_format = mrt0_format)); in tu6_emit_mrt()
/third_party/benchmark/tools/gbench/
Dreport.py53 def color_format(use_color, fmt_str, *args, **kwargs): function
230 return [color_format(use_color,
365 output_strs += [color_format(use_color,
/third_party/mesa3d/src/amd/vulkan/
Dradv_formats.c629 uint32_t color_format = radv_translate_colorformat(format); in radv_is_colorbuffer_format_supported() local
635 color_format == V_028C70_COLOR_8_24 || color_format == V_028C70_COLOR_24_8 || in radv_is_colorbuffer_format_supported()
636 color_format == V_028C70_COLOR_X24_8_32_FLOAT) { in radv_is_colorbuffer_format_supported()
644 return color_format != V_028C70_COLOR_INVALID && color_swap != ~0U && color_num_format != ~0; in radv_is_colorbuffer_format_supported()
Dradv_meta_fast_clear.c225 const VkFormat color_format = VK_FORMAT_R8_UNORM; in create_pipeline() local
229 .pColorAttachmentFormats = &color_format, in create_pipeline()
/third_party/mesa3d/src/gallium/include/frontend/
Dapi.h212 enum pipe_format color_format; member
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c128 A6XX_RB_MRT_BUF_INFO(i, .color_format = format, in emit_mrt()
135 OUT_REG(ring, A6XX_SP_FS_MRT_REG(i, .color_format = format, in emit_mrt()
148 OUT_REG(ring, A6XX_GRAS_LRZ_MRT_BUF_INFO_0(.color_format = mrt0_format)); in emit_mrt()
1013 .color_format = format, .color_swap = swap, in emit_blit()