Libav
|
Vorbis I decoder. More...
#include <inttypes.h>
#include <math.h>
#include "libavutil/float_dsp.h"
#include "avcodec.h"
#include "get_bits.h"
#include "fft.h"
#include "fmtconvert.h"
#include "internal.h"
#include "vorbis.h"
#include "vorbisdsp.h"
#include "xiph.h"
Go to the source code of this file.
Data Structures | |
struct | vorbis_codebook |
struct | vorbis_floor |
union | vorbis_floor::vorbis_floor_u |
struct | vorbis_floor::vorbis_floor_u::vorbis_floor0_s |
struct | vorbis_floor::vorbis_floor_u::vorbis_floor1_s |
struct | vorbis_residue |
struct | vorbis_mapping |
struct | vorbis_mode |
struct | vorbis_context |
Macros | |
#define | BITSTREAM_READER_LE |
#define | V_NB_BITS 8 |
#define | V_NB_BITS2 11 |
#define | V_MAX_VLCS (1 << 16) |
#define | V_MAX_PARTITIONS (1 << 20) |
#define | BARK(x) (13.1f * atan(0.00074f * (x)) + 2.24f * atan(1.85e-8f * (x) * (x)) + 1e-4f * (x)) |
#define | VALIDATE_INDEX(idx, limit) |
#define | GET_VALIDATED_INDEX(idx, bits, limit) |
Typedefs | |
typedef union vorbis_floor_u | vorbis_floor_data |
typedef struct vorbis_floor0_s | vorbis_floor0 |
typedef struct vorbis_floor1_s | vorbis_floor1 |
typedef int(* | vorbis_floor_decode_func) (struct vorbis_context_s *, vorbis_floor_data *, float *) |
Variables | |
static const char | idx_err_str [] = "Index value %d out of range (0 - %d) for %s at %s:%i\n" |
AVCodec | ff_vorbis_decoder |
Vorbis I decoder.
Definition in file vorbisdec.c.
#define BITSTREAM_READER_LE |
Definition at line 28 of file vorbisdec.c.
#define V_NB_BITS 8 |
Definition at line 40 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_codebooks().
#define V_NB_BITS2 11 |
Definition at line 41 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_codebooks().
#define V_MAX_VLCS (1 << 16) |
Definition at line 42 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_codebooks().
#define V_MAX_PARTITIONS (1 << 20) |
Definition at line 43 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_residues().
#define BARK | ( | x | ) | (13.1f * atan(0.00074f * (x)) + 2.24f * atan(1.85e-8f * (x) * (x)) + 1e-4f * (x)) |
Definition at line 156 of file vorbisdec.c.
Referenced by create_map().
#define VALIDATE_INDEX | ( | idx, | |
limit | |||
) |
Definition at line 160 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_floors().
#define GET_VALIDATED_INDEX | ( | idx, | |
bits, | |||
limit | |||
) |
Definition at line 167 of file vorbisdec.c.
Referenced by vorbis_parse_audio_packet(), vorbis_parse_setup_hdr_floors(), vorbis_parse_setup_hdr_mappings(), vorbis_parse_setup_hdr_modes(), and vorbis_parse_setup_hdr_residues().
typedef union vorbis_floor_u vorbis_floor_data |
Definition at line 54 of file vorbisdec.c.
typedef struct vorbis_floor0_s vorbis_floor0 |
Definition at line 55 of file vorbisdec.c.
typedef struct vorbis_floor1_s vorbis_floor1 |
Definition at line 56 of file vorbisdec.c.
typedef int(* vorbis_floor_decode_func) (struct vorbis_context_s *, vorbis_floor_data *, float *) |
Definition at line 60 of file vorbisdec.c.
|
static |
Definition at line 173 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_codebooks().
|
static |
Definition at line 185 of file vorbisdec.c.
Referenced by vorbis_decode_close(), and vorbis_decode_init().
|
static |
Definition at line 230 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr().
|
static |
Definition at line 458 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr().
|
static |
Definition at line 1070 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_floors().
|
static |
Definition at line 826 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_floors().
|
static |
Definition at line 1178 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_floors().
|
static |
Definition at line 484 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr().
|
static |
Definition at line 669 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr().
|
static |
Definition at line 751 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr().
|
static |
Definition at line 861 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr().
|
static |
Definition at line 890 of file vorbisdec.c.
Referenced by vorbis_decode_init().
|
static |
Definition at line 936 of file vorbisdec.c.
Referenced by vorbis_decode_init().
|
static |
Definition at line 1003 of file vorbisdec.c.
|
static |
Definition at line 1302 of file vorbisdec.c.
Referenced by vorbis_residue_decode_internal().
|
static |
Definition at line 1339 of file vorbisdec.c.
Referenced by vorbis_residue_decode().
|
inlinestatic |
Definition at line 1482 of file vorbisdec.c.
Referenced by vorbis_parse_audio_packet().
void ff_vorbis_inverse_coupling | ( | float * | mag, |
float * | ang, | ||
intptr_t | blocksize | ||
) |
Definition at line 1500 of file vorbisdec.c.
Referenced by ff_vorbisdsp_init().
|
static |
Definition at line 1526 of file vorbisdec.c.
Referenced by vorbis_decode_frame().
|
static |
Definition at line 1687 of file vorbisdec.c.
|
static |
Definition at line 1740 of file vorbisdec.c.
|
static |
Definition at line 1749 of file vorbisdec.c.
Definition at line 159 of file vorbisdec.c.
AVCodec ff_vorbis_decoder |
Definition at line 1760 of file vorbisdec.c.