FFmpeg
Macros | Functions
flacdsp.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/internal.h"
#include "libavutil/samplefmt.h"
#include "flacdsp.h"
#include "config.h"
#include "flacdsp_template.c"

Go to the source code of this file.

Macros

#define SAMPLE_SIZE   16
 
#define PLANAR   0
 
#define PLANAR   1
 
#define SAMPLE_SIZE   32
 
#define PLANAR   0
 
#define PLANAR   1
 

Functions

static void flac_lpc_16_c (int32_t *decoded, const int coeffs[32], int pred_order, int qlevel, int len)
 
static void flac_lpc_32_c (int32_t *decoded, const int coeffs[32], int pred_order, int qlevel, int len)
 
static void flac_lpc_33_c (int64_t *decoded, const int32_t *residual, const int coeffs[32], int pred_order, int qlevel, int len)
 
static void flac_wasted_32_c (int32_t *decoded, int wasted, int len)
 
static void flac_wasted_33_c (int64_t *decoded, const int32_t *residual, int wasted, int len)
 
av_cold void ff_flacdsp_init (FLACDSPContext *c, enum AVSampleFormat fmt, int channels)
 

Macro Definition Documentation

◆ SAMPLE_SIZE [1/2]

#define SAMPLE_SIZE   16

Definition at line 37 of file flacdsp.c.

◆ PLANAR [1/4]

#define PLANAR   0

Definition at line 42 of file flacdsp.c.

◆ PLANAR [2/4]

#define PLANAR   1

Definition at line 42 of file flacdsp.c.

◆ SAMPLE_SIZE [2/2]

#define SAMPLE_SIZE   32

Definition at line 37 of file flacdsp.c.

◆ PLANAR [3/4]

#define PLANAR   0

Definition at line 42 of file flacdsp.c.

◆ PLANAR [4/4]

#define PLANAR   1

Definition at line 42 of file flacdsp.c.

Function Documentation

◆ flac_lpc_16_c()

static void flac_lpc_16_c ( int32_t decoded,
const int  coeffs[32],
int  pred_order,
int  qlevel,
int  len 
)
static

Definition at line 45 of file flacdsp.c.

Referenced by ff_flacdsp_init().

◆ flac_lpc_32_c()

static void flac_lpc_32_c ( int32_t decoded,
const int  coeffs[32],
int  pred_order,
int  qlevel,
int  len 
)
static

Definition at line 73 of file flacdsp.c.

Referenced by ff_flacdsp_init().

◆ flac_lpc_33_c()

static void flac_lpc_33_c ( int64_t decoded,
const int32_t residual,
const int  coeffs[32],
int  pred_order,
int  qlevel,
int  len 
)
static

Definition at line 87 of file flacdsp.c.

Referenced by ff_flacdsp_init().

◆ flac_wasted_32_c()

static void flac_wasted_32_c ( int32_t decoded,
int  wasted,
int  len 
)
static

Definition at line 101 of file flacdsp.c.

Referenced by ff_flacdsp_init().

◆ flac_wasted_33_c()

static void flac_wasted_33_c ( int64_t decoded,
const int32_t residual,
int  wasted,
int  len 
)
static

Definition at line 107 of file flacdsp.c.

Referenced by ff_flacdsp_init().

◆ ff_flacdsp_init()

av_cold void ff_flacdsp_init ( FLACDSPContext c,
enum AVSampleFormat  fmt,
int  channels 
)