comparison nellymoserdec.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 34a65026fa06
children 4b3da727d832
comparison
equal deleted inserted replaced
11368:3d4f64b8fb10 11369:98970e51365a
41 #include "get_bits.h" 41 #include "get_bits.h"
42 42
43 43
44 typedef struct NellyMoserDecodeContext { 44 typedef struct NellyMoserDecodeContext {
45 AVCodecContext* avctx; 45 AVCodecContext* avctx;
46 DECLARE_ALIGNED_16(float,float_buf)[NELLY_SAMPLES]; 46 DECLARE_ALIGNED(16, float,float_buf)[NELLY_SAMPLES];
47 float state[128]; 47 float state[128];
48 AVLFG random_state; 48 AVLFG random_state;
49 GetBitContext gb; 49 GetBitContext gb;
50 int add_bias; 50 int add_bias;
51 float scale_bias; 51 float scale_bias;
52 DSPContext dsp; 52 DSPContext dsp;
53 FFTContext imdct_ctx; 53 FFTContext imdct_ctx;
54 DECLARE_ALIGNED_16(float,imdct_out)[NELLY_BUF_LEN * 2]; 54 DECLARE_ALIGNED(16, float,imdct_out)[NELLY_BUF_LEN * 2];
55 } NellyMoserDecodeContext; 55 } NellyMoserDecodeContext;
56 56
57 static void overlap_and_window(NellyMoserDecodeContext *s, float *state, float *audio, float *a_in) 57 static void overlap_and_window(NellyMoserDecodeContext *s, float *state, float *audio, float *a_in)
58 { 58 {
59 int bot, top; 59 int bot, top;