This commit is contained in:
Anthony Minessale
2019-09-11 15:51:47 +00:00
committed by Andrey Volk
parent 34fcadbd53
commit ceb051af4e
821 changed files with 89961 additions and 48650 deletions

View File

@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef VP9_ENCODER_NOISE_ESTIMATE_H_
#define VP9_ENCODER_NOISE_ESTIMATE_H_
#ifndef VPX_VP9_ENCODER_VP9_NOISE_ESTIMATE_H_
#define VPX_VP9_ENCODER_VP9_NOISE_ESTIMATE_H_
#include "vp9/encoder/vp9_block.h"
#include "vp9/encoder/vp9_skin_detection.h"
@@ -23,6 +23,8 @@
extern "C" {
#endif
#define MAX_VAR_HIST_BINS 20
typedef enum noise_level { kLowLow, kLow, kMedium, kHigh } NOISE_LEVEL;
typedef struct noise_estimate {
@@ -30,6 +32,7 @@ typedef struct noise_estimate {
NOISE_LEVEL level;
int value;
int thresh;
int adapt_thresh;
int count;
int last_w;
int last_h;
@@ -48,4 +51,4 @@ void vp9_update_noise_estimate(struct VP9_COMP *const cpi);
} // extern "C"
#endif
#endif // VP9_ENCODER_NOISE_ESTIMATE_H_
#endif // VPX_VP9_ENCODER_VP9_NOISE_ESTIMATE_H_