avcodec/dxva2_av1: fix global motion params
authorTong Wu <tong1.wu@intel.com>
Tue, 12 Oct 2021 08:24:00 +0000 (16:24 +0800)
committerWolfgang Haupt <haupt.wolfgang@gmail.com>
Tue, 28 Dec 2021 19:04:52 +0000 (20:04 +0100)
commit03f5a57b9364d7ce789589594450fdf714a23e70
tree1186c2908f4e43cd376e9603b7ee323a72c4888f
parent8b9a48b7aa3c14103f975035bb18601b13ed1707
avcodec/dxva2_av1: fix global motion params

Defined in spec 5.9.24/5.9.25. Since function void
global_motion_params(AV1DecContext *s) already updates
gm type/params, the wminvalid parameter only need to get
the value from cur_frame.gm_invalid.

Signed-off-by: Tong Wu <tong1.wu@intel.com>
(cherry picked from commit 4e7a7d75e3c21a6af03c4cd52ffc50270664e58a)
libavcodec/dxva2_av1.c