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

#include "../avcodec.h"

Include dependency graph for a52.h:

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

Go to the source code of this file.

Defines

#define A52_CHANNEL   0
#define A52_MONO   1
#define A52_STEREO   2
#define A52_3F   3
#define A52_2F1R   4
#define A52_3F1R   5
#define A52_2F2R   6
#define A52_3F2R   7
#define A52_CHANNEL1   8
#define A52_CHANNEL2   9
#define A52_DOLBY   10
#define A52_CHANNEL_MASK   15
#define A52_LFE   16
#define A52_ADJUST_LEVEL   32

Typedefs

typedef float sample_t
typedef float level_t
typedef struct a52_state_s a52_state_t

Functions

a52_state_ta52_init (uint32_t mm_accel)
sample_ta52_samples (a52_state_t *state)
int a52_syncinfo (uint8_t *buf, int *flags, int *sample_rate, int *bit_rate)
int a52_frame (a52_state_t *state, uint8_t *buf, int *flags, level_t *level, sample_t bias)
void a52_dynrng (a52_state_t *state, level_t(*call)(level_t, void *), void *data)
int a52_block (a52_state_t *state)
void a52_free (a52_state_t *state)


Define Documentation

#define A52_2F1R   4

Definition at line 50 of file a52.h.

Referenced by a52_downmix(), a52_downmix_coeff(), a52_downmix_init(), a52_upmix(), and mpeg3_ac3_header().

#define A52_2F2R   6

#define A52_3F   3

#define A52_3F1R   5

#define A52_3F2R   7

#define A52_ADJUST_LEVEL   32

Definition at line 60 of file a52.h.

Referenced by a52_decode_frame(), and a52_downmix_init().

#define A52_CHANNEL   0

#define A52_CHANNEL1   8

Definition at line 54 of file a52.h.

Referenced by a52_downmix_coeff(), and a52_downmix_init().

#define A52_CHANNEL2   9

Definition at line 55 of file a52.h.

Referenced by a52_downmix(), a52_downmix_coeff(), a52_downmix_init(), and a52_upmix().

#define A52_CHANNEL_MASK   15

#define A52_DOLBY   10

#define A52_LFE   16

#define A52_MONO   1

#define A52_STEREO   2


Typedef Documentation

typedef struct a52_state_s a52_state_t

Definition at line 44 of file a52.h.

typedef float level_t

Definition at line 41 of file a52.h.

typedef float sample_t

Definition at line 40 of file a52.h.


Function Documentation

int a52_block ( a52_state_t state  ) 

void a52_dynrng ( a52_state_t state,
level_t(*)(level_t, void *)  call,
void *  data 
)

Definition at line 200 of file parse.c.

References a52_state_s::dynrngcall, a52_state_s::dynrngdata, and a52_state_s::dynrnge.

Referenced by mpeg3audio_doac3().

int a52_frame ( a52_state_t state,
uint8_t *  buf,
int *  flags,
level_t level,
sample_t  bias 
)

void a52_free ( a52_state_t state  ) 

Definition at line 935 of file parse.c.

References a52_state_s::samples.

Referenced by a52_decode_init(), and mpeg3_delete_ac3().

a52_state_t* a52_init ( uint32_t  mm_accel  ) 

Definition at line 47 of file parse.c.

References a52_imdct_init(), a52_state_s::downmixed, a52_state_s::lfsr_state, memalign, NULL, and a52_state_s::samples.

Referenced by a52_decode_init(), and mpeg3_new_ac3().

Here is the call graph for this function:

sample_t* a52_samples ( a52_state_t state  ) 

Definition at line 74 of file parse.c.

References a52_state_s::samples.

Referenced by a52_decode_init(), and mpeg3_new_ac3().

int a52_syncinfo ( uint8_t *  buf,
int *  flags,
int *  sample_rate,
int *  bit_rate 
)

Definition at line 79 of file parse.c.

References A52_DOLBY, A52_LFE, bitrate, and halfrate.

Referenced by a52_decode_init(), mpeg3_ac3_check(), and mpeg3_ac3_header().


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