FastLED 3.9.15
Loading...
Searching...
No Matches
stb_vorbis.cpp.hpp File Reference
#include "third_party/stb/stb_vorbis.h"
#include "fl/stl/assert.h"
#include "fl/stl/noexcept.h"
#include "fl/stl/stdio.h"
#include "fl/stl/malloc.h"
#include "fl/stl/cstdlib.h"
#include "fl/stl/cstring.h"
#include "fl/math/math.h"
#include "fl/stl/limits.h"
#include "fl/stl/singleton.h"
#include "fl/stl/vector.h"
#include "fl/stl/detail/file_io.h"
#include "fl/stl/compiler_control.h"
+ Include dependency graph for stb_vorbis.cpp.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::third_party::vorbis::Codebook
 
struct  fl::third_party::vorbis::CRCscan
 
union  fl::third_party::vorbis::float_conv
 
union  fl::third_party::vorbis::Floor
 
struct  fl::third_party::vorbis::Floor0
 
struct  fl::third_party::vorbis::Floor1
 
struct  fl::third_party::vorbis::Mapping
 
struct  fl::third_party::vorbis::MappingChannel
 
struct  fl::third_party::vorbis::Mode
 
struct  fl::third_party::vorbis::ProbedPage
 
struct  fl::third_party::vorbis::Residue
 
struct  fl::third_party::vorbis::stb_vorbis
 
struct  fl::third_party::vorbis::stbv__floor_ordering
 
struct  fl::third_party::vorbis::StbvTempBuffer
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::third_party
 
namespace  fl::third_party::vorbis
 

Macros

#define FL_STB_VORBIS_DIVIDE_TABLE
 
#define FL_STB_VORBIS_ENDIAN   0
 
#define FL_STB_VORBIS_FAST_HUFFMAN_LENGTH   10
 
#define FL_STB_VORBIS_FAST_HUFFMAN_SHORT
 
#define FL_STB_VORBIS_MAX_CHANNELS   2
 
#define FL_STB_VORBIS_PUSHDATA_CRC_COUNT   4
 
#define FL_STBV_ADDEND(SHIFT)
 
#define fl_stbv_array_size_required(count, size)
 
#define FL_STBV_CHECK(f)
 
#define fl_stbv_check_endianness()
 
#define FL_STBV_CODEBOOK_ELEMENT(c, off)
 
#define FL_STBV_CODEBOOK_ELEMENT_BASE(c)
 
#define FL_STBV_CODEBOOK_ELEMENT_FAST(c, off)
 
#define FL_STBV_DECODE(var, f, c)
 
#define FL_STBV_DECODE_RAW(var, f, c)
 
#define FL_STBV_DECODE_VQ(var, f, c)
 
#define FL_STBV_FAST_HUFFMAN_TABLE_MASK   (FL_STBV_FAST_HUFFMAN_TABLE_SIZE - 1)
 
#define FL_STBV_FAST_HUFFMAN_TABLE_SIZE   (1 << FL_STB_VORBIS_FAST_HUFFMAN_LENGTH)
 
#define FL_STBV_FAST_SCALED_FLOAT_TO_INT(temp, x, s)
 
#define FL_STBV_FASTDEF(x)
 
#define FL_STBV_IS_PUSH_MODE(f)
 
#define FL_STBV_LIBVORBIS_MDCT   0
 
#define FL_STBV_LINE_OP(a, b)
 
#define FL_STBV_MAGIC(SHIFT)
 
#define fl_stbv_temp_alloc(f, size)
 
#define fl_stbv_temp_alloc_restore(f, p)
 
#define fl_stbv_temp_alloc_save(f)
 
#define fl_stbv_temp_block_array(f, count, size)
 
#define fl_stbv_temp_free(f, p)
 
#define FL_STBV_USE_MEMORY(z)
 

Typedefs

typedef float fl::third_party::vorbis::codetype
 
typedef signed short fl::third_party::vorbis::int16
 
typedef int32_t fl::third_party::vorbis::int32
 
