Mercurial > libavcodec.hg
diff h264_loopfilter.c @ 11369:98970e51365a libavcodec
Remove DECLARE_ALIGNED_{8,16} macros
These macros are redundant. All uses are replaced with the generic
DECLARE_ALIGNED macro instead.
author | mru |
---|---|
date | Sat, 06 Mar 2010 14:24:59 +0000 |
parents | 10c06a9bd3d9 |
children | 2a4dc3c0b012 |
line wrap: on
line diff
--- a/h264_loopfilter.c Sat Mar 06 12:40:43 2010 +0000 +++ b/h264_loopfilter.c Sat Mar 06 14:24:59 2010 +0000 @@ -477,7 +477,7 @@ int j; for(j=0; j<2; j++, mbn_xy += s->mb_stride){ - DECLARE_ALIGNED_8(int16_t, bS)[4]; + DECLARE_ALIGNED(8, int16_t, bS)[4]; int qp; if( IS_INTRA(mb_type|s->current_picture.mb_type[mbn_xy]) ) { AV_WN64A(bS, 0x0003000300030003ULL); @@ -507,7 +507,7 @@ ( h->chroma_qp[1] + get_chroma_qp( h, 1, s->current_picture.qscale_table[mbn_xy] ) + 1 ) >> 1, h); } }else{ - DECLARE_ALIGNED_8(int16_t, bS)[4]; + DECLARE_ALIGNED(8, int16_t, bS)[4]; int qp; if( IS_INTRA(mb_type|mbm_type)) { @@ -584,7 +584,7 @@ /* Calculate bS */ for( edge = 1; edge < edges; edge++ ) { - DECLARE_ALIGNED_8(int16_t, bS)[4]; + DECLARE_ALIGNED(8, int16_t, bS)[4]; int qp; if( IS_8x8DCT(mb_type & (edge<<24)) ) // (edge&1) && IS_8x8DCT(mb_type) @@ -669,7 +669,7 @@ /* First vertical edge is different in MBAFF frames * There are 8 different bS to compute and 2 different Qp */ - DECLARE_ALIGNED_8(int16_t, bS)[8]; + DECLARE_ALIGNED(8, int16_t, bS)[8]; int qp[2]; int bqp[2]; int rqp[2];