FFmpeg
Data Structures | Macros | Functions
mpc.h File Reference
#include <stdint.h>
#include "libavutil/lfg.h"
#include "libavutil/mem_internal.h"
#include "bswapdsp.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
 

Macros

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

Functions

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.

Definition in file mpc.h.

Macro Definition Documentation

◆ BANDS

#define BANDS   32

Definition at line 41 of file mpc.h.

◆ SAMPLES_PER_BAND

#define SAMPLES_PER_BAND   36

Definition at line 42 of file mpc.h.

◆ MPC_FRAME_SIZE

#define MPC_FRAME_SIZE   (BANDS * SAMPLES_PER_BAND)

Definition at line 43 of file mpc.h.

Function Documentation

◆ ff_mpc_dequantize_and_synth()

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

Definition at line 55 of file mpc.c.

Referenced by mpc7_decode_frame(), and mpc8_decode_frame().