typedef signed char fl::third_party::vorbis::int8
 
typedef char fl::third_party::vorbis::stb_vorbis_float_size_test[sizeof(float)==4 &&sizeof(int32_t)==4]
 
typedef unsigned short fl::third_party::vorbis::uint16
 
typedef uint32_t fl::third_party::vorbis::uint32
 
typedef unsigned char fl::third_party::vorbis::uint8
 
typedef struct stb_vorbis fl::third_party::vorbis::vorb
 
typedef int16 fl::third_party::vorbis::YTYPE
 

Enumerations

enum  { fl::third_party::vorbis::VORBIS_packet_id = 1 , fl::third_party::vorbis::VORBIS_packet_comment = 3 , fl::third_party::vorbis::VORBIS_packet_setup = 5 }
 

Functions

static void fl::third_party::vorbis::add_entry (Codebook *c, uint32 huff_code, int32_t symbol, int32_t count, int32_t len, uint32 *values) FL_NOEXCEPT
 
static uint32_t fl::third_party::vorbis::bit_reverse (uint32_t n) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::capture_pattern (vorb *f) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::codebook_decode (vorb *f, Codebook *c, float *output, int32_t len) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::codebook_decode_deinterleave_repeat (vorb *f, Codebook *c, float **outputs, int32_t ch, int32_t *c_inter_p, int32_t *p_inter_p, int32_t len, int32_t total_decode) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::codebook_decode_scalar_raw (vorb *f, Codebook *c) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::codebook_decode_start (vorb *f, Codebook *c) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::codebook_decode_step (vorb *f, Codebook *c, float *output, int32_t len, int32_t step) FL_NOEXCEPT
 
static void fl::third_party::vorbis::compute_accelerated_huffman (Codebook *c) FL_NOEXCEPT
 
static void fl::third_party::vorbis::compute_bitreverse (int32_t n, uint16 *rev) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::compute_codewords (Codebook *c, uint8 *len, int32_t n, uint32 *values) FL_NOEXCEPT
 
static void fl::third_party::vorbis::compute_samples (int32_t mask, short *output, int32_t num_c, float **data, int32_t d_offset, int32_t len) FL_NOEXCEPT
 
static void fl::third_party::vorbis::compute_sorted_huffman (Codebook *c, uint8 *lengths, uint32 *values) FL_NOEXCEPT
 
static void fl::third_party::vorbis::compute_stereo_samples (short *output, int32_t num_c, float **data, int32_t d_offset, int32_t len) FL_NOEXCEPT
 
static void fl::third_party::vorbis::compute_twiddle_factors (int32_t n, float *A, float *B, float *C) FL_NOEXCEPT
 
static void fl::third_party::vorbis::compute_window (int32_t n, float *window) FL_NOEXCEPT
 
static void fl::third_party::vorbis::convert_channels_short_interleaved (int32_t buf_c, short *buffer, int32_t data_c, float **data, int32_t d_offset, int32_t len) FL_NOEXCEPT
 
static void fl::third_party::vorbis::convert_samples_short (int32_t buf_c, short **buffer, int32_t b_offset, int32_t data_c, float **data, int32_t d_offset, int32_t samples) FL_NOEXCEPT
 
static void fl::third_party::vorbis::copy_samples (short *dest, float *src, int32_t len) FL_NOEXCEPT
 
template<typename T>
enable_if< is_fixed_point< T >::value, T >::type fl::third_party::vorbis::cos (T angle) FL_NOEXCEPT
 
static void fl::third_party::vorbis::crc32_init (void) FL_NOEXCEPT
 
FL_ALWAYS_INLINE uint32 fl::third_party::vorbis::crc32_update (uint32 crc, uint8 byte) FL_NOEXCEPT
 
static void fl::third_party::vorbis::decode_residue (vorb *f, float *residue_buffers[], int32_t ch, int32_t n, int32_t rn, uint8 *do_not_decode) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::do_floor (vorb *f, Mapping *map, int32_t i, int32_t n, float *target, YTYPE *finalY, uint8 *step2_flag) FL_NOEXCEPT
 
