comparison x86/mpegvideo_mmx_template.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 34a65026fa06
children
comparison
equal deleted inserted replaced
11368:3d4f64b8fb10 11369:98970e51365a
96 int qscale, int *overflow) 96 int qscale, int *overflow)
97 { 97 {
98 x86_reg last_non_zero_p1; 98 x86_reg last_non_zero_p1;
99 int level=0, q; //=0 is because gcc says uninitialized ... 99 int level=0, q; //=0 is because gcc says uninitialized ...
100 const uint16_t *qmat, *bias; 100 const uint16_t *qmat, *bias;
101 DECLARE_ALIGNED_16(int16_t, temp_block)[64]; 101 DECLARE_ALIGNED(16, int16_t, temp_block)[64];
102 102
103 assert((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly? 103 assert((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly?
104 104
105 //s->fdct (block); 105 //s->fdct (block);
106 RENAMEl(ff_fdct) (block); //cannot be anything else ... 106 RENAMEl(ff_fdct) (block); //cannot be anything else ...