From 21649988d6b532cc96f633db017d1e4369f640e9 Mon Sep 17 00:00:00 2001 From: Jonathan Bian Date: Wed, 9 Jan 2013 14:44:18 -0800 Subject: Added "flags" field to VAProcFilterParameterBufferDeinterlacing to indicate TOP/BOTTOM field in the input frame and which field to use for BOB deinterlacing. --- va/va_vpp.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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; /** -- cgit v1.2.3