Mercurial > libavcodec.hg
diff h264.c @ 5083:ce36118abbbb libavcodec
rename attribute_unused to av_unused and moves its declaration to common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM
author | benoit |
---|---|
date | Wed, 30 May 2007 09:32:25 +0000 |
parents | 4ff805f87391 |
children | f0ffa056b77c |
line wrap: on
line diff
--- a/h264.c Tue May 29 16:51:55 2007 +0000 +++ b/h264.c Wed May 30 09:32:25 2007 +0000 @@ -1733,22 +1733,22 @@ #define LOAD_TOP_RIGHT_EDGE\ - const int attribute_unused t4= topright[0];\ - const int attribute_unused t5= topright[1];\ - const int attribute_unused t6= topright[2];\ - const int attribute_unused t7= topright[3];\ + const int av_unused t4= topright[0];\ + const int av_unused t5= topright[1];\ + const int av_unused t6= topright[2];\ + const int av_unused t7= topright[3];\ #define LOAD_LEFT_EDGE\ - const int attribute_unused l0= src[-1+0*stride];\ - const int attribute_unused l1= src[-1+1*stride];\ - const int attribute_unused l2= src[-1+2*stride];\ - const int attribute_unused l3= src[-1+3*stride];\ + const int av_unused l0= src[-1+0*stride];\ + const int av_unused l1= src[-1+1*stride];\ + const int av_unused l2= src[-1+2*stride];\ + const int av_unused l3= src[-1+3*stride];\ #define LOAD_TOP_EDGE\ - const int attribute_unused t0= src[ 0-1*stride];\ - const int attribute_unused t1= src[ 1-1*stride];\ - const int attribute_unused t2= src[ 2-1*stride];\ - const int attribute_unused t3= src[ 3-1*stride];\ + const int av_unused t0= src[ 0-1*stride];\ + const int av_unused t1= src[ 1-1*stride];\ + const int av_unused t2= src[ 2-1*stride];\ + const int av_unused t3= src[ 3-1*stride];\ static void pred4x4_down_right_c(uint8_t *src, uint8_t *topright, int stride){ const int lt= src[-1-1*stride]; @@ -2159,7 +2159,7 @@ const int l0 = ((has_topleft ? SRC(-1,-1) : SRC(-1,0)) \ + 2*SRC(-1,0) + SRC(-1,1) + 2) >> 2; \ PL(1) PL(2) PL(3) PL(4) PL(5) PL(6) \ - const int l7 attribute_unused = (SRC(-1,6) + 3*SRC(-1,7) + 2) >> 2 + const int l7 av_unused = (SRC(-1,6) + 3*SRC(-1,7) + 2) >> 2 #define PT(x) \ const int t##x = (SRC(x-1,-1) + 2*SRC(x,-1) + SRC(x+1,-1) + 2) >> 2; @@ -2167,7 +2167,7 @@ const int t0 = ((has_topleft ? SRC(-1,-1) : SRC(0,-1)) \ + 2*SRC(0,-1) + SRC(1,-1) + 2) >> 2; \ PT(1) PT(2) PT(3) PT(4) PT(5) PT(6) \ - const int t7 attribute_unused = ((has_topright ? SRC(8,-1) : SRC(7,-1)) \ + const int t7 av_unused = ((has_topright ? SRC(8,-1) : SRC(7,-1)) \ + 2*SRC(7,-1) + SRC(6,-1) + 2) >> 2 #define PTR(x) \