commit | 2584d48b2cf13ea50b4e6177f32bacf0c7027e79 | [log] [tgz] |
---|---|---|
author | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | Tue Sep 22 14:32:13 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Sep 29 16:50:37 2020 +0000 |
tree | ff3d94882a223a5bcc50249566cf64c579c4566d | |
parent | b121b1b8b8f6df790dd8150a8b5e8021dc9e56bb [diff] |
gallium/vl: add chroma_format arg to vl_video_buffer functions vl_mpeg12_decoder needs to override the chroma_format value to get the correct size calculated (chroma_format is used by vl_video_buffer_adjust_size). I'm not sure why it's needed, but this is needed to get correct mpeg decode. Fixes: 24f2b0a8560 ("gallium/video: remove pipe_video_buffer.chroma_format") Acked-by: Leo Liu <leo.liu@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6817>