Add maximum type number define, and one addition VPP flag
authorBinglin Chen <binglin.chen@intel.com>
Wed, 8 Aug 2012 06:42:23 +0000 (14:42 +0800)
committerAustin Yuan <shengquan.yuan@intel.com>
Mon, 13 Aug 2012 09:04:27 +0000 (17:04 +0800)
Add maximum type number define for VAEntryPoint,
VAConfigAttribTypeMax, VABufferTypeMax, which can be used as
the current total number of entrypoint/attribute/buffer type.

Add END of stream flag for VPP pipeline which indicates it's
the last frames in the pipeline.

Signed-off-by: Binglin Chen <binglin.chen@intel.com>
va/va.h
va/va_vpp.h

diff --git a/va/va.h b/va/va.h
index 81ec821..1b9919c 100644 (file)
--- a/va/va.h
+++ b/va/va.h
@@ -305,6 +305,7 @@ typedef enum
     VAEntrypointEncSlice       = 6,    /* slice level encode */
     VAEntrypointEncPicture     = 7,    /* pictuer encode, JPEG, etc */
     VAEntrypointVideoProc       = 10,   /**< Video pre/post-processing. */
+    VAEntrypointMax
 } VAEntrypoint;
 
 /* Currently defined configuration attribute types */
@@ -387,6 +388,7 @@ typedef enum
      */
     VAConfigAttribEncMacroblockInfo     = 16,
     /**@}*/
+    VAConfigAttribTypeMax
 } VAConfigAttribType;
 
 /*
@@ -823,7 +825,7 @@ typedef enum
      * color balance (#VAProcFilterParameterBufferColorBalance), etc.
      */
     VAProcFilterParameterBufferType     = 42,
-    VABufferTypeMax                     = 0xff
+    VABufferTypeMax
 } VABufferType;
 
 typedef enum
index 1a0870d..edc108a 100644 (file)
@@ -335,6 +335,12 @@ typedef enum _VAProcColorStandardType {
 #define VA_PROC_FILTER_MANDATORY        0x00000001
 /**@}*/
 
+/** @name Pipeline end flags */
+/**@{*/
+/** \brief Specifies the pipeline is the last. */
+#define VA_PIPELINE_FLAG_END           0x00000004
+/**@}*/
+
 /** \brief Video processing pipeline capabilities. */
 typedef struct _VAProcPipelineCaps {
     /** \brief Pipeline flags. See VAProcPipelineParameterBuffer::pipeline_flags. */