radeon/vcn: enable rate control for hevc encoding
authorBoyuan Zhang <boyuan.zhang@amd.com>
Mon, 17 Jun 2019 19:02:32 +0000 (15:02 -0400)
committerLeo Liu <leo.liu@amd.com>
Fri, 26 Jul 2019 18:33:09 +0000 (14:33 -0400)
commitb0626c1f306b8f55911d8926f85dc13c6a327a2f
tree1fc66efc910e2cbb891714616b4c572f3e2484ea
parent5115c25bb877d62781c23a31735cb3f70811383b
radeon/vcn: enable rate control for hevc encoding

Set cu_qp_delta_enable_flag on when rate control is enabled, and set it
off when rate control is disabled (e.g. constant qp).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110673
Cc: mesa-stable@lists.freedesktop.org
V2: fix typo and add bugzilla info

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
src/gallium/drivers/radeon/radeon_vcn_enc_1_2.c