comparison mp3lib/layer3.c @ 23464:1b1fdac4a68c

Align output pointer so that we can use movaps instead of movups in dct64_sse; 1.5% faster decode.
author zuxy
date Wed, 06 Jun 2007 05:13:13 +0000
parents d986b47f1451
children a1a699833dcf
comparison
equal deleted inserted replaced
23463:b4214e05bb3f 23464:1b1fdac4a68c
1258 1258
1259 set_pointer(sideinfo.main_data_begin); 1259 set_pointer(sideinfo.main_data_begin);
1260 1260
1261 granules = (fr->lsf) ? 1 : 2; 1261 granules = (fr->lsf) ? 1 : 2;
1262 for (gr=0;gr<granules;gr++){ 1262 for (gr=0;gr<granules;gr++){
1263 static real hybridIn[2][SBLIMIT][SSLIMIT]; 1263 static DECLARE_ALIGNED(16, real, hybridIn[2][SBLIMIT][SSLIMIT]);
1264 static real hybridOut[2][SSLIMIT][SBLIMIT]; 1264 static DECLARE_ALIGNED(16, real, hybridOut[2][SSLIMIT][SBLIMIT]);
1265 1265
1266 { struct gr_info_s *gr_info = &(sideinfo.ch[0].gr[gr]); 1266 { struct gr_info_s *gr_info = &(sideinfo.ch[0].gr[gr]);
1267 int part2bits; 1267 int part2bits;
1268 if(fr->lsf) 1268 if(fr->lsf)
1269 part2bits = III_get_scale_factors_2(scalefacs[0],gr_info,0); 1269 part2bits = III_get_scale_factors_2(scalefacs[0],gr_info,0);