FFmpeg
Data Structures | Functions | Variables
ac3dsp.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  AC3DSPContext
 

Functions

void ff_ac3dsp_init (AC3DSPContext *c, int bit_exact)
 
void ff_ac3dsp_init_arm (AC3DSPContext *c, int bit_exact)
 
void ff_ac3dsp_init_x86 (AC3DSPContext *c, int bit_exact)
 
void ff_ac3dsp_init_mips (AC3DSPContext *c, int bit_exact)
 
void ff_ac3dsp_downmix (AC3DSPContext *c, float **samples, float **matrix, int out_ch, int in_ch, int len)
 
void ff_ac3dsp_downmix_fixed (AC3DSPContext *c, int32_t **samples, int16_t **matrix, int out_ch, int in_ch, int len)
 
void ff_ac3dsp_set_downmix_x86 (AC3DSPContext *c)
 

Variables

const uint16_t ff_ac3_bap_bits [16]
 Number of mantissa bits written for each bap value. More...
 

Function Documentation

◆ ff_ac3dsp_init()

void ff_ac3dsp_init ( AC3DSPContext c,
int  bit_exact 
)

Definition at line 368 of file ac3dsp.c.

Referenced by ac3_decode_init(), and ff_ac3_encode_init().

◆ ff_ac3dsp_init_arm()

void ff_ac3dsp_init_arm ( AC3DSPContext c,
int  bit_exact 
)

Definition at line 47 of file ac3dsp_init_arm.c.

Referenced by ff_ac3dsp_init().

◆ ff_ac3dsp_init_x86()

void ff_ac3dsp_init_x86 ( AC3DSPContext c,
int  bit_exact 
)

Definition at line 42 of file ac3dsp_init.c.

Referenced by ff_ac3dsp_init().

◆ ff_ac3dsp_init_mips()

void ff_ac3dsp_init_mips ( AC3DSPContext c,
int  bit_exact 
)

Definition at line 403 of file ac3dsp_mips.c.

Referenced by ff_ac3dsp_init().

◆ ff_ac3dsp_downmix()

void ff_ac3dsp_downmix ( AC3DSPContext c,
float **  samples,
float **  matrix,
int  out_ch,
int  in_ch,
int  len 
)

Definition at line 336 of file ac3dsp.c.

Referenced by decode_audio_block().

◆ ff_ac3dsp_downmix_fixed()

void ff_ac3dsp_downmix_fixed ( AC3DSPContext c,
int32_t **  samples,
int16_t **  matrix,
int  out_ch,
int  in_ch,
int  len 
)

Definition at line 309 of file ac3dsp.c.

◆ ff_ac3dsp_set_downmix_x86()

void ff_ac3dsp_set_downmix_x86 ( AC3DSPContext c)

Definition at line 89 of file ac3dsp_init.c.

Referenced by ff_ac3dsp_downmix().

Variable Documentation

◆ ff_ac3_bap_bits

const uint16_t ff_ac3_bap_bits[16]

Number of mantissa bits written for each bap value.

bap values with fractional bits are set to 0 and are calculated separately.

Definition at line 99 of file ac3dsp.c.

Referenced by ac3_compute_mantissa_size_c().