]> granicus.if.org Git - libvpx/commitdiff
Rename use_dc_pred to use_16x16_pred.
authorRonald S. Bultje <rbultje@google.com>
Fri, 28 Oct 2011 21:36:03 +0000 (14:36 -0700)
committerRonald S. Bultje <rbultje@google.com>
Wed, 7 Dec 2011 17:10:26 +0000 (09:10 -0800)
Because the variable doesn't distinguish between DC and non-DC
prediction, but rather between 16x16 or 4x4 prediction.

Change-ID: Ia4e7dda2bd6230c91515072e3277be2d64e42629

vp8/encoder/encodeintra.c
vp8/encoder/encodeintra.h

index 3c0456092e2b614a47273878e259024dd4ce014e..3bd52c9b7e4b5570731faf98ef99693113b6f62f 100644 (file)
@@ -32,14 +32,14 @@ extern int enc_debug;
 #define IF_RTCD(x) NULL
 #endif
 
-int vp8_encode_intra(VP8_COMP *cpi, MACROBLOCK *x, int use_dc_pred)
+int vp8_encode_intra(VP8_COMP *cpi, MACROBLOCK *x, int use_16x16_pred)
 {
 
     int i;
     int intra_pred_var = 0;
     (void) cpi;
 
-    if (use_dc_pred)
+    if (use_16x16_pred)
     {
         x->e_mbd.mode_info_context->mbmi.mode = DC_PRED;
         x->e_mbd.mode_info_context->mbmi.uv_mode = DC_PRED;
index 9c1fa56842507dda7ddffc50b33f977508555c44..30f7fce16830327e9f3d9c8314307b93659053b5 100644 (file)
@@ -13,7 +13,7 @@
 #define _ENCODEINTRA_H_
 #include "onyx_int.h"
 
-int vp8_encode_intra(VP8_COMP *cpi, MACROBLOCK *x, int use_dc_pred);
+int vp8_encode_intra(VP8_COMP *cpi, MACROBLOCK *x, int use_16x16_pred);
 void vp8_encode_intra16x16mby(const VP8_ENCODER_RTCD *, MACROBLOCK *x);
 void vp8_encode_intra16x16mbuv(const VP8_ENCODER_RTCD *, MACROBLOCK *x);
 void vp8_encode_intra4x4mby(const VP8_ENCODER_RTCD *, MACROBLOCK *mb);