Data Structures | Macros | Functions
vorbis.h File Reference
#include <stdint.h>
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  vorbis_floor1_entry


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


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)

Macro Definition Documentation

◆ ilog

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

Definition at line 43 of file vorbis.h.

Function Documentation

◆ ff_vorbis_ready_floor1_list()

int ff_vorbis_ready_floor1_list ( AVCodecContext avctx,
vorbis_floor1_entry list,
int  values 

Definition at line 107 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 39 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 57 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 197 of file vorbis.c.

Referenced by floor_encode(), and vorbis_floor1_decode().