diff options
author | Boyuan Zhang <[email protected]> | 2016-07-21 19:40:18 -0400 |
---|---|---|
committer | Christian König <[email protected]> | 2016-07-25 13:39:52 +0200 |
commit | 85d807f2e04eb4f096fa619bc61c65cdcef446c8 (patch) | |
tree | d04dd1bf67658764c37e8daf9126ba052af4546f /src/gallium/state_trackers/va/va_private.h | |
parent | 10c1cc47a6adba9ea83d4df5c154c07f95ac3a40 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/va/va_private.h')
-rw-r--r-- | src/gallium/state_trackers/va/va_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/va/va_private.h b/src/gallium/state_trackers/va/va_private.h index 1addd87303a..dba0d4a7251 100644 --- a/src/gallium/state_trackers/va/va_private.h +++ b/src/gallium/state_trackers/va/va_private.h @@ -242,6 +242,7 @@ typedef struct { } mpeg4; struct vl_deint_filter *deint; + struct vlVaBuffer *coded_buf; } vlVaContext; typedef struct { @@ -261,6 +262,7 @@ typedef struct { } derived_surface; unsigned int export_refcount; VABufferInfo export_state; + unsigned int coded_size; } vlVaBuffer; typedef struct { |