[Libva] [PATCH 22/24] Added "flags" field to VAProcFilterParameterBufferDeinterlacing to indicate TOP/BOTTOM field in the input frame and which field to use for BOB deinterlacing.
Xiang, Haihao
haihao.xiang at intel.com
Mon May 13 01:19:25 PDT 2013
From: Jonathan Bian <jonathan.bian at intel.com>
---
va/va_vpp.h | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/va/va_vpp.h b/va/va_vpp.h
index 0eb295f..b24d1a1 100644
--- a/va/va_vpp.h
+++ b/va/va_vpp.h
@@ -536,12 +536,28 @@ typedef struct _VAProcFilterParameterBuffer {
float value;
} VAProcFilterParameterBuffer;
+/** @name De-interlacing flags */
+/**@{*/
+/**
+ * \brief Bottom field first in the input frame.
+ * if this is not set then assums top field first.
+ */
+#define VA_DEINTERLACING_INPUT_BOTTOM_FIELD_FIRST 0x0001
+/**
+ * \brief Bottom field used in BOB deinterlacing.
+ * if this is not set then assums top field is used.
+ */
+#define VA_DEINTERLACING_BOB_BOTTOM_FIELD 0x0002
+/**@}*/
+
/** \brief Deinterlacing filter parametrization. */
typedef struct _VAProcFilterParameterBufferDeinterlacing {
/** \brief Filter type. Shall be set to #VAProcFilterDeinterlacing. */
VAProcFilterType type;
/** \brief Deinterlacing algorithm. */
VAProcDeinterlacingType algorithm;
+ /** \brief Deinterlacing flags. */
+ unsigned int flags;
} VAProcFilterParameterBufferDeinterlacing;
/**
--
1.7.4.1
More information about the Libva
mailing list