]> granicus.if.org Git - libvpx/commitdiff
mbgraph: remove unused function, and make local function static.
authorRonald S. Bultje <rbultje@google.com>
Tue, 30 Oct 2012 00:59:45 +0000 (17:59 -0700)
committerRonald S. Bultje <rbultje@google.com>
Tue, 30 Oct 2012 00:59:45 +0000 (17:59 -0700)
Change-Id: I295c7bcf13b630cb9395585ede7311d85d785f25

vp8/encoder/mbgraph.c

index 2eecfcdad845cbdb39cc5a27afbbb89e594b6b0a..f72eac060c57ce2b83b6ac904e947bc20a022db9 100644 (file)
@@ -357,19 +357,8 @@ static void update_mbgraph_frame_stats
   }
 }
 
-// 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];