mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
vl: Use NV12 as deint format instead of preferred format
This is the last place where PIPE_VIDEO_CAP_PREFERRED_FORMAT is being used, and all drivers return NV12 here anyway. Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40644>
This commit is contained in:
parent
109af1b077
commit
37c6144e8b
1 changed files with 1 additions and 7 deletions
|
|
@ -275,13 +275,7 @@ vl_deint_filter_init(struct vl_deint_filter *filter, struct pipe_context *pipe,
|
|||
|
||||
/* TODO: handle other than 4:2:0 subsampling */
|
||||
memset(&templ, 0, sizeof(templ));
|
||||
templ.buffer_format = pipe->screen->get_video_param
|
||||
(
|
||||
pipe->screen,
|
||||
PIPE_VIDEO_PROFILE_UNKNOWN,
|
||||
PIPE_VIDEO_ENTRYPOINT_PROCESSING,
|
||||
PIPE_VIDEO_CAP_PREFERRED_FORMAT
|
||||
);
|
||||
templ.buffer_format = PIPE_FORMAT_NV12;
|
||||
templ.width = video_width;
|
||||
templ.height = video_height;
|
||||
templ.interlaced = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue