vorbis_data.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/mem.h"
#include "vorbis.h"
Include dependency graph for vorbis_data.c:

Go to the source code of this file.

Functions

 DECLARE_ALIGNED (16, static const float, vwin64)[32]
 
 DECLARE_ALIGNED (16, static const float, vwin128)[64]
 
 DECLARE_ALIGNED (16, static const float, vwin256)[128]
 
 DECLARE_ALIGNED (16, static const float, vwin512)[256]
 
 DECLARE_ALIGNED (16, static const float, vwin1024)[512]
 
 DECLARE_ALIGNED (16, static const float, vwin2048)[1024]
 
 DECLARE_ALIGNED (16, static const float, vwin4096)[2048]
 
 DECLARE_ALIGNED (16, static const float, vwin8192)[4096]
 

Variables

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]
 
const float ff_vorbis_floor1_inverse_db_table [256]
 
const float *const ff_vorbis_vwin [8]
 

Function Documentation

DECLARE_ALIGNED ( 16  ,
static const  float,
vwin64   
)
DECLARE_ALIGNED ( 16  ,
static const  float,
vwin128   
)
DECLARE_ALIGNED ( 16  ,
static const  float,
vwin256   
)
DECLARE_ALIGNED ( 16  ,
static const  float,
vwin512   
)
DECLARE_ALIGNED ( 16  ,
static const  float,
vwin1024   
)
DECLARE_ALIGNED ( 16  ,
static const  float,
vwin2048   
)
DECLARE_ALIGNED ( 16  ,
static const  float,
vwin4096   
)
DECLARE_ALIGNED ( 16  ,
static const  float,
vwin8192   
)

Variable Documentation

const uint8_t ff_vorbis_channel_layout_offsets[8][8]
Initial value:
= {
{ 0 },
{ 0, 1 },
{ 0, 2, 1 },
{ 0, 1, 2, 3 },
{ 0, 2, 1, 3, 4 },
{ 0, 2, 1, 5, 3, 4 },
{ 0, 2, 1, 6, 5, 3, 4 },
{ 0, 2, 1, 7, 5, 6, 3, 4 },
}

Definition at line 25 of file vorbis_data.c.

Referenced by libopus_decode_init(), and vorbis_decode_frame().

const uint64_t ff_vorbis_channel_layouts[9]
Initial value:
= {
0
}
#define AV_CH_LAYOUT_7POINT1
#define AV_CH_LAYOUT_SURROUND
#define AV_CH_LAYOUT_STEREO
#define AV_CH_LAYOUT_5POINT1
#define AV_CH_LAYOUT_QUAD
#define AV_CH_LAYOUT_5POINT1_BACK
#define AV_CH_LAYOUT_5POINT0_BACK
#define AV_CH_BACK_CENTER
#define AV_CH_LAYOUT_MONO

Definition at line 47 of file vorbis_data.c.

Referenced by libopus_decode_init(), vorbis_decode_frame(), and vorbis_decode_init().

const uint8_t ff_vorbis_encoding_channel_layout_offsets[8][8]
Initial value:
= {
{ 0 },
{ 0, 1 },
{ 0, 2, 1 },
{ 0, 1, 2, 3 },
{ 0, 2, 1, 3, 4 },
{ 0, 2, 1, 4, 5, 3 },
{ 0, 2, 1, 5, 6, 4, 3 },
{ 0, 2, 1, 6, 7, 4, 5, 3 },
}

Definition at line 36 of file vorbis_data.c.

Referenced by oggvorbis_encode_frame().

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().

const float* const ff_vorbis_vwin[8]
Initial value:
= {
vwin64, vwin128, vwin256, vwin512,
vwin1024, vwin2048, vwin4096, vwin8192
}

Definition at line 2190 of file vorbis_data.c.

Referenced by create_vorbis_context(), and vorbis_parse_id_hdr().