st/va: add functions for VAAPI encode
authorBoyuan Zhang <boyuan.zhang@amd.com>
Thu, 21 Jul 2016 23:40:18 +0000 (19:40 -0400)
committerChristian König <christian.koenig@amd.com>
Mon, 25 Jul 2016 11:39:52 +0000 (13:39 +0200)
commit85d807f2e04eb4f096fa619bc61c65cdcef446c8
treed04dd1bf67658764c37e8daf9126ba052af4546f
parent10c1cc47a6adba9ea83d4df5c154c07f95ac3a40
st/va: add functions for VAAPI encode

Add necessary functions/changes for VAAPI encoding to buffer and picture. These changes will allow driver to handle all Vaapi encode related operations. This patch doesn't change the Vaapi decode behaviour.

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
src/gallium/state_trackers/va/buffer.c
src/gallium/state_trackers/va/picture.c
src/gallium/state_trackers/va/va_private.h