[Libva] [PATCH] Add maximum type number define, and one addition VPP flag
Yuan, Shengquan
shengquan.yuan at gmail.com
Wed Aug 8 00:00:14 PDT 2012
>From df847e6cf8b470f36e9f21aa5f5d7509fc0b6186 Mon Sep 17 00:00:00 2001
From: Binglin Chen <binglin.chen at intel.com>
Date: Wed, 8 Aug 2012 14:42:23 +0800
Subject: [PATCH] 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 at intel.com>
---
va/va.h | 4 +++-
va/va_vpp.h | 6 ++++++
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/va/va.h b/va/va.h
index 81ec821..1b9919c 100644
--- 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
diff --git a/va/va_vpp.h b/va/va_vpp.h
index 1a0870d..edc108a 100644
--- a/va/va_vpp.h
+++ b/va/va_vpp.h
@@ -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. */
--
1.7.5.4
More information about the Libva
mailing list