]> granicus.if.org Git - libvpx/commitdiff
vp9_encodeframe: make scale_part_thresh_sumdiff static
authorJames Zern <jzern@google.com>
Fri, 16 Jun 2017 07:51:42 +0000 (00:51 -0700)
committerJames Zern <jzern@google.com>
Thu, 22 Jun 2017 02:00:14 +0000 (19:00 -0700)
quiets -Wmissing-prototypes

Change-Id: I696223d75860edba13c6b6f38c1f8db353a6f812

vp9/encoder/vp9_encodeframe.c

index 6215e198ca6d3842e7e70152e95ab9ad1dbb5e86..895e56af68c04e228c3a74cf39ff47145b092b2c 100644 (file)
@@ -489,8 +489,9 @@ static int set_vt_partitioning(VP9_COMP *cpi, MACROBLOCK *const x,
   return 0;
 }
 
-int64_t scale_part_thresh_sumdiff(int64_t threshold_base, int speed, int width,
-                                  int height, int content_state) {
+static int64_t scale_part_thresh_sumdiff(int64_t threshold_base, int speed,
+                                         int width, int height,
+                                         int content_state) {
   if (speed >= 8) {
     if (width <= 640 && height <= 480)
       return (5 * threshold_base) >> 2;