vp9_denoiser: mark total_adj_strong_thresh inline
avoids -Wunused-function warnings when INLINE is set Change-Id: I14a3b32837d358516b7702a2fb804bec010bb5c6
This commit is contained in:
Родитель
734dc36173
Коммит
724ba02f1b
|
@ -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.
|
// This function is used by both c and sse2 denoiser implementations.
|
||||||
// Define it as a static function within the scope where vp9_denoiser.h
|
// Define it as a static function within the scope where vp9_denoiser.h
|
||||||
// is referenced.
|
// 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);
|
return (1 << num_pels_log2_lookup[bs]) * (increase_denoising ? 3 : 2);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче