| Index: source/libvpx/vp8/encoder/denoising.h
|
| ===================================================================
|
| --- source/libvpx/vp8/encoder/denoising.h (revision 278778)
|
| +++ source/libvpx/vp8/encoder/denoising.h (working copy)
|
| @@ -12,6 +12,7 @@
|
| #define VP8_ENCODER_DENOISING_H_
|
|
|
| #include "block.h"
|
| +#include "vp8/common/loopfilter.h"
|
|
|
| #ifdef __cplusplus
|
| extern "C" {
|
| @@ -27,13 +28,22 @@
|
| FILTER_BLOCK
|
| };
|
|
|
| +enum vp8_denoiser_filter_state {
|
| + kNoFilter,
|
| + kFilterZeroMV,
|
| + kFilterNonZeroMV
|
| +};
|
| +
|
| typedef struct vp8_denoiser
|
| {
|
| YV12_BUFFER_CONFIG yv12_running_avg[MAX_REF_FRAMES];
|
| YV12_BUFFER_CONFIG yv12_mc_running_avg;
|
| + unsigned char* denoise_state;
|
| + int num_mb_cols;
|
| } VP8_DENOISER;
|
|
|
| -int vp8_denoiser_allocate(VP8_DENOISER *denoiser, int width, int height);
|
| +int vp8_denoiser_allocate(VP8_DENOISER *denoiser, int width, int height,
|
| + int num_mb_rows, int num_mb_cols);
|
|
|
| void vp8_denoiser_free(VP8_DENOISER *denoiser);
|
|
|
| @@ -42,7 +52,11 @@
|
| unsigned int best_sse,
|
| unsigned int zero_mv_sse,
|
| int recon_yoffset,
|
| - int recon_uvoffset);
|
| + int recon_uvoffset,
|
| + loop_filter_info_n *lfi_n,
|
| + int mb_row,
|
| + int mb_col,
|
| + int block_index);
|
|
|
| #ifdef __cplusplus
|
| } // extern "C"
|
|
|