newmdct.c File Reference

#include <config.h>
#include "lame.h"
#include "machine.h"
#include "encoder.h"
#include "util.h"
#include "newmdct.h"

Include dependency graph for newmdct.c:

Go to the source code of this file.

Defines

#define NS   12
#define NL   36
#define tantab_l   (win[SHORT_TYPE]+3)
#define cx   (win[SHORT_TYPE]+12)
#define ca   (win[SHORT_TYPE]+20)
#define cs   (win[SHORT_TYPE]+28)

Functions

static void window_subband (const sample_t *x1, FLOAT a[SBLIMIT])
static void mdct_short (FLOAT *inout)
static void mdct_long (FLOAT *out, FLOAT const *in)
void mdct_sub48 (lame_internal_flags *gfc, const sample_t *w0, const sample_t *w1)

Variables

static const FLOAT enwindow []
static const FLOAT win [4][NL]
static const int order []


Define Documentation

#define ca   (win[SHORT_TYPE]+20)

Definition at line 403 of file newmdct.c.

Referenced by III_antialias(), and mdct_sub48().

#define cs   (win[SHORT_TYPE]+28)

Definition at line 404 of file newmdct.c.

Referenced by III_antialias(), and mdct_sub48().

#define cx   (win[SHORT_TYPE]+12)

Definition at line 402 of file newmdct.c.

Referenced by mdct_long().

#define NL   36

Definition at line 231 of file newmdct.c.

Referenced by mdct_sub48().

#define NS   12

Definition at line 230 of file newmdct.c.

Referenced by mdct_sub48().

#define tantab_l   (win[SHORT_TYPE]+3)

Definition at line 401 of file newmdct.c.

Referenced by mdct_sub48().


Function Documentation

static void mdct_long ( FLOAT out,
FLOAT const *  in 
) [inline, static]

Definition at line 870 of file newmdct.c.

References cx.

Referenced by mdct_sub48().

static void mdct_short ( FLOAT inout  )  [inline, static]

Definition at line 833 of file newmdct.c.

References SHORT_TYPE, and win.

Referenced by mdct_sub48().

void mdct_sub48 ( lame_internal_flags gfc,
const sample_t w0,
const sample_t w1 
)

Definition at line 945 of file newmdct.c.

References lame_internal_flags::amp_filter, gr_info::block_type, ca, lame_internal_flags::channels_out, cs, gfc, lame_internal_flags::l3_side, mdct_long(), mdct_short(), gr_info::mixed_block_flag, lame_internal_flags::mode_gr, NL, NS, order, lame_internal_flags::sb_sample, SHORT_TYPE, tantab_l, III_side_info_t::tt, win, window_subband(), and gr_info::xr.

Referenced by lame_encode_frame_init().

Here is the call graph for this function:

static void window_subband ( const sample_t x1,
FLOAT  a[SBLIMIT] 
) [inline, static]

Definition at line 431 of file newmdct.c.

References enwindow, i, and SQRT2.

Referenced by mdct_sub48().


Variable Documentation

const FLOAT enwindow[] [static]

Definition at line 42 of file newmdct.c.

Referenced by window_subband().

const int order[] [static]

Initial value:

 {
    0, 1, 16, 17, 8, 9, 24, 25, 4, 5, 20, 21, 12, 13, 28, 29,
    2, 3, 18, 19, 10, 11, 26, 27, 6, 7, 22, 23, 14, 15, 30, 31
}

Definition at line 423 of file newmdct.c.

Referenced by mdct_sub48().

const FLOAT win[4][NL] [static]

Definition at line 233 of file newmdct.c.


Generated on Sun Dec 2 11:36:27 2007 for LAME by  doxygen 1.5.2