Mercurial > libavcodec.hg
comparison aac.c @ 7790:209a9ad96a6c libavcodec
Multiply table by -1. This avoid doing this calculation (that was introduced
in my last commit) in real time.
author | vitor |
---|---|
date | Thu, 04 Sep 2008 15:04:08 +0000 |
parents | ffd4b1364b62 |
children | e4edcbbca3f3 |
comparison
equal
deleted
inserted
replaced
7789:5c532e05faea | 7790:209a9ad96a6c |
---|---|
633 coef_compress = get_bits1(gb); | 633 coef_compress = get_bits1(gb); |
634 coef_len = coef_res + 3 - coef_compress; | 634 coef_len = coef_res + 3 - coef_compress; |
635 tmp2_idx = 2*coef_compress + coef_res; | 635 tmp2_idx = 2*coef_compress + coef_res; |
636 | 636 |
637 for (i = 0; i < tns->order[w][filt]; i++) | 637 for (i = 0; i < tns->order[w][filt]; i++) |
638 tns->coef[w][filt][i] = -tns_tmp2_map[tmp2_idx][get_bits(gb, coef_len)]; | 638 tns->coef[w][filt][i] = tns_tmp2_map[tmp2_idx][get_bits(gb, coef_len)]; |
639 } | 639 } |
640 } | 640 } |
641 } | 641 } |
642 return 0; | 642 return 0; |
643 } | 643 } |