radeon/uvd: implement HEVC support
authorBoyuan Zhang <boyuan.zhang@amd.com>
Wed, 8 Jul 2015 20:54:48 +0000 (16:54 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 14 Aug 2015 13:02:31 +0000 (15:02 +0200)
commit839bf82606ae9c7b1c7d8d5055ab5e3cadae9bf9
tree9307491fc3189e31e067f31013d316ee91f15941
parent0654a9ca17c17fe140f70d126c878a0ce4736b76
radeon/uvd: implement HEVC support

add context buffer to fix H265 uvd decode issue.
fix H265 corruption issue caused by incorrect assigned ref_pic_list.

v2: disable interlace for HEVC
    add CZ sps flag workaround
    fix coding style

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c
src/gallium/drivers/radeon/radeon_uvd.h
src/gallium/drivers/radeon/radeon_video.c