diff options
author | Marco <marpan@google.com> | 2017-02-06 17:02:28 -0800 |
---|---|---|
committer | Marco <marpan@google.com> | 2017-02-07 10:33:13 -0800 |
commit | 1a5482d4d856feacd7bf5a6385f72051675f93a7 (patch) | |
tree | 41140ec0a3193a7b262ccaff029c5daba48e187b /vp9/encoder/vp9_denoiser.h | |
parent | 66695533a8ec6530f557f9b00875473298e08b7a (diff) | |
download | libvpx-1a5482d4d856feacd7bf5a6385f72051675f93a7.tar libvpx-1a5482d4d856feacd7bf5a6385f72051675f93a7.tar.gz libvpx-1a5482d4d856feacd7bf5a6385f72051675f93a7.tar.bz2 libvpx-1a5482d4d856feacd7bf5a6385f72051675f93a7.zip |
vp9: Denoiser speed-up: increase partition and ac skip thresholds.
Add factor to increase varianace partition and ac skip thresholds,
under certain conditions (noise level and sum_diff), to increase
denoiser speed.
Change-Id: I7671140ef3598bf5f114a72623d68792bcd7b77b
Diffstat (limited to 'vp9/encoder/vp9_denoiser.h')
-rw-r--r-- | vp9/encoder/vp9_denoiser.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_denoiser.h b/vp9/encoder/vp9_denoiser.h index fcfaa5051..a029339e5 100644 --- a/vp9/encoder/vp9_denoiser.h +++ b/vp9/encoder/vp9_denoiser.h @@ -97,6 +97,13 @@ void vp9_denoiser_free(VP9_DENOISER *denoiser); void vp9_denoiser_set_noise_level(VP9_DENOISER *denoiser, int noise_level); +int64_t vp9_scale_part_thresh(int64_t threshold, + VP9_DENOISER_LEVEL noise_level); + +int64_t vp9_scale_acskip_thresh(int64_t threshold, + VP9_DENOISER_LEVEL noise_level, + int abs_sumdiff); + #ifdef __cplusplus } // extern "C" #endif |