radeon/uvd: enable rate control for hevc encoding
authorBoyuan Zhang <boyuan.zhang@amd.com>
Mon, 17 Jun 2019 19:00:53 +0000 (15:00 -0400)
committerLeo Liu <leo.liu@amd.com>
Fri, 26 Jul 2019 18:33:09 +0000 (14:33 -0400)
commit5115c25bb877d62781c23a31735cb3f70811383b
treec2aab0df609792e6c9ff91a2ae5fdc6c58d69366
parent9aaf3aaf5d8a88e05cf2d2dd4a455a64789bcced
radeon/uvd: 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_uvd_enc_1_1.c