shithub: libvpx

Download patch

ref: 07b87075320f03f4843554e2f73bfa4138c4e66c
parent: 7944b4f239f6c11fbd3316d491eaec363a7fd2aa
author: Ronald S. Bultje <rbultje@google.com>
date: Mon Oct 29 13:59:45 EDT 2012

mbgraph: remove unused function, and make local function static.

Change-Id: I295c7bcf13b630cb9395585ede7311d85d785f25

--- a/vp8/encoder/mbgraph.c
+++ b/vp8/encoder/mbgraph.c
@@ -357,19 +357,8 @@
   }
 }
 
-// Test for small magnitude (<= 1 pel mvs)
-int small_mv(MV mv) {
-  if ((abs((int)mv.col) > 2) || (abs((int)mv.row) > 2))
-    return FALSE;
-  else
-    return TRUE;
-}
-
 // void separate_arf_mbs_byzz
-void separate_arf_mbs
-(
-  VP8_COMP *cpi
-) {
+static void separate_arf_mbs(VP8_COMP *cpi) {
   VP8_COMMON *const cm = &cpi->common;
   int mb_col, mb_row, offset, i;
   int ncnt[4];
--