FL_ALWAYS_INLINE void fl::third_party::vorbis::draw_line (float *output, int32_t x0, int32_t y0, int32_t x1, int32_t y1, int32_t n) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::error (vorb *f, enum STBVorbisError e) FL_NOEXCEPT
 
template<typename T>
enable_if< is_fixed_point< T >::value, T >::type fl::third_party::vorbis::exp (T x) FL_NOEXCEPT
 
static void * fl::third_party::vorbis::fl_stbv_temp_alloc_impl (vorb *f, int32_t size) FL_NOEXCEPT
 
static void fl::third_party::vorbis::fl_stbv_temp_alloc_restore_impl (vorb *f, int32_t saved) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::fl_stbv_temp_alloc_save_impl (vorb *f) FL_NOEXCEPT
 
static float fl::third_party::vorbis::float32_unpack (uint32 x) FL_NOEXCEPT
 
template<typename T>
constexpr enable_if< is_fixed_point< T >::value, T >::type fl::third_party::vorbis::floor (T x) FL_NOEXCEPT
 
static void fl::third_party::vorbis::flush_packet (vorb *f) FL_NOEXCEPT
 
void fl::third_party::vorbis::free (void *ptr)
 
static uint32 fl::third_party::vorbis::get32 (vorb *f) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::get32_packet (vorb *f) FL_NOEXCEPT
 
static uint8 fl::third_party::vorbis::get8 (vorb *z) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::get8_packet (vorb *f) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::get8_packet_raw (vorb *f) FL_NOEXCEPT
 
static uint32 fl::third_party::vorbis::get_bits (vorb *f, int32_t n) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::get_seek_page_info (stb_vorbis *f, ProbedPage *z) FL_NOEXCEPT
 
static StbvTempBufferfl::third_party::vorbis::get_stbv_temp_buffer () FL_NOEXCEPT
 
static float * fl::third_party::vorbis::get_window (vorb *f, int32_t len) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::getn (vorb *z, uint8 *data, int32_t n) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::go_to_page_before (stb_vorbis *f, uint32_t limit_offset) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::ilog (int32 n) FL_NOEXCEPT
 
static void fl::third_party::vorbis::imdct_step3_inner_r_loop (int32_t lim, float *e, int32_t d0, int32_t k_off, float *A, int32_t k1) FL_NOEXCEPT
 
static void fl::third_party::vorbis::imdct_step3_inner_s_loop (int32_t n, float *e, int32_t i_off, int32_t k_off, float *A, int32_t a_off, int32_t k0) FL_NOEXCEPT
 
static void fl::third_party::vorbis::imdct_step3_inner_s_loop_ld654 (int32_t n, float *e, int32_t i_off, float *A, int32_t base_n) FL_NOEXCEPT
 
static void fl::third_party::vorbis::imdct_step3_iter0_loop (int32_t n, float *e, int32_t i_off, int32_t k_off, float *A) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::include_in_sort (Codebook *c, uint8 len) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::init_blocksize (vorb *f, int32_t b, int32_t n) FL_NOEXCEPT
 
static void fl::third_party::vorbis::inverse_mdct (float *buffer, int32_t n, vorb *f, int32_t blocktype) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::is_whole_packet_present (stb_vorbis *f) FL_NOEXCEPT
 
FL_ALWAYS_INLINE void fl::third_party::vorbis::iter_54 (float *z) FL_NOEXCEPT
 
double fl::third_party::vorbis::ldexp (double value, int exp) FL_NOEXCEPT
 
double fl::third_party::vorbis::log (double value) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::lookup1_values (int32_t entries, int32_t dim) FL_NOEXCEPT
 
static void * fl::third_party::vorbis::make_block_array (void *mem, int32_t count, int32_t size) FL_NOEXCEPT
 
void * fl::third_party::vorbis::malloc (size_t size)
 
static int32_t fl::third_party::vorbis::maybe_start_packet (vorb *f) FL_NOEXCEPT
 
int fl::third_party::vorbis::memcmp (const void *s1, const void *s2, size_t n) FL_NOEXCEPT
 
void * fl::third_party::vorbis::memcpy (void *dest, const void *src, size_t n) FL_NOEXCEPT
 
void * fl::third_party::vorbis::memset (void *s, int c, size_t n) FL_NOEXCEPT
 
static void fl::third_party::vorbis::neighbors (uint16 *x, int32_t n, int32_t *plow, int32_t *phigh) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::next_segment (vorb *f) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::peek_decode_initial (vorb *f, int32_t *p_left_start, int32_t *p_left_end, int32_t *p_right_start, int32_t *p_right_end, int32_t *mode) FL_NOEXCEPT
 
static int fl::third_party::vorbis::point_compare (const void *p, const void *q) FL_NOEXCEPT
 
template<typename T>
enable_if< is_fixed_point< T >::value, T >::type fl::third_party::vorbis::pow (T base, T exp) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::predict_point (int32_t x, int32_t x0, int32_t x1, int32_t y0, int32_t y1) FL_NOEXCEPT
 
FL_ALWAYS_INLINE void fl::third_party::vorbis::prep_huffman (vorb *f) FL_NOEXCEPT
 
void fl::third_party::vorbis::qsort (void *base, size_t nmemb, size_t size, qsort_compare_fn compar)
 
static int32_t fl::third_party::vorbis::residue_decode (vorb *f, Codebook *book, float *target, int32_t offset, int32_t n, int32_t rtype) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::seek_to_sample_coarse (stb_vorbis *f, uint32 sample_number) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::set_file_offset (stb_vorbis *f, uint32_t loc) FL_NOEXCEPT
 
static void fl::third_party::vorbis::setup_free (vorb *f, void *p) FL_NOEXCEPT
 
static void * fl::third_party::vorbis::setup_malloc (vorb *f, int32_t sz) FL_NOEXCEPT
 
static void fl::third_party::vorbis::setup_temp_free (vorb *f, void *p, int32_t sz) FL_NOEXCEPT
 
static void * fl::third_party::vorbis::setup_temp_malloc (vorb *f, int32_t sz) FL_NOEXCEPT
 
template<typename T>
enable_if< is_fixed_point< T >::value, T >::type fl::third_party::vorbis::sin (T angle) FL_NOEXCEPT
 
static void fl::third_party::vorbis::skip (vorb *z, int32_t n) FL_NOEXCEPT
 
static float fl::third_party::vorbis::square (float x) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::start_decoder (vorb *f) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::start_packet (vorb *f) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::start_page (vorb *f) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::start_page_no_capturepattern (vorb *f) FL_NOEXCEPT
 
void fl::third_party::vorbis::stb_vorbis_close (stb_vorbis *p) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_decode_filename (const char *filename, int32_t *channels, int32_t *sample_rate, short **output)
 
int32_t fl::third_party::vorbis::stb_vorbis_decode_frame_pushdata (stb_vorbis *f, const uint8 *data, int32_t data_len, int32_t *channels, float ***output, int32_t *samples) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_decode_memory (const uint8 *mem, int32_t len, int32_t *channels, int32_t *sample_rate, short **output) FL_NOEXCEPT
 
void fl::third_party::vorbis::stb_vorbis_flush_pushdata (stb_vorbis *f) FL_NOEXCEPT
 
stb_vorbis_comment fl::third_party::vorbis::stb_vorbis_get_comment (stb_vorbis *f) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_get_error (stb_vorbis *f) FL_NOEXCEPT
 
uint32_t fl::third_party::vorbis::stb_vorbis_get_file_offset (stb_vorbis *f) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_get_frame_float (stb_vorbis *f, int32_t *channels, float ***output) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_get_frame_short (stb_vorbis *f, int32_t num_c, short **buffer, int32_t num_samples) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_get_frame_short_interleaved (stb_vorbis *f, int32_t num_c, short *buffer, int32_t num_shorts) FL_NOEXCEPT
 
stb_vorbis_info fl::third_party::vorbis::stb_vorbis_get_info (stb_vorbis *f) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_get_sample_offset (stb_vorbis *f) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_get_samples_float (stb_vorbis *f, int32_t channels, float **buffer, int32_t num_samples) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_get_samples_float_interleaved (stb_vorbis *f, int32_t channels, float *buffer, int32_t num_floats) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_get_samples_short (stb_vorbis *f, int32_t channels, short **buffer, int32_t len) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_get_samples_short_interleaved (stb_vorbis *f, int32_t channels, short *buffer, int32_t num_shorts) FL_NOEXCEPT
 
stb_vorbisfl::third_party::vorbis::stb_vorbis_open_file (fl::FILE *file, int32_t close_on_free, int32_t *error, const stb_vorbis_alloc *alloc)
 
stb_vorbisfl::third_party::vorbis::stb_vorbis_open_file_section (fl::FILE *file, int32_t close_on_free, int32_t *error, const stb_vorbis_alloc *alloc, uint32_t length)
 
stb_vorbisfl::third_party::vorbis::stb_vorbis_open_filename (const char *filename, int32_t *error, const stb_vorbis_alloc *alloc)
 
stb_vorbisfl::third_party::vorbis::stb_vorbis_open_memory (const unsigned char *data, int32_t len, int32_t *error, const stb_vorbis_alloc *alloc) FL_NOEXCEPT
 
stb_vorbisfl::third_party::vorbis::stb_vorbis_open_pushdata (const unsigned char *data, int32_t data_len, int32_t *data_used, int32_t *error, const stb_vorbis_alloc *alloc) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_seek (stb_vorbis *f, uint32_t sample_number) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_seek_frame (stb_vorbis *f, uint32_t sample_number) FL_NOEXCEPT
 
int32_t fl::third_party::vorbis::stb_vorbis_seek_start (stb_vorbis *f) FL_NOEXCEPT
 
uint32_t fl::third_party::vorbis::stb_vorbis_stream_length_in_samples (stb_vorbis *f) FL_NOEXCEPT
 
float fl::third_party::vorbis::stb_vorbis_stream_length_in_seconds (stb_vorbis *f) FL_NOEXCEPT
 
static int fl::third_party::vorbis::uint32_compare (const void *p, const void *q) FL_NOEXCEPT
 
static stb_vorbisfl::third_party::vorbis::vorbis_alloc (stb_vorbis *f) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::vorbis_decode_initial (vorb *f, int32_t *p_left_start, int32_t *p_left_end, int32_t *p_right_start, int32_t *p_right_end, int32_t *mode) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::vorbis_decode_packet (vorb *f, int32_t *len, int32_t *p_left, int32_t *p_right) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::vorbis_decode_packet_rest (vorb *f, int32_t *len, Mode *m, int32_t left_start, int32_t left_end, int32_t right_start, int32_t right_end, int32_t *p_left) FL_NOEXCEPT
 
static void fl::third_party::vorbis::vorbis_deinit (stb_vorbis *p) FL_NOEXCEPT
 
static uint32 fl::third_party::vorbis::vorbis_find_page (stb_vorbis *f, uint32 *end, uint32 *last) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::vorbis_finish_frame (stb_vorbis *f, int32_t len, int32_t left, int32_t right) FL_NOEXCEPT
 
static void fl::third_party::vorbis::vorbis_init (stb_vorbis *p, const stb_vorbis_alloc *z) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::vorbis_pump_first_frame (stb_vorbis *f) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::vorbis_search_for_page_pushdata (vorb *f, uint8 *data, int32_t data_len) FL_NOEXCEPT
 
static int32_t fl::third_party::vorbis::vorbis_validate (uint8 *data) FL_NOEXCEPT
 

Variables

static constexpr int8_t fl::third_party::vorbis::C = (PLAYBACK_LEFT | PLAYBACK_RIGHT | PLAYBACK_MONO)
 
