diff options
author | mahongpe <hongpeng.ma@intel.com> | 2014-02-26 01:15:33 +0800 |
---|---|---|
committer | buildslave <sys_buildbot@intel.com> | 2014-03-06 02:17:03 +0000 |
commit | 99c7404858cacd669fca6a1cedc2c837a1cf74f6 (patch) | |
tree | 657b3e025ff67d2613740b5008b1d7e1ef00726b /va | |
parent | c263d6a794e2a50d0f95919ed9f56003caedd492 (diff) | |
download | libva-99c7404858cacd669fca6a1cedc2c837a1cf74f6.tar.gz |
enable Modular DRM support in libva
BZ:174825
Define data structure and Macro for Modular DRM.
They will be used in psb_video, etc
Change-Id: Ie0b1e4f0ba9d47d19c88bb5db1bdf81468251544
Signed-off-by: mahongpe <hongpeng.ma@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Diffstat (limited to 'va')
-rwxr-xr-x | va/va.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -649,6 +649,9 @@ typedef union _VAConfigAttribValDecJPEG { /** \brief Reserved for future use. */ unsigned int reserved[3]; } VAConfigAttribValDecJPEG; +/** \brief Driver supports subsample mode for slice decoding */ +#define VA_DEC_SLICE_MODE_SUBSAMPLE 0x00000004 + /**@}*/ /** @name Attribute values for VAConfigAttribEncPackedHeaders */ @@ -2507,6 +2510,14 @@ typedef struct _VAParsePictureParameterBuffer { unsigned int value; } flags; + union { + struct { + unsigned char nalu_header_unit_type : 5; + unsigned char nalu_header_ref_idc : 2; + } bits; + unsigned char value; + } nalu_header; + unsigned short expected_pic_parameter_set_id; unsigned char num_slice_groups_minus1; unsigned char slice_group_map_type; |