summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2016-02-01 23:47:02 -0800
committerJames Zern <jzern@google.com>2016-02-01 23:47:02 -0800
commit724ba02f1bbc2c38b610895f416b459bf8113ddd (patch)
treed3ee0096d289c9d9f682fa58f30d7d62a8ca5eb0 /vp9
parent734dc36173769bd0334b58b2173da4ece1ae1cf5 (diff)
downloadlibvpx-724ba02f1bbc2c38b610895f416b459bf8113ddd.tar
libvpx-724ba02f1bbc2c38b610895f416b459bf8113ddd.tar.gz
libvpx-724ba02f1bbc2c38b610895f416b459bf8113ddd.tar.bz2
libvpx-724ba02f1bbc2c38b610895f416b459bf8113ddd.zip
vp9_denoiser: mark total_adj_strong_thresh inline
avoids -Wunused-function warnings when INLINE is set Change-Id: I14a3b32837d358516b7702a2fb804bec010bb5c6
Diffstat (limited to 'vp9')
-rw-r--r--vp9/encoder/vp9_denoiser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_denoiser.h b/vp9/encoder/vp9_denoiser.h
index 12dd5b5fa..9f13bd533 100644
--- a/vp9/encoder/vp9_denoiser.h
+++ b/vp9/encoder/vp9_denoiser.h
@@ -75,7 +75,8 @@ int vp9_denoiser_alloc(VP9_DENOISER *denoiser, int width, int height,
// This function is used by both c and sse2 denoiser implementations.
// Define it as a static function within the scope where vp9_denoiser.h
// is referenced.
-static int total_adj_strong_thresh(BLOCK_SIZE bs, int increase_denoising) {
+static INLINE int total_adj_strong_thresh(BLOCK_SIZE bs,
+ int increase_denoising) {
return (1 << num_pels_log2_lookup[bs]) * (increase_denoising ? 3 : 2);
}
#endif