static int8 fl::third_party::vorbis::channel_position [7][6]
 
static constexpr uint32_t fl::third_party::vorbis::CRC32_POLY = 0x04c11db7
 
static uint32 fl::third_party::vorbis::crc_table [256]
 
static constexpr int32_t fl::third_party::vorbis::DIVTAB_DENOM = 64
 
static constexpr int32_t fl::third_party::vorbis::DIVTAB_NUMER = 32
 
static constexpr int32_t fl::third_party::vorbis::EOP = -1
 
int8 fl::third_party::vorbis::integer_divide_table [DIVTAB_NUMER][DIVTAB_DENOM]
 
static constexpr int32_t fl::third_party::vorbis::INVALID_BITS = -1
 
static float fl::third_party::vorbis::inverse_db_table [256]
 
static constexpr int8_t fl::third_party::vorbis::L = (PLAYBACK_LEFT | PLAYBACK_MONO)
 
static constexpr int32_t fl::third_party::vorbis::MAX_BLOCKSIZE = (1 << MAX_BLOCKSIZE_LOG)
 
static constexpr int32_t fl::third_party::vorbis::MAX_BLOCKSIZE_LOG = 13
 
static constexpr uint8_t fl::third_party::vorbis::NO_CODE = 255
 
static uint8 fl::third_party::vorbis::ogg_page_header [4] = { 0x4f, 0x67, 0x67, 0x53 }
 
static constexpr uint8_t fl::third_party::vorbis::PAGEFLAG_continued_packet = 1
 
static constexpr uint8_t fl::third_party::vorbis::PAGEFLAG_first_page = 2
 
static constexpr uint8_t fl::third_party::vorbis::PAGEFLAG_last_page = 4
 
static constexpr int8_t fl::third_party::vorbis::PLAYBACK_LEFT = 2
 
static constexpr int8_t fl::third_party::vorbis::PLAYBACK_MONO = 1
 
static constexpr int8_t fl::third_party::vorbis::PLAYBACK_RIGHT = 4
 
static constexpr int8_t fl::third_party::vorbis::R = (PLAYBACK_RIGHT | PLAYBACK_MONO)
 
static constexpr uint32_t fl::third_party::vorbis::SAMPLE_unknown = 0xffffffff
 

Class Documentation

◆ fl::third_party::vorbis::Codebook

struct fl::third_party::vorbis::Codebook
Class Members
uint8 * codeword_lengths
uint32 * codewords
float delta_value
int32_t dimensions
int32_t entries
int16 fast_huffman[FL_STBV_FAST_HUFFMAN_TABLE_SIZE]
uint8 lookup_type
uint32 lookup_values
float minimum_value
codetype * multiplicands
uint8 sequence_p
uint32 * sorted_codewords
int32_t sorted_entries
int32_t * sorted_values
uint8 sparse
uint8 value_bits

◆ fl::third_party::vorbis::CRCscan

struct fl::third_party::vorbis::CRCscan
Class Members
int32_t bytes_done
int32_t bytes_left
uint32 crc_so_far
uint32 goal_crc
uint32 sample_loc

◆ fl::third_party::vorbis::float_conv

union fl::third_party::vorbis::float_conv
Class Members
float f
int32_t i

◆ fl::third_party::vorbis::Floor

union fl::third_party::vorbis::Floor
+ Collaboration diagram for fl::third_party::vorbis::Floor:
Class Members
Floor0 floor0
Floor1 floor1

◆ fl::third_party::vorbis::Floor0

struct fl::third_party::vorbis::Floor0
Class Members
uint8 amplitude_bits
uint8 amplitude_offset
uint16 bark_map_size
uint8 book_list[16]
uint8 number_of_books
uint8 order
uint16 rate

◆ fl::third_party::vorbis::Floor1

