Remove vp9_recon_intra_mbuv
authorJohn Koleszar <jkoleszar@google.com>
Sat, 20 Apr 2013 21:17:57 +0000 (14:17 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Mon, 22 Apr 2013 19:05:24 +0000 (12:05 -0700)
Use common vp9_recon_sbuv instead.

Change-Id: I146f79adfdfda2b52257a52fa783727f12afa246

vp9/common/vp9_reconintra.c
vp9/common/vp9_reconintra.h
vp9/encoder/vp9_encodeintra.c

index 1031be7..6caebd7 100644 (file)
@@ -269,15 +269,6 @@ static void corner_predictor(uint8_t *ypred_ptr, int y_stride, int n,
   }
 }
 
-void vp9_recon_intra_mbuv(MACROBLOCKD *xd) {
-  int i;
-  for (i = 16; i < 24; i += 2) {
-    BLOCKD *b = &xd->block[i];
-    vp9_recon2b(*(b->base_dst) + b->dst, b->diff,
-                *(b->base_dst) + b->dst, b->dst_stride);
-  }
-}
-
 static INLINE int log2_minus_1(int n) {
   switch (n) {
     case 4: return 1;
index b97b608..1e0cfa4 100644 (file)
@@ -14,8 +14,6 @@
 #include "vpx/vpx_integer.h"
 #include "vp9/common/vp9_blockd.h"
 
-void vp9_recon_intra_mbuv(MACROBLOCKD *xd);
-
 B_PREDICTION_MODE vp9_find_dominant_direction(uint8_t *ptr,
                                               int stride, int n,
                                               int tx, int ty);
index 95befb7..5c6559b 100644 (file)
@@ -146,7 +146,7 @@ void vp9_encode_intra16x16mbuv(VP9_COMMON *const cm, MACROBLOCK *x) {
       break;
     }
 
-  vp9_recon_intra_mbuv(xd);
+  vp9_recon_sbuv(xd, BLOCK_SIZE_MB16X16);
 }
 
 void vp9_encode_intra8x8(MACROBLOCK *x, int ib) {