OSDN Git Service

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)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 28 May 2013 08:32:18 +0000 (16:32 +0800)
va/va_vpp.h

index 0eb295f..b24d1a1 100644 (file)
@@ -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;
 
 /**