Commit fb58a84c authored by James Zern's avatar James Zern

vp9_noise_estimate: protect copy_frame w/CONFIG check

This is only used with CONFIG_VP9_TEMPORAL_DENOISING

Change-Id: I61a1814d43d71235077a2426f7bfce141677a79a
parent 42c2c6bf
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment