frontends/va: Reallocate p010 buffer for AV1 10 bits decode
authorLeo Liu <leo.liu@amd.com>
Sat, 7 Aug 2021 21:09:55 +0000 (17:09 -0400)
committerLeo Liu <leo.liu@amd.com>
Fri, 13 Aug 2021 13:24:01 +0000 (09:24 -0400)
commitfa1bb477031f56ad0131b2122a8362d667711922
tree203971d5d85a305440f0bbe85b89385cf27829d2
parentef0bfe2459a7aab77f978feb310acf3ae8337694
frontends/va: Reallocate p010 buffer for AV1 10 bits decode

Check bit depth and reallocate p010 buffer if it's 10 bits.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12307>
src/gallium/frontends/va/picture.c