radeon/vcn: combine encode params func
authorBoyuan Zhang <boyuan.zhang@amd.com>
Sun, 24 Oct 2021 22:53:56 +0000 (18:53 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 28 Oct 2021 23:44:15 +0000 (23:44 +0000)
commitced5a54c134228c0bd6514fa323037e91d38f1b9
tree0a464131db714993191a99b346127e8112329cf8
parent49fff27d46698b9aa998a32aaac737edee153059
radeon/vcn: combine encode params func

Combine the encode params function for h.264 and hevc to reduce redundancy.

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13511>
src/gallium/drivers/radeon/radeon_vcn_enc_1_2.c