FFmpeg  4.0
Data Structures | Macros | Functions | Variables
vorbis.h File Reference
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  vorbis_floor1_entry
 

Macros

#define ilog(i)   av_log2(2*(i))
 

Functions

int ff_vorbis_ready_floor1_list (AVCodecContext *avctx, vorbis_floor1_entry *list, int values)
 
unsigned int ff_vorbis_nth_root (unsigned int x, unsigned int n)
 
int ff_vorbis_len2vlc (uint8_t *bits, uint32_t *codes, unsigned num)
 
void ff_vorbis_floor1_render_list (vorbis_floor1_entry *list, int values, uint16_t *y_list, int *flag, int multiplier, float *out, int samples)
 
void ff_vorbis_inverse_coupling (float *mag, float *ang, intptr_t blocksize)
 

Variables

const float ff_vorbis_floor1_inverse_db_table [256]
 
const float *const ff_vorbis_vwin [8]
 
const uint8_t ff_vorbis_channel_layout_offsets [8][8]
 
const uint8_t ff_vorbis_encoding_channel_layout_offsets [8][8]
 
const uint64_t ff_vorbis_channel_layouts [9]
 

Macro Definition Documentation

◆ ilog

#define ilog (   i)    av_log2(2*(i))

Function Documentation

◆ ff_vorbis_ready_floor1_list()

int ff_vorbis_ready_floor1_list ( AVCodecContext avctx,
vorbis_floor1_entry list,
int  values 
)

Definition at line 106 of file vorbis.c.

Referenced by create_vorbis_context(), and vorbis_parse_setup_hdr_floors().

◆ ff_vorbis_nth_root()

unsigned int ff_vorbis_nth_root ( unsigned int  x,
unsigned int  n 
)

Definition at line 38 of file vorbis.c.

Referenced by cb_lookup_vals(), and vorbis_parse_setup_hdr_codebooks().

◆ ff_vorbis_len2vlc()

int ff_vorbis_len2vlc ( uint8_t bits,
uint32_t *  codes,
unsigned  num 
)

Definition at line 56 of file vorbis.c.

Referenced by ready_codebook(), and vorbis_parse_setup_hdr_codebooks().

◆ ff_vorbis_floor1_render_list()

void ff_vorbis_floor1_render_list ( vorbis_floor1_entry list,
int  values,
uint16_t *  y_list,
int flag,
int  multiplier,
float *  out,
int  samples 
)

Definition at line 196 of file vorbis.c.

Referenced by floor_encode(), and vorbis_floor1_decode().

◆ ff_vorbis_inverse_coupling()

void ff_vorbis_inverse_coupling ( float *  mag,
float *  ang,
intptr_t  blocksize 
)

Definition at line 1549 of file vorbisdec.c.

Referenced by ff_vorbisdsp_init().

Variable Documentation

◆ ff_vorbis_floor1_inverse_db_table

const float ff_vorbis_floor1_inverse_db_table[256]

Definition at line 2123 of file vorbis_data.c.

Referenced by floor_fit(), render_line(), and render_line_unrolled().

◆ ff_vorbis_vwin

const float* const ff_vorbis_vwin[8]

Definition at line 2190 of file vorbis_data.c.

Referenced by dsp_init(), and vorbis_parse_id_hdr().

◆ ff_vorbis_channel_layout_offsets

const uint8_t ff_vorbis_channel_layout_offsets[8][8]

◆ ff_vorbis_encoding_channel_layout_offsets

const uint8_t ff_vorbis_encoding_channel_layout_offsets[8][8]

Definition at line 36 of file vorbis_data.c.

Referenced by libvorbis_encode_frame().

◆ ff_vorbis_channel_layouts

const uint64_t ff_vorbis_channel_layouts[9]