• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/common/libva


Commit MetaInfo

Révisionb7a2ff11751cc5bbf0d21c406821742670ae714b (tree)
l'heure2018-08-15 14:50:00
AuteurFurongZhang <furong.zhang@inte...>
CommiterXinfengZhang

Message de Log

Customized Noise Reduction (HVS)

Human Vision System Based Noise Reduction.

Signed-off-by: FurongZhang <furong.zhang@intel.com>

Change Summary

Modification

--- a/va/va_vpp.h
+++ b/va/va_vpp.h
@@ -249,6 +249,8 @@ typedef enum _VAProcFilterType {
249249 VAProcFilterSkinToneEnhancement,
250250 /** \brief Total Color Correction. */
251251 VAProcFilterTotalColorCorrection,
252+ /** \brief Human Vision System(HVS) Noise reduction filter. */
253+ VAProcFilterHVSNoiseReduction,
252254 /** \brief Number of video filters. */
253255 VAProcFilterCount
254256 } VAProcFilterType;
@@ -1039,6 +1041,26 @@ typedef struct _VAProcFilterParameterBufferTotalColorCorrection {
10391041 /** \brief Color correction value. */
10401042 float value;
10411043 } VAProcFilterParameterBufferTotalColorCorrection;
1044+
1045+/** \brief Human Vision System(HVS) Noise reduction filter parametrization. */
1046+typedef struct _VAProcFilterParameterBufferHVSNoiseReduction {
1047+ /** \brief Filter type. Shall be set to #VAProcFilterHVSNoiseReduction. */
1048+ VAProcFilterType type;
1049+ /** \brief QP for encoding, used for HVS Denoise */
1050+ uint16_t qp;
1051+ /**
1052+ * \brief QP to Noise Reduction Strength Mode, used for Human Vision System Based Noise Reduction.
1053+ * Controls Noise Reduction strength of conservative and aggressive mode.
1054+ * It is an integer from [0-16].
1055+ * Value 0 means completely turn off Noise Reduction;
1056+ * Value 16 means the most aggressive mode of Noise Reduction;
1057+ * Value 10 is the default value.
1058+ */
1059+ uint16_t strength;
1060+ /** \brief Reserved bytes for future use, must be zero */
1061+ uint16_t va_reserved[VA_PADDING_HIGH];
1062+} VAProcFilterParameterBufferHVSNoiseReduction;
1063+
10421064 /**
10431065 * \brief Default filter cap specification (single range value).
10441066 *