summaryrefslogtreecommitdiff
path: root/va
diff options
context:
space:
mode:
authorBinglin Chen <binglin.chen@intel.com>2012-08-08 14:42:23 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-05-28 16:32:18 +0800
commit65bb17e342633e7e20a37160d4ed0b83eab4b4e7 (patch)
tree2a77dbf0a35dfdca65fa31c2de1419fbbbf14442 /va
parentf210a6f58a01016404be36c308f6fa99297bbc9d (diff)
Add maximum type number define, and one addition VPP flag
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>
Diffstat (limited to 'va')
-rw-r--r--va/va.h4
-rw-r--r--va/va_vpp.h6
2 files changed, 9 insertions, 1 deletions
diff --git a/va/va.h b/va/va.h
index 56d3878..04c8f3f 100644
--- a/va/va.h
+++ b/va/va.h
@@ -271,6 +271,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 */
@@ -353,6 +354,7 @@ typedef enum
*/
VAConfigAttribEncMacroblockInfo = 16,
/**@}*/
+ VAConfigAttribTypeMax
} VAConfigAttribType;
/*
@@ -709,7 +711,7 @@ typedef enum
* color balance (#VAProcFilterParameterBufferColorBalance), etc.
*/
VAProcFilterParameterBufferType = 42,
- VABufferTypeMax = 0xff
+ VABufferTypeMax
} VABufferType;
typedef enum
diff --git a/va/va_vpp.h b/va/va_vpp.h
index 473937f..0eb295f 100644
--- a/va/va_vpp.h
+++ b/va/va_vpp.h
@@ -331,6 +331,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. */