hvirtual/quicktime/ffmpeg/libavcodec/liba52/a52_internal.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ba_t
struct  expbap_t
struct  a52_state_s

Defines

#define LEVEL_PLUS6DB   2.0
#define LEVEL_PLUS3DB   1.4142135623730951
#define LEVEL_3DB   0.7071067811865476
#define LEVEL_45DB   0.5946035575013605
#define LEVEL_6DB   0.5
#define EXP_REUSE   (0)
#define EXP_D15   (1)
#define EXP_D25   (2)
#define EXP_D45   (3)
#define DELTA_BIT_REUSE   (0)
#define DELTA_BIT_NEW   (1)
#define DELTA_BIT_NONE   (2)
#define DELTA_BIT_RESERVED   (3)
#define ROUND(x)   ((int)((x) + ((x) > 0 ? 0.5 : -0.5)))
#define SAMPLE(x)   (x)
#define LEVEL(x)   (x)
#define MUL(a, b)   ((a) * (b))
#define MUL_L(a, b)   ((a) * (b))
#define MUL_C(a, b)   ((a) * (b))
#define DIV(a, b)   ((a) / (b))
#define BIAS(x)   ((x) + bias)

Typedefs

typedef sample_t quantizer_t

Functions

void a52_bit_allocate (a52_state_t *state, ba_t *ba, int bndstart, int start, int end, int fastleak, int slowleak, expbap_t *expbap)
int a52_downmix_init (int input, int flags, level_t *level, level_t clev, level_t slev)
int a52_downmix_coeff (level_t *coeff, int acmod, int output, level_t level, level_t clev, level_t slev)
void a52_downmix (sample_t *samples, int acmod, int output, sample_t bias, level_t clev, level_t slev)
void a52_upmix (sample_t *samples, int acmod, int output)
void a52_imdct_init (uint32_t mm_accel)
void a52_imdct_256 (sample_t *data, sample_t *delay, sample_t bias)
void a52_imdct_512 (sample_t *data, sample_t *delay, sample_t bias)


Define Documentation

#define BIAS (  )     ((x) + bias)

#define DELTA_BIT_NEW   (1)

Definition at line 102 of file a52_internal.h.

#define DELTA_BIT_NONE   (2)

Definition at line 103 of file a52_internal.h.

#define DELTA_BIT_RESERVED   (3)

Definition at line 104 of file a52_internal.h.

#define DELTA_BIT_REUSE   (0)

Definition at line 101 of file a52_internal.h.

#define DIV ( a,
b   )     ((a) / (b))

Definition at line 134 of file a52_internal.h.

Referenced by a52_downmix_init().

#define EXP_D15   (1)

Definition at line 97 of file a52_internal.h.

#define EXP_D25   (2)

Definition at line 98 of file a52_internal.h.

#define EXP_D45   (3)

Definition at line 99 of file a52_internal.h.

#define EXP_REUSE   (0)

Definition at line 96 of file a52_internal.h.

#define LEVEL (  )     (x)

Definition at line 130 of file a52_internal.h.

Referenced by a52_downmix_init(), and a52_frame().

#define LEVEL_3DB   0.7071067811865476

Definition at line 92 of file a52_internal.h.

Referenced by a52_downmix_coeff(), a52_downmix_init(), and a52_frame().

#define LEVEL_45DB   0.5946035575013605

Definition at line 93 of file a52_internal.h.

Referenced by a52_frame().

#define LEVEL_6DB   0.5

Definition at line 94 of file a52_internal.h.

Referenced by a52_downmix_coeff(), and a52_frame().

#define LEVEL_PLUS3DB   1.4142135623730951

Definition at line 91 of file a52_internal.h.

Referenced by a52_downmix_init().

#define LEVEL_PLUS6DB   2.0

Definition at line 90 of file a52_internal.h.

Referenced by a52_downmix_coeff().

#define MUL ( a,
b   )     ((a) * (b))

Definition at line 131 of file a52_internal.h.

Referenced by idct32().

#define MUL_C ( a,
b   )     ((a) * (b))

Definition at line 133 of file a52_internal.h.

Referenced by a52_downmix_coeff(), a52_downmix_init(), and a52_frame().

#define MUL_L ( a,
b   )     ((a) * (b))

Definition at line 132 of file a52_internal.h.

Referenced by a52_block(), a52_downmix_coeff(), a52_downmix_init(), and coeff_get_coupling().

#define ROUND (  )     ((int)((x) + ((x) > 0 ? 0.5 : -0.5)))

Definition at line 124 of file a52_internal.h.

#define SAMPLE (  )     (x)

Definition at line 129 of file a52_internal.h.

Referenced by a52_imdct_init().


Typedef Documentation

Definition at line 128 of file a52_internal.h.


Function Documentation

void a52_bit_allocate ( a52_state_t state,
ba_t ba,
int  bndstart,
int  start,
int  end,
int  fastleak,
int  slowleak,
expbap_t expbap 
)

void a52_downmix ( sample_t samples,
int  acmod,
int  output,
sample_t  bias,
level_t  clev,
level_t  slev 
)

int a52_downmix_coeff ( level_t coeff,
int  acmod,
int  output,
level_t  level,
level_t  clev,
level_t  slev 
)

int a52_downmix_init ( int  input,
int  flags,
level_t level,
level_t  clev,
level_t  slev 
)

void a52_imdct_256 ( sample_t data,
sample_t delay,
sample_t  bias 
)

Definition at line 282 of file imdct.c.

References a52_imdct_window, BUTTERFLY_0, BUTTERFLY_B, fftorder, ifft64, complex_s::imag, complex_s::real, and window.

Referenced by a52_block().

void a52_imdct_512 ( sample_t data,
sample_t delay,
sample_t  bias 
)

Definition at line 245 of file imdct.c.

References a52_imdct_window, buf, BUTTERFLY_0, BUTTERFLY_B, fftorder, ifft128, complex_s::imag, complex_s::real, and window.

Referenced by a52_block().

void a52_imdct_init ( uint32_t  mm_accel  ) 

Definition at line 345 of file imdct.c.

References a52_imdct_window, besselI0(), fftorder, ifft128, ifft128_c(), ifft64, ifft64_c(), complex_s::imag, M_PI, MM_ACCEL_DJBFFT, complex_s::real, roots128, roots16, roots32, roots64, and SAMPLE.

Referenced by a52_init().

Here is the call graph for this function:

void a52_upmix ( sample_t samples,
int  acmod,
int  output 
)


Generated on Mon Apr 28 14:04:50 2008 for Cinelerra by  doxygen 1.5.5