Index: source/libvpx/vp9/encoder/vp9_denoiser.h |
=================================================================== |
--- source/libvpx/vp9/encoder/vp9_denoiser.h (revision 284462) |
+++ source/libvpx/vp9/encoder/vp9_denoiser.h (working copy) |
@@ -26,14 +26,7 @@ |
typedef struct vp9_denoiser { |
YV12_BUFFER_CONFIG running_avg_y[MAX_REF_FRAMES]; |
YV12_BUFFER_CONFIG mc_running_avg_y; |
- |
- unsigned int zero_mv_sse; |
- unsigned int best_sse; |
int increase_denoising; |
- PREDICTION_MODE best_sse_inter_mode; |
- int_mv best_sse_mv; |
- MV_REFERENCE_FRAME best_reference_frame; |
- MV_REFERENCE_FRAME best_zeromv_reference_frame; |
} VP9_DENOISER; |
void vp9_denoiser_update_frame_info(VP9_DENOISER *denoiser, |
@@ -44,12 +37,14 @@ |
int refresh_last_frame); |
void vp9_denoiser_denoise(VP9_DENOISER *denoiser, MACROBLOCK *mb, |
- int mi_row, int mi_col, BLOCK_SIZE bs); |
+ int mi_row, int mi_col, BLOCK_SIZE bs, |
+ PICK_MODE_CONTEXT *ctx); |
-void vp9_denoiser_reset_frame_stats(VP9_DENOISER *denoiser); |
+void vp9_denoiser_reset_frame_stats(PICK_MODE_CONTEXT *ctx); |
void vp9_denoiser_update_frame_stats(VP9_DENOISER *denoiser, MB_MODE_INFO *mbmi, |
- unsigned int sse, PREDICTION_MODE mode); |
+ unsigned int sse, PREDICTION_MODE mode, |
+ PICK_MODE_CONTEXT *ctx); |
int vp9_denoiser_alloc(VP9_DENOISER *denoiser, int width, int height, |
int ssx, int ssy, int border); |