radeonsi: Add support for midstream bitrate change in encoder
authorZhang, Boyuan <Boyuan.Zhang@amd.com>
Wed, 4 Dec 2019 14:16:29 +0000 (14:16 +0000)
committerMarge Bot <eric+marge@anholt.net>
Fri, 31 Jan 2020 07:47:36 +0000 (07:47 +0000)
commit00edb82fde2cfebe97457cb7819e7e560c4d3a4c
tree1274a2d99e66092fb1a6ce05972f4df7695ae43c
parentd902e23d8094a01f752d3404ec484e0c059eb193
radeonsi: Add support for midstream bitrate change in encoder

BACKPORT: Remove |picture| argument from enc->begin in radeon_vcn_enc.c

Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3426>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3426>
src/gallium/drivers/radeon/radeon_vce.c
src/gallium/drivers/radeon/radeon_vcn_enc.c