#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <limits.h>
Go to the source code of this file.
Classes | |
struct | Codebook |
struct | CRCscan |
union | float_conv |
union | Floor |
struct | Floor0 |
struct | Floor1 |
struct | Mapping |
struct | MappingChannel |
struct | Mode |
struct | ProbedPage |
struct | Residue |
struct | stb_vorbis |
struct | stb_vorbis_alloc |
struct | stb_vorbis_comment |
struct | stb_vorbis_info |
struct | stbv__floor_ordering |
Macros | |
#define | __forceinline |
#define | ADDEND(SHIFT) (((150-SHIFT) << 23) + (1 << 22)) |
#define | array_size_required(count, size) (count*(sizeof(void *)+(size))) |
#define | BUFFER_SIZE 32 |
#define | BUFFER_SIZE 32 |
#define | C (PLAYBACK_LEFT | PLAYBACK_RIGHT | PLAYBACK_MONO) |
#define | CHECK(f) ((void) 0) |
#define | check_endianness() |
#define | CODEBOOK_ELEMENT(c, off) (c->multiplicands[off]) |
#define | CODEBOOK_ELEMENT_BASE(c) (0) |
#define | CODEBOOK_ELEMENT_FAST(c, off) (c->multiplicands[off]) |
#define | CRC32_POLY 0x04c11db7 |
#define | DECODE(var, f, c) |
#define | DECODE_RAW(var, f, c) |
#define | DECODE_VQ(var, f, c) DECODE_RAW(var,f,c) |
#define | EOP (-1) |
#define | FALSE 0 |
#define | FAST_HUFFMAN_TABLE_MASK (FAST_HUFFMAN_TABLE_SIZE - 1) |
#define | FAST_HUFFMAN_TABLE_SIZE (1 << STB_VORBIS_FAST_HUFFMAN_LENGTH) |
#define | FAST_SCALED_FLOAT_TO_INT(temp, x, s) (temp.f = (x) + MAGIC(s), temp.i - ADDEND(s)) |
#define | FASTDEF(x) float_conv x |
#define | INVALID_BITS (-1) |
#define | IS_PUSH_MODE(f) ((f)->push_mode) |
#define | L (PLAYBACK_LEFT | PLAYBACK_MONO) |
#define | LIBVORBIS_MDCT 0 |
#define | LINE_OP(a, b) a *= b |
#define | M_PI 3.14159265358979323846264f |
#define | MAGIC(SHIFT) (1.5f * (1 << (23-SHIFT)) + 0.5f/(1 << SHIFT)) |
#define | MAX_BLOCKSIZE (1 << MAX_BLOCKSIZE_LOG) |
#define | MAX_BLOCKSIZE_LOG 13 |
#define | NO_CODE 255 |
#define | PAGEFLAG_continued_packet 1 |
#define | PAGEFLAG_first_page 2 |
#define | PAGEFLAG_last_page 4 |
#define | PLAYBACK_LEFT 2 |
#define | PLAYBACK_MONO 1 |
#define | PLAYBACK_RIGHT 4 |
#define | R (PLAYBACK_RIGHT | PLAYBACK_MONO) |
#define | SAMPLE_unknown 0xffffffff |
#define | STB_VORBIS_ENDIAN 0 |
#define | STB_VORBIS_FAST_HUFFMAN_LENGTH 10 |
#define | STB_VORBIS_FAST_HUFFMAN_SHORT |
#define | STB_VORBIS_INCLUDE_STB_VORBIS_H |
#define | STB_VORBIS_MAX_CHANNELS 16 |
#define | STB_VORBIS_PUSHDATA_CRC_COUNT 4 |
#define | STBV_CDECL |
#define | temp_alloc(f, size) (f->alloc.alloc_buffer ? setup_temp_malloc(f,size) : alloca(size)) |
#define | temp_alloc_restore(f, p) ((f)->temp_offset = (p)) |
#define | temp_alloc_save(f) ((f)->temp_offset) |
#define | temp_block_array(f, count, size) make_block_array(temp_alloc(f,array_size_required(count,size)), count, size) |
#define | temp_free(f, p) (void)0 |
#define | TRUE 1 |
#define | USE_MEMORY(z) ((z)->stream) |
Typedefs | |
typedef float | codetype |
typedef signed short | int16 |
typedef signed int | int32 |
typedef signed char | int8 |
typedef struct stb_vorbis | stb_vorbis |
typedef char | stb_vorbis_float_size_test[sizeof(float)==4 &&sizeof(int)==4] |
typedef unsigned short | uint16 |
typedef unsigned int | uint32 |
typedef unsigned char | uint8 |
typedef struct stb_vorbis | vorb |
typedef int16 | YTYPE |
Functions | |
static void | add_entry (Codebook *c, uint32 huff_code, int symbol, int count, int len, uint32 *values) |
static unsigned int | bit_reverse (unsigned int n) |
static int | capture_pattern (vorb *f) |
static int | codebook_decode (vorb *f, Codebook *c, float *output, int len) |
static int | codebook_decode_deinterleave_repeat (vorb *f, Codebook *c, float **outputs, int ch, int *c_inter_p, int *p_inter_p, int len, int total_decode) |
static int | codebook_decode_scalar_raw (vorb *f, Codebook *c) |
static int | codebook_decode_start (vorb *f, Codebook *c) |
static int | codebook_decode_step (vorb *f, Codebook *c, float *output, int len, int step) |
static void | compute_accelerated_huffman (Codebook *c) |
static void | compute_bitreverse (int n, uint16 *rev) |
static int | compute_codewords (Codebook *c, uint8 *len, int n, uint32 *values) |
static void | compute_samples (int mask, short *output, int num_c, float **data, int d_offset, int len) |
static void | compute_sorted_huffman (Codebook *c, uint8 *lengths, uint32 *values) |
static void | compute_stereo_samples (short *output, int num_c, float **data, int d_offset, int len) |
static void | compute_twiddle_factors (int n, float *A, float *B, float *C) |
static void | compute_window (int n, float *window) |
static void | convert_channels_short_interleaved (int buf_c, short *buffer, int data_c, float **data, int d_offset, int len) |
static void | convert_samples_short (int buf_c, short **buffer, int b_offset, int data_c, float **data, int d_offset, int samples) |
static void | copy_samples (short *dest, float *src, int len) |
static void | crc32_init (void) |
static __forceinline uint32 | crc32_update (uint32 crc, uint8 byte) |
static void | decode_residue (vorb *f, float *residue_buffers[], int ch, int n, int rn, uint8 *do_not_decode) |
static int | do_floor (vorb *f, Mapping *map, int i, int n, float *target, YTYPE *finalY, uint8 *step2_flag) |
static __forceinline void | draw_line (float *output, int x0, int y0, int x1, int y1, int n) |
static int | error (vorb *f, enum STBVorbisError e) |
static float | float32_unpack (uint32 x) |
static void | flush_packet (vorb *f) |
static uint32 | get32 (vorb *f) |
static int | get32_packet (vorb *f) |
static uint8 | get8 (vorb *z) |
static int | get8_packet (vorb *f) |
static int | get8_packet_raw (vorb *f) |
static uint32 | get_bits (vorb *f, int n) |
static int | get_seek_page_info (stb_vorbis *f, ProbedPage *z) |
static float * | get_window (vorb *f, int len) |
static int | getn (vorb *z, uint8 *data, int n) |
static int | go_to_page_before (stb_vorbis *f, unsigned int limit_offset) |
static int | ilog (int32 n) |
static void | imdct_step3_inner_r_loop (int lim, float *e, int d0, int k_off, float *A, int k1) |
static void | imdct_step3_inner_s_loop (int n, float *e, int i_off, int k_off, float *A, int a_off, int k0) |
static void | imdct_step3_inner_s_loop_ld654 (int n, float *e, int i_off, float *A, int base_n) |
static void | imdct_step3_iter0_loop (int n, float *e, int i_off, int k_off, float *A) |
static int | include_in_sort (Codebook *c, uint8 len) |
static int | init_blocksize (vorb *f, int b, int n) |
static void | inverse_mdct (float *buffer, int n, vorb *f, int blocktype) |
static int | is_whole_packet_present (stb_vorbis *f) |
static __forceinline void | iter_54 (float *z) |
static int | lookup1_values (int entries, int dim) |
static void * | make_block_array (void *mem, int count, int size) |
static int | maybe_start_packet (vorb *f) |
static void | neighbors (uint16 *x, int n, int *plow, int *phigh) |
static int | next_segment (vorb *f) |
static int | peek_decode_initial (vorb *f, int *p_left_start, int *p_left_end, int *p_right_start, int *p_right_end, int *mode) |
static int STBV_CDECL | point_compare (const void *p, const void *q) |
static int | predict_point (int x, int x0, int x1, int y0, int y1) |
static __forceinline void | prep_huffman (vorb *f) |
static int | residue_decode (vorb *f, Codebook *book, float *target, int offset, int n, int rtype) |
static int | seek_to_sample_coarse (stb_vorbis *f, uint32 sample_number) |
static int | set_file_offset (stb_vorbis *f, unsigned int loc) |
static void | setup_free (vorb *f, void *p) |
static void * | setup_malloc (vorb *f, int sz) |
static void | setup_temp_free (vorb *f, void *p, int sz) |
static void * | setup_temp_malloc (vorb *f, int sz) |
static void | skip (vorb *z, int n) |
static float | square (float x) |
static int | start_decoder (vorb *f) |
static int | start_packet (vorb *f) |
static int | start_page (vorb *f) |
static int | start_page_no_capturepattern (vorb *f) |
void | stb_vorbis_close (stb_vorbis *f) |
int | stb_vorbis_decode_filename (const char *filename, int *channels, int *sample_rate, short **output) |
int | stb_vorbis_decode_frame_pushdata (stb_vorbis *f, const unsigned char *datablock, int datablock_length_in_bytes, int *channels, float ***output, int *samples) |
int | stb_vorbis_decode_memory (const unsigned char *mem, int len, int *channels, int *sample_rate, short **output) |
void | stb_vorbis_flush_pushdata (stb_vorbis *f) |
stb_vorbis_comment | stb_vorbis_get_comment (stb_vorbis *f) |
int | stb_vorbis_get_error (stb_vorbis *f) |
unsigned int | stb_vorbis_get_file_offset (stb_vorbis *f) |
int | stb_vorbis_get_frame_float (stb_vorbis *f, int *channels, float ***output) |
int | stb_vorbis_get_frame_short (stb_vorbis *f, int num_c, short **buffer, int num_samples) |
int | stb_vorbis_get_frame_short_interleaved (stb_vorbis *f, int num_c, short *buffer, int num_shorts) |
stb_vorbis_info | stb_vorbis_get_info (stb_vorbis *f) |
int | stb_vorbis_get_sample_offset (stb_vorbis *f) |
int | stb_vorbis_get_samples_float (stb_vorbis *f, int channels, float **buffer, int num_samples) |
int | stb_vorbis_get_samples_float_interleaved (stb_vorbis *f, int channels, float *buffer, int num_floats) |
int | stb_vorbis_get_samples_short (stb_vorbis *f, int channels, short **buffer, int num_samples) |
int | stb_vorbis_get_samples_short_interleaved (stb_vorbis *f, int channels, short *buffer, int num_shorts) |
stb_vorbis * | stb_vorbis_open_file (FILE *f, int close_handle_on_close, int *error, const stb_vorbis_alloc *alloc_buffer) |
stb_vorbis * | stb_vorbis_open_file_section (FILE *f, int close_handle_on_close, int *error, const stb_vorbis_alloc *alloc_buffer, unsigned int len) |
stb_vorbis * | stb_vorbis_open_filename (const char *filename, int *error, const stb_vorbis_alloc *alloc_buffer) |
stb_vorbis * | stb_vorbis_open_memory (const unsigned char *data, int len, int *error, const stb_vorbis_alloc *alloc_buffer) |
stb_vorbis * | stb_vorbis_open_pushdata (const unsigned char *datablock, int datablock_length_in_bytes, int *datablock_memory_consumed_in_bytes, int *error, const stb_vorbis_alloc *alloc_buffer) |
int | stb_vorbis_seek (stb_vorbis *f, unsigned int sample_number) |
int | stb_vorbis_seek_frame (stb_vorbis *f, unsigned int sample_number) |
int | stb_vorbis_seek_start (stb_vorbis *f) |
unsigned int | stb_vorbis_stream_length_in_samples (stb_vorbis *f) |
float | stb_vorbis_stream_length_in_seconds (stb_vorbis *f) |
static int STBV_CDECL | uint32_compare (const void *p, const void *q) |
static stb_vorbis * | vorbis_alloc (stb_vorbis *f) |
static int | vorbis_decode_initial (vorb *f, int *p_left_start, int *p_left_end, int *p_right_start, int *p_right_end, int *mode) |
static int | vorbis_decode_packet (vorb *f, int *len, int *p_left, int *p_right) |
static int | vorbis_decode_packet_rest (vorb *f, int *len, Mode *m, int left_start, int left_end, int right_start, int right_end, int *p_left) |
static void | vorbis_deinit (stb_vorbis *p) |
static uint32 | vorbis_find_page (stb_vorbis *f, uint32 *end, uint32 *last) |
static int | vorbis_finish_frame (stb_vorbis *f, int len, int left, int right) |
static void | vorbis_init (stb_vorbis *p, const stb_vorbis_alloc *z) |
static int | vorbis_pump_first_frame (stb_vorbis *f) |
static int | vorbis_search_for_page_pushdata (vorb *f, uint8 *data, int data_len) |
static int | vorbis_validate (uint8 *data) |
Variables | |
static int8 | channel_position [7][6] |
static uint32 | crc_table [256] |
static float | inverse_db_table [256] |
static uint8 | ogg_page_header [4] = { 0x4f, 0x67, 0x67, 0x53 } |
#define __forceinline |
Definition at line 613 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define ADDEND | ( | SHIFT | ) | (((150-SHIFT) << 23) + (1 << 22)) |
Definition at line 5139 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 915 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define BUFFER_SIZE 32 |
#define BUFFER_SIZE 32 |
#define C (PLAYBACK_LEFT | PLAYBACK_RIGHT | PLAYBACK_MONO) |
Definition at line 5115 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define CHECK | ( | f | ) | ((void) 0) |
Definition at line 630 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define check_endianness | ( | ) |
Definition at line 5141 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define CODEBOOK_ELEMENT | ( | c, | |
off | |||
) | (c->multiplicands[off]) |
Definition at line 1758 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define CODEBOOK_ELEMENT_BASE | ( | c | ) | (0) |
Definition at line 1760 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define CODEBOOK_ELEMENT_FAST | ( | c, | |
off | |||
) | (c->multiplicands[off]) |
Definition at line 1759 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define CRC32_POLY 0x04c11db7 |
Definition at line 976 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define DECODE | ( | var, | |
f, | |||
c | |||
) |
Definition at line 1741 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define DECODE_RAW | ( | var, | |
f, | |||
c | |||
) |
Definition at line 1704 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define DECODE_VQ | ( | var, | |
f, | |||
c | |||
) | DECODE_RAW(var,f,c) |
Definition at line 1746 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define EOP (-1) |
Definition at line 1547 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define FALSE 0 |
Definition at line 646 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define FAST_HUFFMAN_TABLE_MASK (FAST_HUFFMAN_TABLE_SIZE - 1) |
Definition at line 665 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define FAST_HUFFMAN_TABLE_SIZE (1 << STB_VORBIS_FAST_HUFFMAN_LENGTH) |
Definition at line 664 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 5140 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define FASTDEF | ( | x | ) | float_conv x |
Definition at line 5136 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define INVALID_BITS (-1) |
Definition at line 1548 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 895 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define L (PLAYBACK_LEFT | PLAYBACK_MONO) |
Definition at line 5114 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define LIBVORBIS_MDCT 0 |
Definition at line 2352 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define LINE_OP | ( | a, | |
b | |||
) | a *= b |
Definition at line 2010 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define M_PI 3.14159265358979323846264f |
Definition at line 1033 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 5138 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define MAX_BLOCKSIZE (1 << MAX_BLOCKSIZE_LOG) |
Definition at line 634 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define MAX_BLOCKSIZE_LOG 13 |
Definition at line 633 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define NO_CODE 255 |
Definition at line 1037 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define PAGEFLAG_continued_packet 1 |
Definition at line 1427 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define PAGEFLAG_first_page 2 |
Definition at line 1428 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define PAGEFLAG_last_page 4 |
Definition at line 1429 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define PLAYBACK_LEFT 2 |
Definition at line 5111 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define PLAYBACK_MONO 1 |
Definition at line 5110 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define PLAYBACK_RIGHT 4 |
Definition at line 5112 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define R (PLAYBACK_RIGHT | PLAYBACK_MONO) |
Definition at line 5116 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define SAMPLE_unknown 0xffffffff |
Definition at line 4618 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define STB_VORBIS_ENDIAN 0 |
Definition at line 561 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define STB_VORBIS_FAST_HUFFMAN_LENGTH 10 |
Definition at line 479 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define STB_VORBIS_FAST_HUFFMAN_SHORT |
Definition at line 493 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define STB_VORBIS_INCLUDE_STB_VORBIS_H |
Definition at line 74 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define STB_VORBIS_MAX_CHANNELS 16 |
Definition at line 454 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define STB_VORBIS_PUSHDATA_CRC_COUNT 4 |
Definition at line 470 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define STBV_CDECL |
Definition at line 1146 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define temp_alloc | ( | f, | |
size | |||
) | (f->alloc.alloc_buffer ? setup_temp_malloc(f,size) : alloca(size)) |
Definition at line 917 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 920 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 919 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define temp_block_array | ( | f, | |
count, | |||
size | |||
) | make_block_array(temp_alloc(f,array_size_required(count,size)), count, size) |
Definition at line 922 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define temp_free | ( | f, | |
p | |||
) | (void)0 |
Definition at line 918 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define TRUE 1 |
Definition at line 645 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
#define USE_MEMORY | ( | z | ) | ((z)->stream) |
Definition at line 1321 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
typedef float codetype |
Definition at line 649 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
typedef signed short int16 |
Definition at line 640 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
typedef signed int int32 |
Definition at line 642 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
typedef signed char int8 |
Definition at line 638 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
typedef struct stb_vorbis stb_vorbis |
Definition at line 126 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
typedef char stb_vorbis_float_size_test[sizeof(float)==4 &&sizeof(int)==4] |
Definition at line 5135 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
typedef unsigned short uint16 |
Definition at line 639 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
typedef unsigned int uint32 |
Definition at line 641 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
typedef unsigned char uint8 |
Definition at line 637 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
typedef struct stb_vorbis vorb |
Definition at line 898 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 3056 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
anonymous enum |
Enumerator | |
---|---|
VORBIS_packet_id | |
VORBIS_packet_comment | |
VORBIS_packet_setup |
Definition at line 1636 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
enum STBVorbisError |
Definition at line 367 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1062 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 997 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1418 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 1782 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1852 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 1643 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 1762 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1821 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1121 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1265 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 1073 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 5161 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 1166 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 5186 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1241 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1258 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 5251 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 5225 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 5148 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 979 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 990 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 2091 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 3060 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 2021 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 900 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1044 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1579 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 1340 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1569 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 1324 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1562 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1550 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 1586 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 4629 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 3047 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 1350 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 4661 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1014 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 2440 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 2490 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 2573 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 2395 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 1156 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1273 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 2617 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 3505 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 2541 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1228 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 925 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1505 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1290 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1526 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 4841 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1307 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1922 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1621 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 2070 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 4686 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1384 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 950 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 937 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 967 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 956 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1369 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1006 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 3566 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1490 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1484 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1431 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
void stb_vorbis_close | ( | stb_vorbis * | f | ) |
Definition at line 4258 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_decode_filename | ( | const char * | filename, |
int * | channels, | ||
int * | sample_rate, | ||
short ** | output | ||
) |
Definition at line 5331 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_decode_frame_pushdata | ( | stb_vorbis * | f, |
const unsigned char * | datablock, | ||
int | datablock_length_in_bytes, | ||
int * | channels, | ||
float *** | output, | ||
int * | samples | ||
) |
Definition at line 4431 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_decode_memory | ( | const unsigned char * | mem, |
int | len, | ||
int * | channels, | ||
int * | sample_rate, | ||
short ** | output | ||
) |
Definition at line 5371 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
void stb_vorbis_flush_pushdata | ( | stb_vorbis * | f | ) |
Definition at line 4328 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
stb_vorbis_comment stb_vorbis_get_comment | ( | stb_vorbis * | f | ) |
Definition at line 4304 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_get_error | ( | stb_vorbis * | f | ) |
Definition at line 4313 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
unsigned int stb_vorbis_get_file_offset | ( | stb_vorbis * | f | ) |
Definition at line 4531 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_get_frame_float | ( | stb_vorbis * | f, |
int * | channels, | ||
float *** | output | ||
) |
Definition at line 5014 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_get_frame_short | ( | stb_vorbis * | f, |
int | num_c, | ||
short ** | buffer, | ||
int | num_samples | ||
) |
Definition at line 5241 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_get_frame_short_interleaved | ( | stb_vorbis * | f, |
int | num_c, | ||
short * | buffer, | ||
int | num_shorts | ||
) |
Definition at line 5277 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
stb_vorbis_info stb_vorbis_get_info | ( | stb_vorbis * | f | ) |
Definition at line 4292 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_get_sample_offset | ( | stb_vorbis * | f | ) |
Definition at line 4284 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_get_samples_float | ( | stb_vorbis * | f, |
int | channels, | ||
float ** | buffer, | ||
int | num_samples | ||
) |
Definition at line 5438 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_get_samples_float_interleaved | ( | stb_vorbis * | f, |
int | channels, | ||
float * | buffer, | ||
int | num_floats | ||
) |
Definition at line 5411 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_get_samples_short | ( | stb_vorbis * | f, |
int | channels, | ||
short ** | buffer, | ||
int | num_samples | ||
) |
Definition at line 5311 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_get_samples_short_interleaved | ( | stb_vorbis * | f, |
int | channels, | ||
short * | buffer, | ||
int | num_shorts | ||
) |
Definition at line 5290 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
stb_vorbis* stb_vorbis_open_file | ( | FILE * | f, |
int | close_handle_on_close, | ||
int * | error, | ||
const stb_vorbis_alloc * | alloc_buffer | ||
) |
Definition at line 5059 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
stb_vorbis* stb_vorbis_open_file_section | ( | FILE * | f, |
int | close_handle_on_close, | ||
int * | error, | ||
const stb_vorbis_alloc * | alloc_buffer, | ||
unsigned int | len | ||
) |
Definition at line 5038 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
stb_vorbis* stb_vorbis_open_filename | ( | const char * | filename, |
int * | error, | ||
const stb_vorbis_alloc * | alloc_buffer | ||
) |
Definition at line 5069 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
stb_vorbis* stb_vorbis_open_memory | ( | const unsigned char * | data, |
int | len, | ||
int * | error, | ||
const stb_vorbis_alloc * | alloc_buffer | ||
) |
Definition at line 5085 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
stb_vorbis* stb_vorbis_open_pushdata | ( | const unsigned char * | datablock, |
int | datablock_length_in_bytes, | ||
int * | datablock_memory_consumed_in_bytes, | ||
int * | error, | ||
const stb_vorbis_alloc * | alloc_buffer | ||
) |
Definition at line 4501 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_seek | ( | stb_vorbis * | f, |
unsigned int | sample_number | ||
) |
Definition at line 4905 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_seek_frame | ( | stb_vorbis * | f, |
unsigned int | sample_number | ||
) |
Definition at line 4866 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
int stb_vorbis_seek_start | ( | stb_vorbis * | f | ) |
Definition at line 4922 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
unsigned int stb_vorbis_stream_length_in_samples | ( | stb_vorbis * | f | ) |
Definition at line 4932 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
float stb_vorbis_stream_length_in_seconds | ( | stb_vorbis * | f | ) |
Definition at line 5007 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1149 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 4320 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 3111 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 3435 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 3167 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 4195 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 4547 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 3442 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 4265 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 3495 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
Definition at line 4340 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1220 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
|
static |
Definition at line 978 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1933 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.
|
static |
Definition at line 1416 of file rhino/demo/c/pvrecorder/src/miniaudio/extras/stb_vorbis.c.