Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_clear.c133 uint32_t rt_format; in nv30_clear_render_target() local
135 rt_format = nv30_format(pipe->screen, ps->format)->hw; in nv30_clear_render_target()
137 rt_format |= NV30_3D_RT_FORMAT_ZETA_Z24S8; in nv30_clear_render_target()
139 rt_format |= NV30_3D_RT_FORMAT_ZETA_Z16; in nv30_clear_render_target()
142 rt_format |= NV30_3D_RT_FORMAT_TYPE_SWIZZLED; in nv30_clear_render_target()
143 rt_format |= util_logbase2(sf->width) << 16; in nv30_clear_render_target()
144 rt_format |= util_logbase2(sf->height) << 24; in nv30_clear_render_target()
146 rt_format |= NV30_3D_RT_FORMAT_TYPE_LINEAR; in nv30_clear_render_target()
160 PUSH_DATA (push, rt_format); in nv30_clear_render_target()
194 uint32_t rt_format, mode = 0; in nv30_clear_depth_stencil() local
[all …]
Dnv30_state_validate.c42 uint32_t rt_format; in nv30_validate_fb() local
52 rt_format = 0; in nv30_validate_fb()
55 rt_format |= nv30_format(pscreen, fb->cbufs[0]->format)->hw; in nv30_validate_fb()
56 rt_format |= mt->ms_mode; in nv30_validate_fb()
58 rt_format |= NV30_3D_RT_FORMAT_TYPE_SWIZZLED; in nv30_validate_fb()
60 rt_format |= NV30_3D_RT_FORMAT_TYPE_LINEAR; in nv30_validate_fb()
63 rt_format |= NV30_3D_RT_FORMAT_COLOR_A8R8G8B8; in nv30_validate_fb()
65 rt_format |= NV30_3D_RT_FORMAT_COLOR_R5G6B5; in nv30_validate_fb()
69 rt_format |= nv30_format(pscreen, fb->zsbuf->format)->hw; in nv30_validate_fb()
71 rt_format |= NV30_3D_RT_FORMAT_TYPE_SWIZZLED; in nv30_validate_fb()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvaallocator.c514 guint32 i, fourcc, rt_format, export_flags; in gst_va_dmabuf_allocator_setup_buffer_full() local
521 rt_format = gst_va_chroma_from_video_format (format); in gst_va_dmabuf_allocator_setup_buffer_full()
522 if (fourcc == 0 || rt_format == 0) { in gst_va_dmabuf_allocator_setup_buffer_full()
544 if (!va_create_surfaces (self->display, rt_format, fourcc, in gst_va_dmabuf_allocator_setup_buffer_full()
846 guint32 fourcc, rt_format; in gst_va_dmabuf_memories_setup() local
858 rt_format = gst_va_chroma_from_video_format (format); in gst_va_dmabuf_memories_setup()
859 if (rt_format == 0) in gst_va_dmabuf_memories_setup()
873 ret = va_create_surfaces (display, rt_format, ext_buf.pixel_format, in gst_va_dmabuf_memories_setup()
881 buf = gst_va_buffer_surface_new (surface, rt_format, ext_buf.width, in gst_va_dmabuf_memories_setup()
912 guint32 rt_format; member
[all …]
Dgstvadecoder.c44 guint rt_format; member
103 g_value_set_uint (value, self->rt_format); in gst_va_decoder_get_property()
174 self->rt_format = 0; in gst_va_decoder_init()
219 gst_va_decoder_open (GstVaDecoder * self, VAProfile profile, guint rt_format) in gst_va_decoder_open() argument
223 .value = rt_format, in gst_va_decoder_open()
251 self->rt_format = rt_format; in gst_va_decoder_open()
713 ret = (self->profile == new_profile && self->rt_format == new_rtformat in gst_va_decoder_config_is_equal()
722 guint * rt_format, gint * width, gint * height) in gst_va_decoder_get_config() argument
732 if (rt_format) in gst_va_decoder_get_config()
733 *rt_format = self->rt_format; in gst_va_decoder_get_config()
Dgstvavp9dec.c154 guint rt_format; in gst_va_vp9_new_sequence() local
166 rt_format = _get_rtformat (self, frame_hdr->profile, frame_hdr->bit_depth, in gst_va_vp9_new_sequence()
168 if (rt_format == 0) in gst_va_vp9_new_sequence()
172 rt_format, frame_hdr->width, frame_hdr->height)) { in gst_va_vp9_new_sequence()
176 base->rt_format = rt_format; in gst_va_vp9_new_sequence()
575 if (base->profile == cur_profile && base->rt_format == cur_rtformat) { in gst_va_vp9_dec_negotiate()
591 if (!gst_va_decoder_open (base->decoder, base->profile, base->rt_format)) in gst_va_vp9_dec_negotiate()
Dgstvampeg2dec.c107 if (!gst_va_decoder_open (base->decoder, base->profile, base->rt_format)) in gst_va_mpeg2_dec_negotiate()
230 guint rt_format; in gst_va_mpeg2_dec_new_sequence() local
251 rt_format = _get_rtformat (self, in gst_va_mpeg2_dec_new_sequence()
253 if (rt_format == 0) in gst_va_mpeg2_dec_new_sequence()
257 rt_format, width, height)) { in gst_va_mpeg2_dec_new_sequence()
259 base->rt_format = rt_format; in gst_va_mpeg2_dec_new_sequence()
266 gst_va_profile_name (profile), rt_format, base->width, base->height); in gst_va_mpeg2_dec_new_sequence()
Dgstvavp8dec.c106 if (!gst_va_decoder_open (base->decoder, base->profile, base->rt_format)) in gst_va_vp8_dec_negotiate()
151 guint rt_format; in gst_va_vp8_dec_new_sequence() local
167 rt_format = VA_RT_FORMAT_YUV420; in gst_va_vp8_dec_new_sequence()
170 rt_format, frame_hdr->width, frame_hdr->height)) { in gst_va_vp8_dec_new_sequence()
174 base->rt_format = rt_format; in gst_va_vp8_dec_new_sequence()
Dgstvah264dec.c674 guint rt_format; in gst_va_h264_dec_new_sequence() local
698 rt_format = _get_rtformat (self, sps->bit_depth_luma_minus8 + 8, in gst_va_h264_dec_new_sequence()
700 if (rt_format == 0) in gst_va_h264_dec_new_sequence()
704 rt_format, sps->width, sps->height)) { in gst_va_h264_dec_new_sequence()
706 base->rt_format = rt_format; in gst_va_h264_dec_new_sequence()
712 gst_va_profile_name (profile), rt_format, self->coded_width, in gst_va_h264_dec_new_sequence()
836 if (!gst_va_decoder_open (base->decoder, base->profile, base->rt_format)) in gst_va_h264_dec_negotiate()
Dgstvadecoder.h44 guint rt_format);
96 guint * rt_format,
Dgstvaav1dec.c109 base->rt_format, self->max_width, self->max_height)) { in gst_va_av1_dec_negotiate()
114 if (!gst_va_decoder_open (base->decoder, base->profile, base->rt_format)) in gst_va_av1_dec_negotiate()
255 guint rt_format; in gst_va_av1_dec_new_sequence() local
263 rt_format = _get_rtformat (self, profile, seq_hdr); in gst_va_av1_dec_new_sequence()
264 if (!rt_format) in gst_va_av1_dec_new_sequence()
270 rt_format, seq_hdr->max_frame_width_minus_1 + 1, in gst_va_av1_dec_new_sequence()
273 base->rt_format = rt_format; in gst_va_av1_dec_new_sequence()
Dgstvah265dec.c1055 guint rt_format; in gst_va_h265_dec_new_sequence() local
1078 rt_format = _get_rtformat (self, sps->bit_depth_luma_minus8 + 8, in gst_va_h265_dec_new_sequence()
1080 if (rt_format == 0) in gst_va_h265_dec_new_sequence()
1084 rt_format, sps->width, sps->height)) { in gst_va_h265_dec_new_sequence()
1086 base->rt_format = rt_format; in gst_va_h265_dec_new_sequence()
1092 gst_va_profile_name (profile), rt_format, self->coded_width, in gst_va_h265_dec_new_sequence()
1219 if (!gst_va_decoder_open (base->decoder, base->profile, base->rt_format)) in gst_va_h265_dec_negotiate()
Dvasurfaceimage.c48 va_create_surfaces (GstVaDisplay * display, guint rt_format, guint fourcc, in va_create_surfaces() argument
100 status = vaCreateSurfaces (dpy, rt_format, width, height, surfaces, in va_create_surfaces()
Dgstvabasedec.c764 *format = _default_video_format_from_chroma (base->rt_format); in gst_va_base_dec_get_preferred_format_and_caps_features()
793 *format = _default_video_format_from_chroma (base->rt_format); in gst_va_base_dec_get_preferred_format_and_caps_features()
804 if (gst_va_chroma_from_video_format (fmt) == base->rt_format) { in gst_va_base_dec_get_preferred_format_and_caps_features()
810 *format = _default_video_format_from_chroma (base->rt_format); in gst_va_base_dec_get_preferred_format_and_caps_features()
Dgstvabasedec.h63 guint rt_format; member
Dvasurfaceimage.h32 guint rt_format, guint fourcc,
Dgstvacaps.c238 VAEntrypoint entrypoint, guint rt_format) in gst_va_create_raw_caps() argument
243 .value = rt_format, in gst_va_create_raw_caps()
/third_party/mesa3d/src/gallium/frontends/va/
Dconfig.c270 config->rt_format = attrib_list[i].value; in vlVaCreateConfig()
283 if (!config->rt_format) in vlVaCreateConfig()
284 config->rt_format = supported_rt_formats; in vlVaCreateConfig()
355 config->rt_format = attrib_list[i].value; in vlVaCreateConfig()
374 if (!config->rt_format) in vlVaCreateConfig()
375 config->rt_format = supported_rt_formats; in vlVaCreateConfig()
453 attrib_list[0].value = config->rt_format; in vlVaQueryConfigAttributes()
Dsurface.c470 if (config->rt_format & VA_RT_FORMAT_RGB32) { in vlVaQuerySurfaceAttributes()
480 if (config->rt_format & VA_RT_FORMAT_YUV420) { in vlVaQuerySurfaceAttributes()
487 if (config->rt_format & VA_RT_FORMAT_YUV420_10 || in vlVaQuerySurfaceAttributes()
488 (config->rt_format & VA_RT_FORMAT_YUV420 && in vlVaQuerySurfaceAttributes()
Dva_private.h330 unsigned int rt_format; member
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_formats.c167 enum isl_format rt_format = format; in iris_is_format_supported() local
171 rt_format = isl_format_rgbx_to_rgba(format); in iris_is_format_supported()
173 supported &= isl_format_supports_rendering(devinfo, rt_format); in iris_is_format_supported()
176 supported &= isl_format_supports_alpha_blending(devinfo, rt_format); in iris_is_format_supported()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_formats.c496 enum isl_format rt_format = format; in crocus_is_format_supported() local
500 rt_format = isl_format_rgbx_to_rgba(format); in crocus_is_format_supported()
502 supported &= isl_format_supports_rendering(devinfo, rt_format); in crocus_is_format_supported()
505 supported &= isl_format_supports_alpha_blending(devinfo, rt_format); in crocus_is_format_supported()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_wgpu.h18 …bool ImGui_ImplWGPU_Init(WGPUDevice device, int num_frames_in_flight, WGPUTextureFormat rt_format);
Dimgui_impl_wgpu.cpp664 bool ImGui_ImplWGPU_Init(WGPUDevice device, int num_frames_in_flight, WGPUTextureFormat rt_format) in ImGui_ImplWGPU_Init() argument
673 g_renderTargetFormat = rt_format; in ImGui_ImplWGPU_Init()
/third_party/ffmpeg/libavcodec/
Dvaapi_encode.c1283 const VAAPIEncodeRTFormat *rt_format; in vaapi_encode_profile_entrypoint() local
1418 rt_format = &vaapi_encode_rt_formats[i]; in vaapi_encode_profile_entrypoint()
1419 if (rt_format->depth == depth && in vaapi_encode_profile_entrypoint()
1420 rt_format->nb_components == profile->nb_components && in vaapi_encode_profile_entrypoint()
1421 rt_format->log2_chroma_w == profile->log2_chroma_w && in vaapi_encode_profile_entrypoint()
1422 rt_format->log2_chroma_h == profile->log2_chroma_h) in vaapi_encode_profile_entrypoint()
1448 "is valid.\n", rt_format->name); in vaapi_encode_profile_entrypoint()
1449 } else if (!(rt_format_attr.value & rt_format->value)) { in vaapi_encode_profile_entrypoint()
1452 rt_format->name, profile_string, ctx->va_profile, in vaapi_encode_profile_entrypoint()
1458 "format %s (%#x).\n", rt_format->name, rt_format->value); in vaapi_encode_profile_entrypoint()
[all …]
/third_party/ffmpeg/libavutil/
Dhwcontext_vaapi.c79 unsigned int rt_format; member
93 unsigned int rt_format; member
481 vas = vaCreateSurfaces(hwctx->display, ctx->rt_format, in vaapi_pool_alloc()
575 ctx->rt_format = desc->rt_format; in vaapi_frames_init()
1111 vas = vaCreateSurfaces(dst_dev->display, format_desc->rt_format, in vaapi_map_from_drm()

12