frontends/va/enc: hardcode h265 encoder ref pic list size
authorThong Thai <thong.thai@amd.com>
Mon, 22 Nov 2021 16:47:43 +0000 (11:47 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 8 Dec 2021 03:27:42 +0000 (03:27 +0000)
commit31b033eec2f48c44f0011131b99e19e88eba4281
treee3db2ec164317d873321af70b64897c1585bce15
parentc5b7fb998fa3638727d3aea5030d1ccb4e78082d
frontends/va/enc: hardcode h265 encoder ref pic list size

Set the size of the ref pic list0 for the h265 encoder to 1.

Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Boyuan Zhang <boyuan.zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13915>
src/gallium/frontends/va/picture_hevc_enc.c