radeon/vcn: support picture parameters for HEVC
authorBoyuan Zhang <boyuan.zhang@amd.com>
Thu, 1 Feb 2018 20:23:49 +0000 (15:23 -0500)
committerLeo Liu <leo.liu@amd.com>
Mon, 5 Feb 2018 14:16:18 +0000 (09:16 -0500)
commit5ab73edddb39d65f901f4e6dd37b68ec6338372b
treef9fbd6651ee433ba4a3d428abfb648de9d3f173a
parentdb67d04df3d99c3ff979d66bd7b9b6aa2339068d
radeon/vcn: support picture parameters for HEVC

Pass pipe_picture_desc instead of pipe_h264_enc_picture_desc so that
it can be used for different codecs. Add functions to handle picture
parameters that will be used for HEVC encode.

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