Mercurial > libavcodec.hg
comparison h264_loopfilter.c @ 11195:d464f498e19f libavcodec
Use LOCAL_ALIGNED macro for local arrays
author | mru |
---|---|
date | Wed, 17 Feb 2010 20:36:20 +0000 |
parents | d9725977b699 |
children | 10c06a9bd3d9 |
comparison
equal
deleted
inserted
replaced
11194:7b3f6955462b | 11195:d464f498e19f |
---|---|
365 filter_mb_edgech( &img_cb[2*2*uvlinesize], uvlinesize, bS3, qpc, h); | 365 filter_mb_edgech( &img_cb[2*2*uvlinesize], uvlinesize, bS3, qpc, h); |
366 filter_mb_edgech( &img_cr[2*0*uvlinesize], uvlinesize, bSH, qpc1, h); | 366 filter_mb_edgech( &img_cr[2*0*uvlinesize], uvlinesize, bSH, qpc1, h); |
367 filter_mb_edgech( &img_cr[2*2*uvlinesize], uvlinesize, bS3, qpc, h); | 367 filter_mb_edgech( &img_cr[2*2*uvlinesize], uvlinesize, bS3, qpc, h); |
368 return; | 368 return; |
369 } else { | 369 } else { |
370 DECLARE_ALIGNED_8(int16_t, bS)[2][4][4]; | 370 LOCAL_ALIGNED_8(int16_t, bS, [2], [4][4]); |
371 uint64_t (*bSv)[4] = (uint64_t(*)[4])bS; | 371 uint64_t (*bSv)[4] = (uint64_t(*)[4])bS; |
372 int edges; | 372 int edges; |
373 if( IS_8x8DCT(mb_type) && (h->cbp&7) == 7 ) { | 373 if( IS_8x8DCT(mb_type) && (h->cbp&7) == 7 ) { |
374 edges = 4; | 374 edges = 4; |
375 bSv[0][0] = bSv[0][2] = bSv[1][0] = bSv[1][2] = 0x0002000200020002ULL; | 375 bSv[0][0] = bSv[0][2] = bSv[1][0] = bSv[1][2] = 0x0002000200020002ULL; |