frontends/va: change to per-layer rate control
authorThong Thai <thong.thai@amd.com>
Tue, 13 Jul 2021 16:04:39 +0000 (12:04 -0400)
committerThong Thai <thong.thai@amd.com>
Mon, 26 Jul 2021 19:06:22 +0000 (15:06 -0400)
commit856e2b75291bf29ecdbce8879b3da1e8cad826c1
treeb10ed5701574b07962a47aef48b9dacfa3bb23b0
parentc2695823fd121e508256c4593ceff46df89da4af
frontends/va: change to per-layer rate control

Allows for each layer in a Scalable Video Coding (SVC) video to have its
own rate control setting, when encoding H.264.

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/11850>
src/gallium/frontends/va/context.c
src/gallium/frontends/va/picture_h264_enc.c