Mercurial > libavcodec.hg
diff h264pred.c @ 12030:22da8afd75a5 libavcodec
Add more int packing macros, name them consistently
author | mru |
---|---|
date | Wed, 30 Jun 2010 22:33:38 +0000 |
parents | fdafbcef52f5 |
children |
line wrap: on
line diff
--- a/h264pred.c Wed Jun 30 22:05:29 2010 +0000 +++ b/h264pred.c Wed Jun 30 22:33:38 2010 +0000 @@ -109,7 +109,7 @@ const int lt= src[-1-1*stride]; LOAD_TOP_EDGE LOAD_TOP_RIGHT_EDGE - uint32_t v = PACK4UINT8((lt + 2*t0 + t1 + 2) >> 2, + uint32_t v = PACK_4U8((lt + 2*t0 + t1 + 2) >> 2, (t0 + 2*t1 + t2 + 2) >> 2, (t1 + 2*t2 + t3 + 2) >> 2, (t2 + 2*t3 + t4 + 2) >> 2);