Vorbis I decoder. More...
#include <inttypes.h>
#include <math.h>
#include "avcodec.h"
#include "internal.h"
#include "get_bits.h"
#include "dsputil.h"
#include "fft.h"
#include "fmtconvert.h"
#include "vorbis.h"
#include "xiph.h"
#include <assert.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_s |
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 *) |
typedef struct vorbis_context_s | vorbis_context |
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 BARK | ( | x | ) | (13.1f * atan(0.00074f * (x)) + 2.24f * atan(1.85e-8f * (x) * (x)) + 1e-4f * (x)) |
Definition at line 160 of file vorbisdec.c.
Referenced by create_map().
#define BITSTREAM_READER_LE |
Definition at line 28 of file vorbisdec.c.
#define GET_VALIDATED_INDEX | ( | idx, | |
bits, | |||
limit | |||
) |
Definition at line 171 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().
#define V_MAX_PARTITIONS (1 << 20) |
Definition at line 42 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_residues().
#define V_MAX_VLCS (1 << 16) |
Definition at line 41 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_codebooks().
#define V_NB_BITS 8 |
Definition at line 39 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_codebooks().
#define V_NB_BITS2 11 |
Definition at line 40 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_codebooks().
#define VALIDATE_INDEX | ( | idx, | |
limit | |||
) |
Definition at line 164 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_floors().
typedef struct vorbis_context_s vorbis_context |
typedef struct vorbis_floor0_s vorbis_floor0 |
Definition at line 57 of file vorbisdec.c.
typedef struct vorbis_floor1_s vorbis_floor1 |
Definition at line 58 of file vorbisdec.c.
typedef union vorbis_floor_u vorbis_floor_data |
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 62 of file vorbisdec.c.
|
static |
Definition at line 811 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_floors().
|
static |
Definition at line 1702 of file vorbisdec.c.
|
static |
Definition at line 1644 of file vorbisdec.c.
|
static |
Definition at line 980 of file vorbisdec.c.
|
static |
Definition at line 1056 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_floors().
|
static |
Definition at line 1162 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_floors().
|
static |
Definition at line 189 of file vorbisdec.c.
Referenced by vorbis_decode_close(), and vorbis_decode_init().
void vorbis_inverse_coupling | ( | float * | mag, |
float * | ang, | ||
int | blocksize | ||
) |
Definition at line 1460 of file vorbisdec.c.
Referenced by dsputil_init().
|
static |
Definition at line 1486 of file vorbisdec.c.
Referenced by vorbis_decode_frame().
|
static |
Definition at line 915 of file vorbisdec.c.
Referenced by vorbis_decode_init().
|
static |
Definition at line 869 of file vorbisdec.c.
Referenced by vorbis_decode_init().
|
static |
Definition at line 235 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr().
|
static |
Definition at line 484 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr().
|
static |
Definition at line 744 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr().
|
static |
Definition at line 842 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr().
|
static |
Definition at line 664 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().
|
inlinestatic |
Definition at line 1442 of file vorbisdec.c.
Referenced by vorbis_parse_audio_packet().
|
static |
Definition at line 1288 of file vorbisdec.c.
Referenced by vorbis_residue_decode().
|
static |
Definition at line 177 of file vorbisdec.c.
Referenced by vorbis_parse_setup_hdr_codebooks().
AVCodec ff_vorbis_decoder |
Definition at line 1711 of file vorbisdec.c.
|
static |
Definition at line 163 of file vorbisdec.c.