comparison aactab.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 69f548fd1a3f
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11368:3d4f64b8fb10 11369:98970e51365a
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,