struct fl::third_party::vorbis::Floor1
Class Members
uint8 class_dimensions[16]
uint8 class_masterbooks[16]
uint8 class_subclasses[16]
uint8 floor1_multiplier
uint8 neighbors[31 *8+2][2]
uint8 partition_class_list[32]
uint8 partitions
uint8 rangebits
uint8 sorted_order[31 *8+2]
int16 subclass_books[16][8]
int32_t values
uint16 Xlist[31 *8+2]

◆ fl::third_party::vorbis::Mapping

struct fl::third_party::vorbis::Mapping
+ Collaboration diagram for fl::third_party::vorbis::Mapping:
Class Members
MappingChannel * chan
uint16 coupling_steps
uint8 submap_floor[15]
uint8 submap_residue[15]
uint8 submaps

◆ fl::third_party::vorbis::MappingChannel

struct fl::third_party::vorbis::MappingChannel
Class Members
uint8 angle
uint8 magnitude
uint8 mux

◆ fl::third_party::vorbis::Mode

struct fl::third_party::vorbis::Mode
Class Members
uint8 blockflag
uint8 mapping
uint16 transformtype
uint16 windowtype

◆ fl::third_party::vorbis::ProbedPage

struct fl::third_party::vorbis::ProbedPage
Class Members
uint32 last_decoded_sample
uint32 page_end
uint32 page_start

◆ fl::third_party::vorbis::Residue

struct fl::third_party::vorbis::Residue
Class Members
uint32 begin
uint8 classbook
uint8 ** classdata
uint8 classifications
uint32 end
uint32 part_size
int16(* residue_books)[8]

◆ fl::third_party::vorbis::stb_vorbis

struct fl::third_party::vorbis::stb_vorbis
+ Collaboration diagram for fl::third_party::vorbis::stb_vorbis:
Class Members
float * A[2]
uint32 acc
stb_vorbis_alloc alloc
float * B[2]
uint16 * bit_reverse[2]
int32_t blocksize[2]
int32_t blocksize_0
int32_t blocksize_1
uint8 bytes_in_seg
float * C[2]
int32_t channel_buffer_end
int32_t channel_buffer_start
float * channel_buffers[FL_STB_VORBIS_MAX_CHANNELS]
int32_t channels
int32_t close_on_free
int32_t codebook_count
Codebook * codebooks
char ** comment_list
int32_t comment_list_length
uint32 current_loc
int32_t current_loc_valid
int32_t discard_samples_deferred
int32_t end_seg_with_known_loc
int32_t eof
enum STBVorbisError error
FILE * f
uint32 f_start
int16 * finalY[FL_STB_VORBIS_MAX_CHANNELS]
uint32 first_audio_page_offset
uint8 first_decode
Floor * floor_config
int32_t floor_count
uint16 floor_types[64]
uint32 known_loc_for_packet
int32_t last_page
int32_t last_seg
int32_t last_seg_which
Mapping * mapping
int32_t mapping_count
Mode mode_config[64]
int32_t mode_count
int32_t next_seg
float * outputs[FL_STB_VORBIS_MAX_CHANNELS]
ProbedPage p_first
ProbedPage p_last
int32_t packet_bytes
int32_t page_crc_tests
uint8 page_flag
int32_t previous_length
float * previous_window[FL_STB_VORBIS_MAX_CHANNELS]
uint8 push_mode
Residue * residue_config
int32_t residue_count
uint16 residue_types[64]
uint32_t sample_rate
uint32 samples_output
CRCscan scan[FL_STB_VORBIS_PUSHDATA_CRC_COUNT]
int32_t segment_count
uint8 segments[255]
uint32 serial
uint32_t setup_memory_required
int32_t setup_offset
uint32_t setup_temp_memory_required
uint8 * stream
uint8 * stream_end
uint32 stream_len
uint8 * stream_start
uint32_t temp_memory_required
int32_t temp_offset
uint32 total_samples
int32_t valid_bits
char * vendor
float * window[2]

◆ fl::third_party::vorbis::stbv__floor_ordering

struct fl::third_party::vorbis::stbv__floor_ordering
Class Members
uint16 id
uint16 x