summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurongZhang <furong.zhang@intel.com>2018-07-31 05:03:46 -0400
committerXinfengZhang <carl.zhang@intel.com>2018-08-15 13:50:00 +0800
commitb7a2ff11751cc5bbf0d21c406821742670ae714b (patch)
tree4fa635f6a84e217ee8a751f1da6e2e97fbe4aa3f
parent6ae717304c48e7710a76a87cef2a1096ff450af2 (diff)
downloadlibva-b7a2ff11751cc5bbf0d21c406821742670ae714b.tar.gz
Customized Noise Reduction (HVS)
Human Vision System Based Noise Reduction. Signed-off-by: FurongZhang <furong.zhang@intel.com>
-rw-r--r--va/va_vpp.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/va/va_vpp.h b/va/va_vpp.h
index 9296c0e..93b5c42 100644
--- a/va/va_vpp.h
+++ b/va/va_vpp.h
@@ -249,6 +249,8 @@ typedef enum _VAProcFilterType {
VAProcFilterSkinToneEnhancement,
/** \brief Total Color Correction. */
VAProcFilterTotalColorCorrection,
+ /** \brief Human Vision System(HVS) Noise reduction filter. */
+ VAProcFilterHVSNoiseReduction,
/** \brief Number of video filters. */
VAProcFilterCount
} VAProcFilterType;
@@ -1039,6 +1041,26 @@ typedef struct _VAProcFilterParameterBufferTotalColorCorrection {
/** \brief Color correction value. */
float value;
} VAProcFilterParameterBufferTotalColorCorrection;
+
+/** \brief Human Vision System(HVS) Noise reduction filter parametrization. */
+typedef struct _VAProcFilterParameterBufferHVSNoiseReduction {
+ /** \brief Filter type. Shall be set to #VAProcFilterHVSNoiseReduction. */
+ VAProcFilterType type;
+ /** \brief QP for encoding, used for HVS Denoise */
+ uint16_t qp;
+ /**
+ * \brief QP to Noise Reduction Strength Mode, used for Human Vision System Based Noise Reduction.
+ * Controls Noise Reduction strength of conservative and aggressive mode.
+ * It is an integer from [0-16].
+ * Value 0 means completely turn off Noise Reduction;
+ * Value 16 means the most aggressive mode of Noise Reduction;
+ * Value 10 is the default value.
+ */
+ uint16_t strength;
+ /** \brief Reserved bytes for future use, must be zero */
+ uint16_t va_reserved[VA_PADDING_HIGH];
+} VAProcFilterParameterBufferHVSNoiseReduction;
+
/**
* \brief Default filter cap specification (single range value).
*