UPSTREAM:frontends/va/postproc: Keep track of deinterlacing method being used

When transcoding a video, the context used by decode/postproc process
might be different from that of the encoder, but we encoder needs to
know if deinterlacing was used.

BUG=b:194323431
TEST=run tast.video.DecodeAccel.vp9*

Fixes: c5088b49729 ("gallium: Fix VAAPI postproc blit")
Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12251>
(cherry picked from commit 3cafe333e99f8ce77c742543a47f3700852b44ea)
Signed-off-by: SureshGuttula <suresh.guttula@amd.corp-partner.google.com>
Change-Id: Iaedfccad1127ea35a382f62abedba22ddb617ea5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/mesa/+/3080622
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Miguel Casas <mcasas@chromium.org>
1 file changed