shithub: libvpx

Download patch

ref: da1bda0fb248b5f5a31cbc07caeb3ed34a763ea2
parent: 302e425453e35123cefab8200b976fc6dbf8fd39
author: Jim Bankoski <jimbankoski@google.com>
date: Fri Jul 15 11:04:57 EDT 2016

vp9_postproc.c : unused variable if not vp9_highbitdepth.

Change-Id: Ib89b128f23767934c40b5add3fcf9dbd875e82f9

--- a/vp9/common/vp9_postproc.c
+++ b/vp9/common/vp9_postproc.c
@@ -29,9 +29,6 @@
 #include "vp9/common/vp9_textblit.h"
 
 #if CONFIG_VP9_POSTPROC
-static const int16_t kernel5[] = {
-  1, 1, 4, 1, 1
-};
 
 static const uint8_t q_diff_thresh = 20;
 static const uint8_t last_q_thresh = 170;
@@ -38,6 +35,10 @@
 extern const int16_t vpx_rv[];
 
 #if CONFIG_VP9_HIGHBITDEPTH
+static const int16_t kernel5[] = {
+  1, 1, 4, 1, 1
+};
+
 void vp9_highbd_post_proc_down_and_across_c(const uint16_t *src_ptr,
                                             uint16_t *dst_ptr,
                                             int src_pixels_per_line,