Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Martres
aom-rav1e
Commits
6ad714fa
Commit
6ad714fa
authored
Aug 07, 2015
by
Jingning Han
Browse files
Add static syntax to total_adj_strong_thresh
Change-Id: I34cc7b500d19a79f29c5ad241f602c1bc269446e
parent
1057ee48
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_denoiser.c
View file @
6ad714fa
...
...
@@ -63,10 +63,6 @@ static int sse_diff_thresh(BLOCK_SIZE bs, int increase_denoising,
}
}
int
total_adj_strong_thresh
(
BLOCK_SIZE
bs
,
int
increase_denoising
)
{
return
(
1
<<
num_pels_log2_lookup
[
bs
])
*
(
increase_denoising
?
3
:
2
);
}
static
int
total_adj_weak_thresh
(
BLOCK_SIZE
bs
,
int
increase_denoising
)
{
return
(
1
<<
num_pels_log2_lookup
[
bs
])
*
(
increase_denoising
?
3
:
2
);
}
...
...
vp9/encoder/vp9_denoiser.h
View file @
6ad714fa
...
...
@@ -57,7 +57,12 @@ int vp9_denoiser_alloc(VP9_DENOISER *denoiser, int width, int height,
int
border
);
#if CONFIG_VP9_TEMPORAL_DENOISING
int
total_adj_strong_thresh
(
BLOCK_SIZE
bs
,
int
increase_denoising
);
// 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
)
{
return
(
1
<<
num_pels_log2_lookup
[
bs
])
*
(
increase_denoising
?
3
:
2
);
}
#endif
void
vp9_denoiser_free
(
VP9_DENOISER
*
denoiser
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment