/external/libvorbis/lib/ |
codebook.h | 13 function: basic shared codebook operations 14 last mod: $Id: codebook.h 17030 2010-03-25 06:52:55Z xiphmont $ 37 long dim; /* codebook dimensions (elements per vector) */ 38 long entries; /* codebook entries */ 58 typedef struct codebook{ struct 59 long dim; /* codebook dimensions (elements per vector) */ 60 long entries; /* codebook entries */ 61 long used_entries; /* populated codebook entries */ 80 } codebook; typedef in typeref:struct:codebook 83 extern int vorbis_book_init_encode(codebook *dest,const static_codebook *source) [all...] |
Makefile.am | 12 res0.c mapping0.c registry.c codebook.c sharedbook.c\ 14 envelope.h lpc.h lsp.h codebook.h misc.h psy.h\ 50 #test_codebook_SOURCES = codebook.c
|
codebook.c | 13 function: basic codebook pack/unpack/code/decode operations 14 last mod: $Id: codebook.c 17030 2010-03-25 06:52:55Z xiphmont $ 23 #include "codebook.h" 28 /* packs the given codebook into the bitstream **************************/ 147 /* unpacks a codebook from the packet buffer into the codebook struct, 148 readies the codebook auxiliary structures for decode *************/ 261 int vorbis_book_encode(codebook *book, int a, oggpack_buffer *b){ 283 STIN long decode_packed_entry_number(codebook *book, oggpack_buffer *b){ 338 the codebook, but set in the code using the codebook. Lik [all...] |
codec_internal.h | 22 #include "codebook.h" 89 psychoacoustic settings, channel setup, options, codebook 121 codebook *fullbooks;
|
sharedbook.c | 13 function: basic shared codebook operations 25 #include "codebook.h" 270 void vorbis_book_clear(codebook *b){ 272 the static codebook belongs to the info struct */ 283 int vorbis_book_init_encode(codebook *c,const static_codebook *s){ 312 /* decode codebook arrangement is more heavily optimized than encode */ 313 int vorbis_book_init_decode(codebook *c,const static_codebook *s){ 331 First, we collapse the likely sparse codebook down only to 430 long vorbis_book_codeword(codebook *book,int entry){ 437 long vorbis_book_codelen(codebook *book,int entry) [all...] |
res0.c | 30 #include "codebook.h" 46 codebook *fullbooks; 47 codebook *phrasebook; 48 codebook ***partbooks; 92 codebook *statebook=look->partbooks[j][k]; 328 static int local_book_besterror(codebook *book,int *a){ 336 /* assumes integer/centered encoder codebook maptype 1 no more than dim 8 */ 358 /* assumes integer/centered encoder codebook maptype 1 no more than dim 8 */ 393 codebook *book,long *acc){ 540 codebook *,long *) [all...] |
floor0.c | 27 #include "codebook.h" 170 codebook *b=ci->fullbooks+info->books[booknum];
|
/external/libvorbis/vq/ |
localcodebook.h | 13 function: basic shared codebook operations 37 long dim; /* codebook dimensions (elements per vector) */ 38 long entries; /* codebook entries */ 58 typedef struct codebook{ struct 59 long dim; /* codebook dimensions (elements per vector) */ 60 long entries; /* codebook entries */ 61 long used_entries; /* populated codebook entries */ 81 } codebook; typedef in typeref:struct:codebook 85 extern int vorbis_book_init_encode(codebook *dest,const static_codebook *source); 86 extern int vorbis_book_init_decode(codebook *dest,const static_codebook *source) [all...] |
bookutil.h | 32 extern int get_vector(codebook *b,FILE *in,int start,int num,float *a); 35 extern codebook *codebook_load(char *filename);
|
metrics.c | 13 function: function calls to collect codebook metrics 52 static float *_now(codebook *c, int i){ 58 void process_preprocess(codebook **bs,char *basename){ 69 fprintf(stderr,"Specify at least one codebook\n"); 74 codebook *b=bs[i]; 93 void cell_spacing(codebook *c){ 125 void process_postprocess(codebook **bs,char *basename){ 150 codebook *b=bs[book]; 209 float process_one(codebook *b,int book,float *a,int dim,int step,int addmul, 262 void process_vector(codebook **bs,int *addmul,int inter,float *a,int n) [all...] |
bookutil.c | 25 int _best(codebook *book, float *a, int step){ 34 /* assumes integer/centered encoder codebook maptype 1 no more than dim 8 */ 53 /* assumes integer/centered encoder codebook maptype 1 no more than dim 8 */ 181 int get_vector(codebook *b,FILE *in,int start, int n,float *a){ 233 codebook *codebook_load(char *filename){ 234 codebook *b=_ogg_calloc(1,sizeof(codebook)); 242 fprintf(stderr,"Couldn't open codebook %s\n",filename); 246 /* find the codebook struct */ 283 fprintf(stderr,"out of data while reading codebook %s\n",filename) [all...] |
latticebuild.c | 26 description into a static codebook. It used to count hits for a 28 currently generates an equal probability codebook) 45 latticebuild produces a codebook on stdout */ 57 codebook b;
|
latticetune.c | 40 codebook *b; 51 fprintf(stderr,"Need a lattice codebook on the command line.\n");
|
distribution.c | 60 codebook *b=codebook_load(argv[1]); 68 printf("entropy codebook only; no mappings\n"); 93 /* lattice codebook. dump it. */ 154 /* trained, full mapping codebook. */ 155 printf("Can't do probability dump of a trained [type 2] codebook (yet)\n");
|
/external/chromium_org/third_party/speex/libspeex/ |
vq.h | 45 void vq_nbest(spx_word16_t *in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack); 47 void vq_nbest_sign(spx_word16_t *in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack); 49 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack); 51 void vq_nbest_sign(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack);
|
vq.c | 75 /*Finds the indices of the n-best entries in a codebook*/ 76 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) 84 dist = MAC16_16(dist,in[j],*codebook++); 109 /*Finds the indices of the n-best entries in a codebook with sign*/ 110 void vq_nbest_sign(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) 118 dist = MAC16_16(dist,in[j],*codebook++);
|
/external/libvorbis/ |
Android.mk | 12 lib/codebook.c \
|
/external/libvorbis/symbian/ |
vorbis.mmp | 38 SOURCE analysis.c barkmel.c bitrate.c block.c codebook.c envelope.c floor0.c floor1.c info.c
|
/external/libvorbis/doc/ |
08-residue.tex | 47 specifies which of multiple configured VQ codebook setups are used to 60 codebook design dictates that each vector is encoded as the additive 62 VQ codebook. Thus, each residue value potentially accumulates values 84 dimension of the codebook used to encode a partition in a specific 85 pass. The dimension of the codebook need not be the same in multiple 87 codebook dimension. 90 by residue 0 using codebook sizes of 8, 4, 2 and 1: 96 codebook dimensions = 8 encoded as: [ 0 1 2 3 4 5 6 7 ] 98 codebook dimensions = 4 encoded as: [ 0 2 4 6 ], [ 1 3 5 7 ] 100 codebook dimensions = 2 encoded as: [ 0 4 ], [ 1 5 ], [ 2 6 ], [ 3 7 [all...] |
03-codebook.tex | 4 \section{Probability Model and Codebooks} \label{vorbis:spec:codebook} 19 The codebook mechanism is built on top of the vorbis bitpacker. Both 27 \subsection{Packed codebook format} 34 \subsubsection{codebook decode} 36 A codebook begins with a 24 bit sync pattern, 0x564342: 79 codebook contains unused entries that are not to be included in the 87 codebook entries: 116 codebook is encoded in ascending length order. Rather than reading 154 Codebook decode precedes according to \varname{[codebook_lookup_type]}: 204 Briefly, each used codebook entry (recall that length-unordere [all...] |
09-helper.tex | 51 representation of a Vorbis codebook float value into the 69 compute the correct length of the value index for a codebook VQ lookup
|
06-floor0.tex | 42 \varname{[floor0_book_list]} that is greater than the maximum codebook 62 5) if ( [booknumber] is greater than the highest number decode codebook ) then packet is undecodable 64 7) vector [temp_vector] = read vector from bitstream using codebook number [floor0_book_list] element [booknumber] in VQ context. 91 required for curve computation. For example, if the VQ codebook used
|
Makefile.am | 59 03-codebook.tex \
|
07-floor1.tex | 162 highest numbered codebook configured in this stream is an error 199 12) [cval] = read from packet using codebook number 209 17) vector [floor1_Y] element ([j]+[offset]) = read from packet using codebook
|
/external/aac/libAACdec/src/ |
aacdec_hcr.cpp | 175 description: Check if codebook and numSect are within allowed range (short only) 554 the current codebook) -- a counter is incremented if there is an error 705 numCodewordInSection. It is assumed that the codebook is a two tuples 706 codebook. This is needed later for the calculation of the base addresses 1049 UCHAR codebook; local [all...] |