]> granicus.if.org Git - libvpx/commitdiff
Remove get_nonrd_var_based_fixed_partition function
authorJingning Han <jingning@google.com>
Thu, 9 Apr 2015 16:49:09 +0000 (09:49 -0700)
committerJingning Han <jingning@google.com>
Thu, 9 Apr 2015 16:49:55 +0000 (09:49 -0700)
This function has been replaced by other approaches and is not
in use now.

Change-Id: I387f45b5607d202539e482468ccc70e6c0f9341f

vp9/encoder/vp9_encodeframe.c

index 35c609d4f8d9f14c4944c014bc0de5d8f55b8596..f4755a1af49921c2e2767a505e836727e4a143c7 100644 (file)
@@ -165,21 +165,6 @@ static BLOCK_SIZE get_rd_var_based_fixed_partition(VP9_COMP *cpi, MACROBLOCK *x,
     return BLOCK_8X8;
 }
 
-static BLOCK_SIZE get_nonrd_var_based_fixed_partition(VP9_COMP *cpi,
-                                                      MACROBLOCK *x,
-                                                      int mi_row,
-                                                      int mi_col) {
-  unsigned int var = get_sby_perpixel_diff_variance(cpi, &x->plane[0].src,
-                                                    mi_row, mi_col,
-                                                    BLOCK_64X64);
-  if (var < 4)
-    return BLOCK_64X64;
-  else if (var < 10)
-    return BLOCK_32X32;
-  else
-    return BLOCK_16X16;
-}
-
 // Lighter version of set_offsets that only sets the mode info
 // pointers.
 static INLINE void set_mode_info_offsets(VP9_COMMON *const cm,