st/va: implement poc type
authorBoyuan Zhang <boyuan.zhang@amd.com>
Tue, 7 Nov 2017 20:53:35 +0000 (15:53 -0500)
committerLeo Liu <leo.liu@amd.com>
Fri, 17 Nov 2017 17:25:47 +0000 (12:25 -0500)
commit58aa4dffb4347aeb24bf7312c63579a0cb5e7327
tree56fc0c3adbb301c05ac6fe9bdb9be9bbddb4cf8b
parent76e0dcd5a98801e0bbf84f0c53509d4b2f4bbe9e
st/va: implement poc type

pic_order_cnt_type is a required variable when encoding both sps and
slice header, therefore we need to get this value from st, e.g. vaapi
interface, and then pass it to radeon driver for encoding headers.

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/picture.c