Home
last modified time | relevance | path

Searched refs:resource_formats (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_uvd.c65 const enum pipe_format *resource_formats; in r600_video_buffer_create() local
73 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format); in r600_video_buffer_create()
74 if (!resource_formats) in r600_video_buffer_create()
82 …vl_video_buffer_template(&templ, &template, resource_formats[0], 1, array_size, PIPE_USAGE_DEFAULT… in r600_video_buffer_create()
90 if (resource_formats[1] != PIPE_FORMAT_NONE) { in r600_video_buffer_create()
91 …vl_video_buffer_template(&templ, &template, resource_formats[1], 1, array_size, PIPE_USAGE_DEFAULT… in r600_video_buffer_create()
100 if (resource_formats[2] != PIPE_FORMAT_NONE) { in r600_video_buffer_create()
101 …vl_video_buffer_template(&templ, &template, resource_formats[2], 1, array_size, PIPE_USAGE_DEFAULT… in r600_video_buffer_create()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c181 const enum pipe_format *resource_formats; in vl_video_buffer_is_format_supported() local
184 resource_formats = vl_video_buffer_formats(screen, format); in vl_video_buffer_is_format_supported()
185 if (!resource_formats) in vl_video_buffer_is_format_supported()
189 enum pipe_format format = resource_formats[i]; in vl_video_buffer_is_format_supported()
423 const enum pipe_format *resource_formats; in vl_video_buffer_create() local
438 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format); in vl_video_buffer_create()
439 if (!resource_formats) in vl_video_buffer_create()
453 pipe, &templat, resource_formats, in vl_video_buffer_create()
467 const enum pipe_format resource_formats[VL_NUM_COMPONENTS], in vl_video_buffer_create_ex()
478 vl_video_buffer_template(&res_tmpl, tmpl, resource_formats[0], depth, array_size, usage, 0); in vl_video_buffer_create_ex()
[all …]
Dvl_video_buffer.h136 const enum pipe_format resource_formats[VL_NUM_COMPONENTS],
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_uvd.c45 const enum pipe_format *resource_formats; in si_video_buffer_create() local
53 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format); in si_video_buffer_create()
54 if (!resource_formats) in si_video_buffer_create()
62 assert(resource_formats[0] != PIPE_FORMAT_NONE); in si_video_buffer_create()
65 if (resource_formats[i] != PIPE_FORMAT_NONE) { in si_video_buffer_create()
67 resource_formats[i], 1, in si_video_buffer_create()