frontends/va: Handle dynamic resolution/SVC for VP9
authorSatyajit Sahu <satyajit.sahu@amd.com>
Wed, 24 Jun 2020 10:31:01 +0000 (16:01 +0530)
committerMarge Bot <eric+marge@anholt.net>
Mon, 29 Jun 2020 12:52:40 +0000 (12:52 +0000)
commitc425ca5566a6bd22fe4d38e7b46d82582ce29de9
tree0cae1eb13e444220569a934663d0ff113bef3748
parent653dff949e93a8dc53924387f7b18328d14ebc60
frontends/va: Handle dynamic resolution/SVC for VP9

VP9 allows frame to use another resolution frame as reference
frames so updating the resolution for decoder when there is a
resolution change.

Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5646>
src/gallium/frontends/va/picture.c
src/gallium/frontends/va/picture_vp9.c