zenilib
0.5.3.0
|
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ogg/ogg.h>
#include "vorbis/codec.h"
#include "codec_internal.h"
#include "registry.h"
#include "codebook.h"
#include "misc.h"
#include "os.h"
Go to the source code of this file.
Variables | |
const vorbis_func_residue | residue0_exportbundle |
const vorbis_func_residue | residue1_exportbundle |
const vorbis_func_residue | residue2_exportbundle |
|
static |
Definition at line 414 of file res0.c.
References _vorbis_block_alloc(), vorbis_info_residue0::begin, vorbis_info_residue0::classmetric2, vorbis_info_residue0::end, vorbis_info_residue0::grouping, i, j, k, max, memset, and vorbis_info_residue0::partitions.
Referenced by res1_class().
|
static |
Definition at line 536 of file res0.c.
References vorbis_info_residue0::begin, vorbis_info_residue0::end, vorbis_info_residue0::grouping, i, j, k, memset, NULL, vorbis_info_residue0::partitions, ret, vorbis_info_residue0::secondstages, and vorbis_book_encode().
Referenced by res1_forward(), and res2_forward().
|
static |
Definition at line 657 of file res0.c.
References _vorbis_block_alloc(), vorbis_info_residue0::begin, vorbis_info_residue0::end, vorbis_info_residue0::grouping, i, j, k, max, NULL, vorbis_block::opb, vorbis_info_residue0::partvals, vorbis_block::pcmend, vorbis_info_residue0::secondstages, and vorbis_book_decode().
Referenced by res0_inverse(), and res1_inverse().
|
static |
Definition at line 481 of file res0.c.
References _vorbis_block_alloc(), vorbis_info_residue0::begin, vorbis_info_residue0::end, vorbis_info_residue0::grouping, i, j, k, memset, and vorbis_info_residue0::partitions.
Referenced by res2_class().
|
static |
Definition at line 393 of file res0.c.
References codebook::dim, i, local_book_besterror(), and vorbis_book_encode().
Referenced by res1_forward(), and res2_forward().
Definition at line 164 of file res0.c.
References ret.
Referenced by res0_pack(), and res0_unpack().
Definition at line 329 of file res0.c.
References codebook::c, codebook::delta, codebook::dim, e, codebook::entries, i, j, static_codebook::lengthlist, m, memcpy, codebook::minval, and codebook::quantvals.
Referenced by _encodepart().
void res0_free_info | ( | vorbis_info_residue * | i | ) |
Definition at line 69 of file res0.c.
References _ogg_free, and memset.
Referenced by res0_unpack().
void res0_free_look | ( | vorbis_look_residue * | i | ) |
int res0_inverse | ( | vorbis_block * | vb, |
vorbis_look_residue * | vl, | ||
float ** | in, | ||
int * | nonzero, | ||
int | ch | ||
) |
Definition at line 717 of file res0.c.
References _01inverse(), i, and vorbis_book_decodevs_add().
vorbis_look_residue* res0_look | ( | vorbis_dsp_state * | vd, |
vorbis_info_residue * | vr | ||
) |
Definition at line 268 of file res0.c.
References _ogg_calloc, _ogg_malloc, vorbis_info_residue0::booklist, vorbis_info::codec_setup, codec_setup_info::fullbooks, vorbis_info_residue0::groupbook, ilog(), j, k, vorbis_info_residue0::partitions, vorbis_info_residue0::secondstages, and vorbis_dsp_state::vi.
void res0_pack | ( | vorbis_info_residue * | vr, |
oggpack_buffer * | opb | ||
) |
Definition at line 174 of file res0.c.
References vorbis_info_residue0::begin, vorbis_info_residue0::booklist, vorbis_info_residue0::end, vorbis_info_residue0::groupbook, vorbis_info_residue0::grouping, icount(), ilog(), j, oggpack_write(), vorbis_info_residue0::partitions, and vorbis_info_residue0::secondstages.
vorbis_info_residue* res0_unpack | ( | vorbis_info * | vi, |
oggpack_buffer * | opb | ||
) |
Definition at line 204 of file res0.c.
References _ogg_calloc, vorbis_info_residue0::begin, codec_setup_info::book_param, vorbis_info_residue0::booklist, codec_setup_info::books, vorbis_info::codec_setup, static_codebook::dim, vorbis_info_residue0::end, static_codebook::entries, entries, vorbis_info_residue0::groupbook, vorbis_info_residue0::grouping, icount(), j, static_codebook::maptype, NULL, oggpack_read(), vorbis_info_residue0::partitions, vorbis_info_residue0::partvals, res0_free_info(), and vorbis_info_residue0::secondstages.
long** res1_class | ( | vorbis_block * | vb, |
vorbis_look_residue * | vl, | ||
int ** | in, | ||
int * | nonzero, | ||
int | ch | ||
) |
Definition at line 743 of file res0.c.
References _01class(), and i.
int res1_forward | ( | oggpack_buffer * | opb, |
vorbis_block * | vb, | ||
vorbis_look_residue * | vl, | ||
int ** | in, | ||
int * | nonzero, | ||
int | ch, | ||
long ** | partword, | ||
int | submap | ||
) |
Definition at line 729 of file res0.c.
References _01forward(), _encodepart(), and i.
int res1_inverse | ( | vorbis_block * | vb, |
vorbis_look_residue * | vl, | ||
float ** | in, | ||
int * | nonzero, | ||
int | ch | ||
) |
Definition at line 755 of file res0.c.
References _01inverse(), i, and vorbis_book_decodev_add().
long** res2_class | ( | vorbis_block * | vb, |
vorbis_look_residue * | vl, | ||
int ** | in, | ||
int * | nonzero, | ||
int | ch | ||
) |
int res2_forward | ( | oggpack_buffer * | opb, |
vorbis_block * | vb, | ||
vorbis_look_residue * | vl, | ||
int ** | in, | ||
int * | nonzero, | ||
int | ch, | ||
long ** | partword, | ||
int | submap | ||
) |
Definition at line 781 of file res0.c.
References _01forward(), _encodepart(), _vorbis_block_alloc(), i, j, k, and vorbis_block::pcmend.
int res2_inverse | ( | vorbis_block * | vb, |
vorbis_look_residue * | vl, | ||
float ** | in, | ||
int * | nonzero, | ||
int | ch | ||
) |
Definition at line 805 of file res0.c.
References _vorbis_block_alloc(), vorbis_info_residue0::begin, vorbis_info_residue0::end, vorbis_info_residue0::grouping, i, k, max, NULL, vorbis_block::opb, vorbis_info_residue0::partvals, vorbis_block::pcmend, vorbis_info_residue0::secondstages, vorbis_book_decode(), and vorbis_book_decodevv_add().
const vorbis_func_residue residue0_exportbundle |
const vorbis_func_residue residue1_exportbundle |
const vorbis_func_residue residue2_exportbundle |