Added "flags" field to VAProcFilterParameterBufferDeinterlacing to indicate TOP/BOTTO...
authorJonathan Bian <jonathan.bian@intel.com>
Wed, 9 Jan 2013 22:44:18 +0000 (14:44 -0800)
committerAustin Yuan <shengquan.yuan@intel.com>
Thu, 10 Jan 2013 00:31:27 +0000 (08:31 +0800)
va/va_vpp.h

index fea5aca..fb17a2f 100644 (file)
@@ -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;
 
 /**