FFmpeg
Classes | Macros | Typedefs | Functions
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 "bswapdsp.h"
#include "mpegaudio.h"
#include "mpegaudiodsp.h"

Go to the source code of this file.

Classes

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

Macros

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

Typedefs

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

Functions

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

Detailed Description

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