Rename PACK4x8() to PACK4UINT8().
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 22 Jun 2010 20:57:00 +0000 (20:57 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 22 Jun 2010 20:57:00 +0000 (20:57 +0000)
Originally committed as revision 23721 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264pred.c
libavcodec/mathops.h

index 296e44b..52cf14c 100644 (file)
@@ -109,7 +109,7 @@ static void pred4x4_vertical_vp8_c(uint8_t *src, const uint8_t *topright, int st
     const int lt= src[-1-1*stride];
     LOAD_TOP_EDGE
     LOAD_TOP_RIGHT_EDGE
-    uint32_t v = PACK4x8((lt + 2*t0 + t1 + 2) >> 2,
+    uint32_t v = PACK4UINT8((lt + 2*t0 + t1 + 2) >> 2,
                          (t0 + 2*t1 + t2 + 2) >> 2,
                          (t1 + 2*t2 + t3 + 2) >> 2,
                          (t2 + 2*t3 + t4 + 2) >> 2);
index 917112b..ebf57f5 100644 (file)
@@ -148,9 +148,9 @@ if ((y) < (x)) {\
 
 #ifndef PACK4x8
 # if HAVE_BIGENDIAN
-#  define PACK4x8(a,b,c,d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d))
+#  define PACK4UINT8(a,b,c,d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d))
 # else
-#  define PACK4x8(a,b,c,d) (((d) << 24) | ((c) << 16) | ((b) << 8) | (a))
+#  define PACK4UINT8(a,b,c,d) (((d) << 24) | ((c) << 16) | ((b) << 8) | (a))
 # endif
 #endif