frontends/va/postproc: Keep track of deinterlacing method being used
authorThong Thai <thong.thai@amd.com>
Fri, 6 Aug 2021 18:42:44 +0000 (14:42 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sun, 8 Aug 2021 14:06:54 +0000 (14:06 +0000)
commit3cafe333e99f8ce77c742543a47f3700852b44ea
tree943d00256fc07ce64e42db8daa0df12cbe52777a
parent5dace8e0fb9c1dc9a0de062d6747cf4c3e2e819f
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.

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>
src/gallium/frontends/va/postproc.c