radeon/vcn: add encode header implementations
authorBoyuan Zhang <boyuan.zhang@amd.com>
Fri, 10 Nov 2017 23:33:32 +0000 (18:33 -0500)
committerLeo Liu <leo.liu@amd.com>
Fri, 17 Nov 2017 17:25:47 +0000 (12:25 -0500)
commitc2448f20a32d1f9b24a093dd48d33c54cfc51e6a
tree8f291a27e32a31f28e217ecf16717a0a78d2e5e9
parentd940fdf765b18974b54e21f66d31c45455ad79bc
radeon/vcn: add encode header implementations

Implement encoding of sps, pps, and silce headers using the newly added h.264
header coding descriptors functions based on h.264 specs.

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.h
src/gallium/drivers/radeon/radeon_vcn_enc_1_2.c