comparison aactab.c @ 10961:34a65026fa06 libavcodec

Move array specifiers outside DECLARE_ALIGNED() invocations
author mru
date Fri, 22 Jan 2010 03:25:11 +0000
parents bcfe2acbf190
children 69f548fd1a3f
comparison
equal deleted inserted replaced
10960:10759fd39860 10961:34a65026fa06
30 #include "libavutil/mem.h" 30 #include "libavutil/mem.h"
31 #include "aac.h" 31 #include "aac.h"
32 32
33 #include <stdint.h> 33 #include <stdint.h>
34 34
35 DECLARE_ALIGNED(16, float, ff_aac_kbd_long_1024[1024]); 35 DECLARE_ALIGNED(16, float, ff_aac_kbd_long_1024)[1024];
36 DECLARE_ALIGNED(16, float, ff_aac_kbd_short_128[128]); 36 DECLARE_ALIGNED(16, float, ff_aac_kbd_short_128)[128];
37 37
38 const uint8_t ff_aac_num_swb_1024[] = { 38 const uint8_t ff_aac_num_swb_1024[] = {
39 41, 41, 47, 49, 49, 51, 47, 47, 43, 43, 43, 40, 40 39 41, 41, 47, 49, 49, 51, 47, 47, 43, 43, 43, 40, 40
40 }; 40 };
41 41
407 407
408 /* NOTE: 408 /* NOTE:
409 * 64.0f is a special value indicating the existence of an escape code in the 409 * 64.0f is a special value indicating the existence of an escape code in the
410 * bitstream. 410 * bitstream.
411 */ 411 */
412 static const DECLARE_ALIGNED_16(float, codebook_vector0[324]) = { 412 static const DECLARE_ALIGNED_16(float, codebook_vector0)[324] = {
413 -1.0000000, -1.0000000, -1.0000000, -1.0000000, 413 -1.0000000, -1.0000000, -1.0000000, -1.0000000,
414 -1.0000000, -1.0000000, -1.0000000, 0.0000000, 414 -1.0000000, -1.0000000, -1.0000000, 0.0000000,
415 -1.0000000, -1.0000000, -1.0000000, 1.0000000, 415 -1.0000000, -1.0000000, -1.0000000, 1.0000000,
416 -1.0000000, -1.0000000, 0.0000000, -1.0000000, 416 -1.0000000, -1.0000000, 0.0000000, -1.0000000,
417 -1.0000000, -1.0000000, 0.0000000, 0.0000000, 417 -1.0000000, -1.0000000, 0.0000000, 0.0000000,
491 1.0000000, 1.0000000, 1.0000000, -1.0000000, 491 1.0000000, 1.0000000, 1.0000000, -1.0000000,
492 1.0000000, 1.0000000, 1.0000000, 0.0000000, 492 1.0000000, 1.0000000, 1.0000000, 0.0000000,
493 1.0000000, 1.0000000, 1.0000000, 1.0000000, 493 1.0000000, 1.0000000, 1.0000000, 1.0000000,
494 }; 494 };
495 495
496 static const DECLARE_ALIGNED_16(float, codebook_vector2[324]) = { 496 static const DECLARE_ALIGNED_16(float, codebook_vector2)[324] = {
497 0.0000000, 0.0000000, 0.0000000, 0.0000000, 497 0.0000000, 0.0000000, 0.0000000, 0.0000000,
498 0.0000000, 0.0000000, 0.0000000, 1.0000000, 498 0.0000000, 0.0000000, 0.0000000, 1.0000000,
499 0.0000000, 0.0000000, 0.0000000, 2.5198421, 499 0.0000000, 0.0000000, 0.0000000, 2.5198421,
500 0.0000000, 0.0000000, 1.0000000, 0.0000000, 500 0.0000000, 0.0000000, 1.0000000, 0.0000000,
501 0.0000000, 0.0000000, 1.0000000, 1.0000000, 501 0.0000000, 0.0000000, 1.0000000, 1.0000000,
575 2.5198421, 2.5198421, 2.5198421, 0.0000000, 575 2.5198421, 2.5198421, 2.5198421, 0.0000000,
576 2.5198421, 2.5198421, 2.5198421, 1.0000000, 576 2.5198421, 2.5198421, 2.5198421, 1.0000000,
577 2.5198421, 2.5198421, 2.5198421, 2.5198421, 577 2.5198421, 2.5198421, 2.5198421, 2.5198421,
578 }; 578 };
579 579
580 static const DECLARE_ALIGNED_16(float, codebook_vector4[162]) = { 580 static const DECLARE_ALIGNED_16(float, codebook_vector4)[162] = {
581 -6.3496042, -6.3496042, -6.3496042, -4.3267487, 581 -6.3496042, -6.3496042, -6.3496042, -4.3267487,
582 -6.3496042, -2.5198421, -6.3496042, -1.0000000, 582 -6.3496042, -2.5198421, -6.3496042, -1.0000000,
583 -6.3496042, 0.0000000, -6.3496042, 1.0000000, 583 -6.3496042, 0.0000000, -6.3496042, 1.0000000,
584 -6.3496042, 2.5198421, -6.3496042, 4.3267487, 584 -6.3496042, 2.5198421, -6.3496042, 4.3267487,
585 -6.3496042, 6.3496042, -4.3267487, -6.3496042, 585 -6.3496042, 6.3496042, -4.3267487, -6.3496042,
619 6.3496042, 0.0000000, 6.3496042, 1.0000000, 619 6.3496042, 0.0000000, 6.3496042, 1.0000000,
620 6.3496042, 2.5198421, 6.3496042, 4.3267487, 620 6.3496042, 2.5198421, 6.3496042, 4.3267487,
621 6.3496042, 6.3496042, 621 6.3496042, 6.3496042,
622 }; 622 };
623 623
624 static const DECLARE_ALIGNED_16(float, codebook_vector6[128]) = { 624 static const DECLARE_ALIGNED_16(float, codebook_vector6)[128] = {
625 0.0000000, 0.0000000, 0.0000000, 1.0000000, 625 0.0000000, 0.0000000, 0.0000000, 1.0000000,
626 0.0000000, 2.5198421, 0.0000000, 4.3267487, 626 0.0000000, 2.5198421, 0.0000000, 4.3267487,
627 0.0000000, 6.3496042, 0.0000000, 8.5498797, 627 0.0000000, 6.3496042, 0.0000000, 8.5498797,
628 0.0000000, 10.9027236, 0.0000000, 13.3905183, 628 0.0000000, 10.9027236, 0.0000000, 13.3905183,
629 1.0000000, 0.0000000, 1.0000000, 1.0000000, 629 1.0000000, 0.0000000, 1.0000000, 1.0000000,
654 13.3905183, 2.5198421, 13.3905183, 4.3267487, 654 13.3905183, 2.5198421, 13.3905183, 4.3267487,
655 13.3905183, 6.3496042, 13.3905183, 8.5498797, 655 13.3905183, 6.3496042, 13.3905183, 8.5498797,
656 13.3905183, 10.9027236, 13.3905183, 13.3905183, 656 13.3905183, 10.9027236, 13.3905183, 13.3905183,
657 }; 657 };
658 658
659 static const DECLARE_ALIGNED_16(float, codebook_vector8[338]) = { 659 static const DECLARE_ALIGNED_16(float, codebook_vector8)[338] = {
660 0.0000000, 0.0000000, 0.0000000, 1.0000000, 660 0.0000000, 0.0000000, 0.0000000, 1.0000000,
661 0.0000000, 2.5198421, 0.0000000, 4.3267487, 661 0.0000000, 2.5198421, 0.0000000, 4.3267487,
662 0.0000000, 6.3496042, 0.0000000, 8.5498797, 662 0.0000000, 6.3496042, 0.0000000, 8.5498797,
663 0.0000000, 10.9027236, 0.0000000, 13.3905183, 663 0.0000000, 10.9027236, 0.0000000, 13.3905183,
664 0.0000000, 16.0000000, 0.0000000, 18.7207544, 664 0.0000000, 16.0000000, 0.0000000, 18.7207544,
742 27.4731418, 16.0000000, 27.4731418, 18.7207544, 742 27.4731418, 16.0000000, 27.4731418, 18.7207544,
743 27.4731418, 21.5443469, 27.4731418, 24.4637810, 743 27.4731418, 21.5443469, 27.4731418, 24.4637810,
744 27.4731418, 27.4731418, 744 27.4731418, 27.4731418,
745 }; 745 };
746 746
747 static const DECLARE_ALIGNED_16(float, codebook_vector10[578]) = { 747 static const DECLARE_ALIGNED_16(float, codebook_vector10)[578] = {
748 0.0000000, 0.0000000, 0.0000000, 1.0000000, 748 0.0000000, 0.0000000, 0.0000000, 1.0000000,
749 0.0000000, 2.5198421, 0.0000000, 4.3267487, 749 0.0000000, 2.5198421, 0.0000000, 4.3267487,
750 0.0000000, 6.3496042, 0.0000000, 8.5498797, 750 0.0000000, 6.3496042, 0.0000000, 8.5498797,
751 0.0000000, 10.9027236, 0.0000000, 13.3905183, 751 0.0000000, 10.9027236, 0.0000000, 13.3905183,
752 0.0000000, 16.0000000, 0.0000000, 18.7207544, 752 0.0000000, 16.0000000, 0.0000000, 18.7207544,