diff options
author | FurongZhang <furong.zhang@intel.com> | 2020-05-13 01:43:31 -0400 |
---|---|---|
committer | XinfengZhang <carl.zhang@intel.com> | 2020-07-22 09:06:11 +0800 |
commit | 4359c18cc2a342f49e55fea2c3b14c3318fc4775 (patch) | |
tree | 01dd84ee8ec4119cbbe402caaee325e9641f8aa1 | |
parent | 7c6de6df3eb06f496d5f9debd4c92f6470eac224 (diff) | |
download | libva-4359c18cc2a342f49e55fea2c3b14c3318fc4775.tar.gz |
Add interpolation method for scaling.2.9.0.pre1
Signed-off-by: FurongZhang <furong.zhang@intel.com>
-rw-r--r-- | va/va.h | 7 | ||||
-rw-r--r-- | va/va_vpp.h | 3 |
2 files changed, 10 insertions, 0 deletions
@@ -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; /** |