radeon/vcn: use util function to get h264 profile idc
authorBoyuan Zhang <boyuan.zhang@amd.com>
Tue, 23 Oct 2018 15:22:13 +0000 (11:22 -0400)
committerLeo Liu <leo.liu@amd.com>
Fri, 26 Oct 2018 17:23:06 +0000 (13:23 -0400)
commitf4126cfaabc2deba9ddbbccc21eac7f43b760bef
treecf2ba88f8020a70d956ef7daf3d2861f360aad59
parent55cf565698b05cd900c37ace02235f874d1ac093
radeon/vcn: use util function to get h264 profile idc

Use utility function for converting h264 pipe video profile to profile idc,
instead of using array.

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
src/gallium/drivers/radeon/radeon_vcn_enc_1_2.c