LMMS
Loading...
Searching...
No Matches
res0.c File Reference
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "../../ogg.h"
#include "../../codec.h"
#include "codec_internal.h"
#include "registry.h"
#include "codebook.h"
#include "misc.h"
#include "os.h"

Classes

struct  vorbis_look_residue0

Functions

static void res0_free_info (vorbis_info_residue *i)
static void res0_free_look (vorbis_look_residue *i)
static int icount (unsigned int v)
static void res0_pack (vorbis_info_residue *vr, oggpack_buffer *opb)
static vorbis_info_residueres0_unpack (vorbis_info *vi, oggpack_buffer *opb)
static vorbis_look_residueres0_look (vorbis_dsp_state *vd, vorbis_info_residue *vr)
static int local_book_besterror (codebook *book, int *a)
static int _encodepart (oggpack_buffer *opb, int *vec, int n, codebook *book)
static long ** _01class (vorbis_block *vb, vorbis_look_residue *vl, int **in, int ch)
static long ** _2class (vorbis_block *vb, vorbis_look_residue *vl, int **in, int ch)
static int _01forward (oggpack_buffer *opb, vorbis_look_residue *vl, int **in, int ch, long **partword, int(*encode)(oggpack_buffer *, int *, int, codebook *))
static int _01inverse (vorbis_block *vb, vorbis_look_residue *vl, float **in, int ch, long(*decodepart)(codebook *, float *, oggpack_buffer *, int))
static int res0_inverse (vorbis_block *vb, vorbis_look_residue *vl, float **in, int *nonzero, int ch)
static int res1_forward (oggpack_buffer *opb, vorbis_block *vb, vorbis_look_residue *vl, int **in, int *nonzero, int ch, long **partword, int submap)
static long ** res1_class (vorbis_block *vb, vorbis_look_residue *vl, int **in, int *nonzero, int ch)
static int res1_inverse (vorbis_block *vb, vorbis_look_residue *vl, float **in, int *nonzero, int ch)
static long ** res2_class (vorbis_block *vb, vorbis_look_residue *vl, int **in, int *nonzero, int ch)
static int res2_forward (oggpack_buffer *opb, vorbis_block *vb, vorbis_look_residue *vl, int **in, int *nonzero, int ch, long **partword, int submap)
static int res2_inverse (vorbis_block *vb, vorbis_look_residue *vl, float **in, int *nonzero, int ch)

Variables

const vorbis_func_residue residue0_exportbundle
const vorbis_func_residue residue1_exportbundle
const vorbis_func_residue residue2_exportbundle

Function Documentation

◆ _01class()

long ** _01class ( vorbis_block * vb,
vorbis_look_residue * vl,
int ** in,
int ch )
static

◆ _01forward()

int _01forward ( oggpack_buffer * opb,
vorbis_look_residue * vl,
int ** in,
int ch,
long ** partword,
int(* encode )(oggpack_buffer *, int *, int, codebook *) )
static

◆ _01inverse()

int _01inverse ( vorbis_block * vb,
vorbis_look_residue * vl,
float ** in,
int ch,
long(* decodepart )(codebook *, float *, oggpack_buffer *, int) )
static

◆ _2class()

long ** _2class ( vorbis_block * vb,
vorbis_look_residue * vl,
int ** in,
int ch )
static

◆ _encodepart()

int _encodepart ( oggpack_buffer * opb,
int * vec,
int n,
codebook * book )
static

◆ icount()

int icount ( unsigned int v)
static

◆ local_book_besterror()

int local_book_besterror ( codebook * book,
int * a )
static

◆ res0_free_info()

void res0_free_info ( vorbis_info_residue * i)
static

◆ res0_free_look()

void res0_free_look ( vorbis_look_residue * i)
static

◆ res0_inverse()

int res0_inverse ( vorbis_block * vb,
vorbis_look_residue * vl,
float ** in,
int * nonzero,
int ch )
static

◆ res0_look()

vorbis_look_residue * res0_look ( vorbis_dsp_state * vd,
vorbis_info_residue * vr )
static

◆ res0_pack()

void res0_pack ( vorbis_info_residue * vr,
oggpack_buffer * opb )
static

◆ res0_unpack()

vorbis_info_residue * res0_unpack ( vorbis_info * vi,
oggpack_buffer * opb )
static

◆ res1_class()

long ** res1_class ( vorbis_block * vb,
vorbis_look_residue * vl,
int ** in,
int * nonzero,
int ch )
static

◆ res1_forward()

int res1_forward ( oggpack_buffer * opb,
vorbis_block * vb,
vorbis_look_residue * vl,
int ** in,
int * nonzero,
int ch,
long ** partword,
int submap )
static

◆ res1_inverse()

int res1_inverse ( vorbis_block * vb,
vorbis_look_residue * vl,
float ** in,
int * nonzero,
int ch )
static

◆ res2_class()

long ** res2_class ( vorbis_block * vb,
vorbis_look_residue * vl,
int ** in,
int * nonzero,
int ch )
static

◆ res2_forward()

int res2_forward ( oggpack_buffer * opb,
vorbis_block * vb,
vorbis_look_residue * vl,
int ** in,
int * nonzero,
int ch,
long ** partword,
int submap )
static

◆ res2_inverse()

int res2_inverse ( vorbis_block * vb,
vorbis_look_residue * vl,
float ** in,
int * nonzero,
int ch )
static

Variable Documentation

◆ residue0_exportbundle

const vorbis_func_residue residue0_exportbundle
Initial value:
={
}
#define NULL
Definition CarlaBridgeFormat.cpp:30
static vorbis_info_residue * res0_unpack(vorbis_info *vi, oggpack_buffer *opb)
Definition res0.c:191
static int res0_inverse(vorbis_block *vb, vorbis_look_residue *vl, float **in, int *nonzero, int ch)
Definition res0.c:703
static void res0_free_info(vorbis_info_residue *i)
Definition res0.c:65
static void res0_free_look(vorbis_look_residue *i)
Definition res0.c:73
static vorbis_look_residue * res0_look(vorbis_dsp_state *vd, vorbis_info_residue *vr)
Definition res0.c:255

◆ residue1_exportbundle

const vorbis_func_residue residue1_exportbundle
Initial value:
={
}
static int res1_inverse(vorbis_block *vb, vorbis_look_residue *vl, float **in, int *nonzero, int ch)
Definition res0.c:747
static void res0_pack(vorbis_info_residue *vr, oggpack_buffer *opb)
Definition res0.c:161
static int res1_forward(oggpack_buffer *opb, vorbis_block *vb, vorbis_look_residue *vl, int **in, int *nonzero, int ch, long **partword, int submap)
Definition res0.c:715
static long ** res1_class(vorbis_block *vb, vorbis_look_residue *vl, int **in, int *nonzero, int ch)
Definition res0.c:735

◆ residue2_exportbundle

const vorbis_func_residue residue2_exportbundle
Initial value:
={
}
static long ** res2_class(vorbis_block *vb, vorbis_look_residue *vl, int **in, int *nonzero, int ch)
Definition res0.c:759
static int res2_inverse(vorbis_block *vb, vorbis_look_residue *vl, float **in, int *nonzero, int ch)
Definition res0.c:802
static int res2_forward(oggpack_buffer *opb, vorbis_block *vb, vorbis_look_residue *vl, int **in, int *nonzero, int ch, long **partword, int submap)
Definition res0.c:773