summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--va/va.h7
-rw-r--r--va/va_vpp.h3
2 files changed, 10 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index e610a07..f3202dc 100644
--- a/va/va.h
+++ b/va/va.h
@@ -258,6 +258,13 @@ typedef int VAStatus; /** Return status type from functions */
#define VA_FILTER_SCALING_NL_ANAMORPHIC 0x00000300
#define VA_FILTER_SCALING_MASK 0x00000f00
+/** Interpolation method for scaling */
+#define VA_FILTER_INTERPOLATION_DEFAULT 0x00000000
+#define VA_FILTER_INTERPOLATION_NEAREST_NEIGHBOR 0x00001000
+#define VA_FILTER_INTERPOLATION_BILINEAR 0x00002000
+#define VA_FILTER_INTERPOLATION_ADVANCED 0x00003000
+#define VA_FILTER_INTERPOLATION_MASK 0x0000f000
+
/** Padding size in 4-bytes */
#define VA_PADDING_LOW 4
#define VA_PADDING_MEDIUM 8
diff --git a/va/va_vpp.h b/va/va_vpp.h
index ecb8b2d..9096ea6 100644
--- a/va/va_vpp.h
+++ b/va/va_vpp.h
@@ -969,6 +969,9 @@ typedef struct _VAProcPipelineParameterBuffer {
* \c VA_SRC_SMPTE_240.
* - Scaling: \c VA_FILTER_SCALING_DEFAULT, \c VA_FILTER_SCALING_FAST,
* \c VA_FILTER_SCALING_HQ, \c VA_FILTER_SCALING_NL_ANAMORPHIC.
+ * - Interpolation Method: \c VA_FILTER_INTERPOLATION_DEFAULT,
+ * \c VA_FILTER_INTERPOLATION_NEAREST_NEIGHBOR,
+ * \c VA_FILTER_INTERPOLATION_BILINEAR, \c VA_FILTER_INTERPOLATION_ADVANCED.
*/
uint32_t filter_flags;
/**