Mercurial > libavcodec.hg
comparison vorbis.c @ 3574:f549d1e685f7 libavcodec
vorbis simd tweaks
author | lorenm |
---|---|
date | Fri, 11 Aug 2006 18:19:37 +0000 |
parents | 3bfe36a9db73 |
children | 4ba77dc980f1 |
comparison
equal
deleted
inserted
replaced
3573:7c0a476d0fde | 3574:f549d1e685f7 |
---|---|
760 int_fast32_t * map; | 760 int_fast32_t * map; |
761 int_fast32_t n; //TODO: could theoretically be smaller? | 761 int_fast32_t n; //TODO: could theoretically be smaller? |
762 | 762 |
763 for (blockflag=0;blockflag<2;++blockflag) | 763 for (blockflag=0;blockflag<2;++blockflag) |
764 { | 764 { |
765 n=(blockflag ? vc->blocksize[1] : vc->blocksize[0]) / 2; | 765 n=vc->blocksize[blockflag]/2; |
766 floors[floor_number].data.t0.map[blockflag]= | 766 floors[floor_number].data.t0.map[blockflag]= |
767 av_malloc((n+1) * sizeof(int_fast32_t)); // n+sentinel | 767 av_malloc((n+1) * sizeof(int_fast32_t)); // n+sentinel |
768 | 768 |
769 map=floors[floor_number].data.t0.map[blockflag]; | 769 map=floors[floor_number].data.t0.map[blockflag]; |
770 vf=&floors[floor_number].data.t0; | 770 vf=&floors[floor_number].data.t0; |