Revision 84dc2d8a libavcodec/atrac1.c

View differences:

libavcodec/atrac1.c
58 58
    int                 log2_block_count[AT1_QMF_BANDS];    ///< log2 number of blocks in a band
59 59
    int                 num_bfus;                           ///< number of Block Floating Units
60 60
    float*              spectrum[2];
61
    DECLARE_ALIGNED_16(float, spec1)[AT1_SU_SAMPLES];     ///< mdct buffer
62
    DECLARE_ALIGNED_16(float, spec2)[AT1_SU_SAMPLES];     ///< mdct buffer
63
    DECLARE_ALIGNED_16(float, fst_qmf_delay)[46];         ///< delay line for the 1st stacked QMF filter
64
    DECLARE_ALIGNED_16(float, snd_qmf_delay)[46];         ///< delay line for the 2nd stacked QMF filter
65
    DECLARE_ALIGNED_16(float, last_qmf_delay)[256+23];    ///< delay line for the last stacked QMF filter
61
    DECLARE_ALIGNED(16, float, spec1)[AT1_SU_SAMPLES];     ///< mdct buffer
62
    DECLARE_ALIGNED(16, float, spec2)[AT1_SU_SAMPLES];     ///< mdct buffer
63
    DECLARE_ALIGNED(16, float, fst_qmf_delay)[46];         ///< delay line for the 1st stacked QMF filter
64
    DECLARE_ALIGNED(16, float, snd_qmf_delay)[46];         ///< delay line for the 2nd stacked QMF filter
65
    DECLARE_ALIGNED(16, float, last_qmf_delay)[256+23];    ///< delay line for the last stacked QMF filter
66 66
} AT1SUCtx;
67 67

  
68 68
/**
......
70 70
 */
71 71
typedef struct {
72 72
    AT1SUCtx            SUs[AT1_MAX_CHANNELS];              ///< channel sound unit
73
    DECLARE_ALIGNED_16(float, spec)[AT1_SU_SAMPLES];      ///< the mdct spectrum buffer
73
    DECLARE_ALIGNED(16, float, spec)[AT1_SU_SAMPLES];      ///< the mdct spectrum buffer
74 74

  
75
    DECLARE_ALIGNED_16(float,  low)[256];
76
    DECLARE_ALIGNED_16(float,  mid)[256];
77
    DECLARE_ALIGNED_16(float, high)[512];
75
    DECLARE_ALIGNED(16, float,  low)[256];
76
    DECLARE_ALIGNED(16, float,  mid)[256];
77
    DECLARE_ALIGNED(16, float, high)[512];
78 78
    float*              bands[3];
79
    DECLARE_ALIGNED_16(float, out_samples)[AT1_MAX_CHANNELS][AT1_SU_SAMPLES];
79
    DECLARE_ALIGNED(16, float, out_samples)[AT1_MAX_CHANNELS][AT1_SU_SAMPLES];
80 80
    FFTContext          mdct_ctx[3];
81 81
    int                 channels;
82 82
    DSPContext          dsp;

Also available in: Unified diff