diff options
author | Binglin Chen <binglin.chen@intel.com> | 2012-08-08 14:42:23 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-05-28 16:32:18 +0800 |
commit | 65bb17e342633e7e20a37160d4ed0b83eab4b4e7 (patch) | |
tree | 2a77dbf0a35dfdca65fa31c2de1419fbbbf14442 /va | |
parent | f210a6f58a01016404be36c308f6fa99297bbc9d (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.h | 4 | ||||
-rw-r--r-- | va/va_vpp.h | 6 |
2 files changed, 9 insertions, 1 deletions
@@ -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. */ |