]> granicus.if.org Git - libvpx/commitdiff
Rename vp8_intra4x4_predict_d
authorJohann <johannkoenig@google.com>
Wed, 1 Aug 2012 18:17:57 +0000 (11:17 -0700)
committerJohann <johannkoenig@google.com>
Wed, 1 Aug 2012 18:17:57 +0000 (11:17 -0700)
predict_d has become canonical. Remove previous helper function.

Disable ARM assembly pending update.

Change-Id: Idd84ac8a28f9b0221ea97904a77de1e705d06a7d

vp8/common/reconintra4x4.c
vp8/common/rtcd_defs.sh
vp8/decoder/decodframe.c
vp8/decoder/threading.c
vp8/encoder/encodeintra.c
vp8/encoder/pickinter.c
vp8/encoder/rdopt.c
vp8/vp8_common.mk

index f35e719fc3bba7d3787bb52da20f95ceafadcacc..72375fd36014296d525d012d7f9bb5eb059c463b 100644 (file)
 #include "vpx_rtcd.h"
 #include "blockd.h"
 
-void vp8_intra4x4_predict_d_c(unsigned char *Above,
-                              unsigned char *yleft, int left_stride,
-                              int b_mode,
-                              unsigned char *dst, int dst_stride,
-                              unsigned char top_left)
+void vp8_intra4x4_predict_c(unsigned char *Above,
+                            unsigned char *yleft, int left_stride,
+                            int b_mode,
+                            unsigned char *dst, int dst_stride,
+                            unsigned char top_left)
 {
     int i, r, c;
 
@@ -293,16 +293,3 @@ void vp8_intra4x4_predict_d_c(unsigned char *Above,
 
     }
 }
-
-void vp8_intra4x4_predict_c(unsigned char *src, int src_stride,
-                            int b_mode,
-                            unsigned char *dst, int dst_stride)
-{
-    unsigned char *Above = src - src_stride;
-
-    vp8_intra4x4_predict_d(Above,
-                           src - 1, src_stride,
-                           b_mode,
-                           dst, dst_stride,
-                           Above[-1]);
-}
index 6651a3a165081116b7f983c6572cb2d9e8f51cb2..e933376e0850bed49903f52267011ce734cb8319 100644 (file)
@@ -144,13 +144,9 @@ specialize vp8_build_intra_predictors_mby_s sse2 ssse3
 prototype void vp8_build_intra_predictors_mbuv_s "struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row,  unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int pred_stride"
 specialize vp8_build_intra_predictors_mbuv_s sse2 ssse3
 
-prototype void vp8_intra4x4_predict_d "unsigned char *above, unsigned char *left, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left"
+prototype void vp8_intra4x4_predict "unsigned char *above, unsigned char *left, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left"
 # No existing specializations
 
-prototype void vp8_intra4x4_predict "unsigned char *src, int src_stride, int b_mode, unsigned char *dst, int dst_stride"
-specialize vp8_intra4x4_predict media
-vp8_intra4x4_predict_media=vp8_intra4x4_predict_armv6
-
 #
 # Postproc
 #
index 8853b353b841ecfbebd4dd614ab7ab17ee11848b..4a33f5aef60bae53dd7500fffac276164b787ee5 100644 (file)
@@ -194,8 +194,8 @@ static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd,
                 int left_stride = dst_stride;
                 unsigned char top_left = Above[-1];
 
-                vp8_intra4x4_predict_d(Above, yleft, left_stride, b_mode,
-                                       dst, dst_stride, top_left);
+                vp8_intra4x4_predict(Above, yleft, left_stride, b_mode,
+                                     dst, dst_stride, top_left);
 
                 if (xd->eobs[i])
                 {
index 7520b5883fd2cc44f7525d8546eab12f0a3c8313..cbc6a43283a8df68a3a874576f41aa88828b0e32 100644 (file)
@@ -205,8 +205,8 @@ static void mt_decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd,
                 else
                     top_left = Above[-1];
 
-                vp8_intra4x4_predict_d(Above, yleft, left_stride,
-                                       b_mode, dst, dst_stride, top_left);
+                vp8_intra4x4_predict(Above, yleft, left_stride,
+                                     b_mode, dst, dst_stride, top_left);
 
                 if (xd->eobs[i] )
                 {
index a38036753aaeaf94695848383bc8972c1f9e9e87..340dd638d8e9c7d01a9edd5302fa3883e846b452 100644 (file)
@@ -59,8 +59,8 @@ void vp8_encode_intra4x4block(MACROBLOCK *x, int ib)
     unsigned char *yleft = dst - 1;
     unsigned char top_left = Above[-1];
 
-    vp8_intra4x4_predict_d(Above, yleft, dst_stride, b->bmi.as_mode,
-                           b->predictor, 16, top_left);
+    vp8_intra4x4_predict(Above, yleft, dst_stride, b->bmi.as_mode,
+                         b->predictor, 16, top_left);
 
     vp8_subtract_b(be, b, 16);
 
index 4d4bbea0f66f1b0e0e30e646e75bd12eb5b1bc3e..77d9152ebb5d88bad46ad376f5cf9ca3650488f6 100644 (file)
@@ -157,8 +157,8 @@ static int pick_intra4x4block(
 
         rate = mode_costs[mode];
 
-        vp8_intra4x4_predict_d(Above, yleft, dst_stride, mode,
-                               b->predictor, 16, top_left);
+        vp8_intra4x4_predict(Above, yleft, dst_stride, mode,
+                             b->predictor, 16, top_left);
         distortion = get_prediction_error(be, b);
         this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
 
index 8179c9f841c5b3cf1f097b717d3d7652d4d938cf..005f26213ded38e76552450a3644072bb4f70d01 100644 (file)
@@ -666,8 +666,8 @@ static int rd_pick_intra4x4block(
 
         rate = bmode_costs[mode];
 
-        vp8_intra4x4_predict_d(Above, yleft, dst_stride, mode,
-                               b->predictor, 16, top_left);
+        vp8_intra4x4_predict(Above, yleft, dst_stride, mode,
+                             b->predictor, 16, top_left);
         vp8_subtract_b(be, b, 16);
         x->short_fdct4x4(be->src_diff, be->coeff, 32);
         x->quantize_b(be, b);
index a328f46c2b124f4210fa6aede92ccf1f0562da9e..bd971fab59a41299d47245b5610eac06d7dd17e5 100644 (file)
@@ -148,7 +148,7 @@ VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/idct_v6$(ASM)
 VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/loopfilter_v6$(ASM)
 VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/simpleloopfilter_v6$(ASM)
 VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/sixtappredict8x4_v6$(ASM)
-VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/intra4x4_predict_v6$(ASM)
+#VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/intra4x4_predict_v6$(ASM)
 VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/dequant_idct_v6$(ASM)
 VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/dequantize_v6$(ASM)
 VP8_COMMON_SRCS-$(HAVE_MEDIA)  += common/arm/armv6/idct_blk_v6.c