summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Bian <jonathan.bian@intel.com>2013-01-09 14:44:18 -0800
committerAustin Yuan <shengquan.yuan@intel.com>2013-01-10 08:31:27 +0800
commit21649988d6b532cc96f633db017d1e4369f640e9 (patch)
tree0e362294c23f814e402ff3097c05c21be8caca4f
parent2e11d2273b2974a7d1959cbcaf8db5b8e9aedd9e (diff)
Added "flags" field to VAProcFilterParameterBufferDeinterlacing to indicate TOP/BOTTOM field in the input frame and which field to use for BOB deinterlacing.staging-20130205
-rw-r--r--va/va_vpp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/va/va_vpp.h b/va/va_vpp.h
index fea5aca..fb17a2f 100644
--- a/va/va_vpp.h
+++ b/va/va_vpp.h
@@ -651,12 +651,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;
/**