summaryrefslogtreecommitdiff
path: root/va
diff options
context:
space:
mode:
authormahongpe <hongpeng.ma@intel.com>2014-02-26 01:15:33 +0800
committerbuildslave <sys_buildbot@intel.com>2014-03-06 02:17:03 +0000
commit99c7404858cacd669fca6a1cedc2c837a1cf74f6 (patch)
tree657b3e025ff67d2613740b5008b1d7e1ef00726b /va
parentc263d6a794e2a50d0f95919ed9f56003caedd492 (diff)
downloadlibva-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-xva/va.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 84e50db..532bf6a 100755
--- a/va/va.h
+++ b/va/va.h
@@ -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;