diff options
author | Jonathan Bian <jonathan.bian@intel.com> | 2013-03-10 22:11:26 -0700 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2015-04-02 10:25:45 +0800 |
commit | 58d883c4a605fc0b011a82d22f46ff2e64b7dc42 (patch) | |
tree | d1822981bc1011da5b42ba529c8785e42696adc6 /va/va.h | |
parent | 5ba1a9935ba2b16943f3cc1aaf37c0e561497e51 (diff) | |
download | libva-58d883c4a605fc0b011a82d22f46ff2e64b7dc42.tar.gz |
Add support for querying slice decoding mode supported by the underlying driver
This is a part of commit d65d7157da6dcfab44e639bee4905f793d869a1c
Diffstat (limited to 'va/va.h')
-rw-r--r-- | va/va.h | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -322,6 +322,21 @@ typedef enum VAConfigAttribEncryption = 4, VAConfigAttribRateControl = 5, + /** @name Attributes for decoding */ + /**@{*/ + /** + * \brief Slice Decoding mode. Read/write. + * + * This attribute determines what mode the driver supports for slice + * decoding, through vaGetConfigAttributes(); and what mode the user + * will be providing to the driver, through vaCreateConfig(), if the + * driver supports those. If this attribute is not set by the user then + * it is assumed that VA_DEC_SLICE_MODE_NORMAL mode is used. + * + * See \c VA_DEC_SLICE_MODE_xxx for the list of slice decoding modes. + */ + VAConfigAttribDecSliceMode = 6, + /** @name Attributes for encoding */ /**@{*/ /** @@ -451,6 +466,14 @@ typedef struct _VAConfigAttrib { #define VA_RC_VBR_CONSTRAINED 0x00000020 /**@}*/ +/** @name Attribute values for VAConfigAttribDecSliceMode */ +/**@{*/ +/** \brief Driver supports normal mode for slice decoding */ +#define VA_DEC_SLICE_MODE_NORMAL 0x00000001 +/** \brief Driver supports base mode for slice decoding */ +#define VA_DEC_SLICE_MODE_BASE 0x00000002 +/**@}*/ + /** @name Attribute values for VAConfigAttribEncPackedHeaders */ /**@{*/ /** \brief Driver does not support any packed headers mode. */ |