projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42c2c6b
)
vp9_noise_estimate: protect copy_frame w/CONFIG check
author
James Zern
<jzern@google.com>
Wed, 27 Jan 2016 04:09:36 +0000
(20:09 -0800)
committer
James Zern
<jzern@google.com>
Wed, 27 Jan 2016 04:09:36 +0000
(20:09 -0800)
This is only used with CONFIG_VP9_TEMPORAL_DENOISING
Change-Id: I61a1814d43d71235077a2426f7bfce141677a79a
vp9/encoder/vp9_noise_estimate.c
patch
|
blob
|
history
diff --git
a/vp9/encoder/vp9_noise_estimate.c
b/vp9/encoder/vp9_noise_estimate.c
index
008a40a
..
b1a2619
100644
(file)
--- a/
vp9/encoder/vp9_noise_estimate.c
+++ b/
vp9/encoder/vp9_noise_estimate.c
@@
-66,6
+66,7
@@
int enable_noise_estimation(VP9_COMP *const cpi) {
return 0;
}
+#if CONFIG_VP9_TEMPORAL_DENOISING
static void copy_frame(YV12_BUFFER_CONFIG * const dest,
const YV12_BUFFER_CONFIG * const src) {
int r;
@@
-81,6
+82,7
@@
static void copy_frame(YV12_BUFFER_CONFIG * const dest,
srcbuf += src->y_stride;
}
}
+#endif // CONFIG_VP9_TEMPORAL_DENOISING
NOISE_LEVEL vp9_noise_estimate_extract_level(NOISE_ESTIMATE *const ne) {
int noise_level = kLowLow;