libavcodec/mpc.h File Reference

Musepack decoder MPEG Audio Layer 1/2 -like codec with frames of 1152 samples divided into 32 subbands. More...

#include "libavutil/lfg.h"
#include "avcodec.h"
#include "get_bits.h"
#include "dsputil.h"
#include "mpegaudio.h"
#include "mpegaudiodsp.h"

Go to the source code of this file.

Data Structures

struct  Band
 Subband structure - hold all variables for each subband. More...
struct  MPCContext

Defines

#define BANDS   32
#define SAMPLES_PER_BAND   36
#define MPC_FRAME_SIZE   (BANDS * SAMPLES_PER_BAND)

Functions

void ff_mpc_init (void)
void ff_mpc_dequantize_and_synth (MPCContext *c, int maxband, void *dst, int channels)


Detailed Description

Musepack decoder MPEG Audio Layer 1/2 -like codec with frames of 1152 samples divided into 32 subbands.

Definition in file mpc.h.


Define Documentation

#define BANDS   32

Definition at line 39 of file mpc.h.

#define MPC_FRAME_SIZE   (BANDS * SAMPLES_PER_BAND)

Definition at line 41 of file mpc.h.

Referenced by mpc7_decode_frame(), mpc8_decode_frame(), and mpc_synth().

#define SAMPLES_PER_BAND   36


Function Documentation

void ff_mpc_dequantize_and_synth ( MPCContext c,
int  maxband,
void *  dst,
int  channels 
)

Definition at line 67 of file mpc.c.

Referenced by mpc7_decode_frame(), and mpc8_decode_frame().

void ff_mpc_init ( void   ) 

Definition at line 38 of file mpc.c.

Referenced by mpc7_decode_init(), and mpc8_decode_init().


Generated on Fri Oct 26 02:46:09 2012 for FFmpeg by  doxygen 1.5.8