/external/tremolo/Tremolo/ |
H A D | codebook.h | 34 function: basic shared codebook operations 43 typedef struct codebook{ struct 53 long dim; /* codebook dimensions (elements per vector) */ 61 long used_entries; /* populated codebook entries */ 68 long entries; /* codebook entries */ 70 } codebook; typedef in typeref:struct:codebook 72 extern void vorbis_book_clear(codebook *b); 73 extern int vorbis_book_unpack(oggpack_buffer *b,codebook *c); 75 extern long vorbis_book_decode(codebook *book, oggpack_buffer *b); 76 extern long vorbis_book_decodevs_add(codebook *boo [all...] |
H A D | codebook.c | 34 function: basic codebook pack/unpack/code/decode operations 44 #include "codebook.h" 60 codebook *b,oggpack_buffer *opb,int maptype){ 145 codebook *b, oggpack_buffer *opb,int maptype){ 216 static int _make_decode_table(codebook *s,char *lengthlist,long quantvals, 345 long _book_maptype1_quantvals(codebook *b){ 370 void vorbis_book_clear(codebook *b){ 372 the static codebook belongs to the info struct */ 380 int vorbis_book_unpack(oggpack_buffer *opb,codebook *s){ 619 ogg_uint32_t decode_packed_entry_number(codebook *boo [all...] |
H A D | res012.c | 44 #include "codebook.h" 108 codebook *phrasebook=ci->book_param+info->groupbook; 168 codebook *stagebook=ci->book_param+ 228 codebook *stagebook=ci->book_param+
|
H A D | codec_internal.h | 43 #include "codebook.h" 187 psychoacoustic settings, channel setup, options, codebook 214 codebook *book_param;
|
/external/libvorbis/lib/ |
H A D | 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 *des [all...] |
H A D | 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
|
H A D | 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, bu [all...] |
H A D | codec_internal.h | 22 #include "codebook.h" 89 psychoacoustic settings, channel setup, options, codebook 121 codebook *fullbooks;
|
H A D | 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 *boo [all...] |
H A D | 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 *,lon [all...] |
/external/libvorbis/vq/ |
H A D | 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 *des [all...] |
H A D | bookutil.h | 32 extern int get_vector(codebook *b,FILE *in,int start,int num,float *a); 35 extern codebook *codebook_load(char *filename);
|
H A D | 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 **b [all...] |
H A D | 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 [all...] |
/external/speex/libspeex/ |
H A D | vq_bfin.h | 37 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) argument 67 : "=&D" (dist), "=&a" (codebook), "=&d" (best_dist[0]), "=&d" (nbest[0]), "=&a" (E) 68 : "a" (len-1), "a" (in), "a" (2), "d" (entries), "d" (len<<1), "1" (codebook), "4" (E), "2" (best_dist[0]), "3" (nbest[0]) 90 : "=D" (dist), "=a" (codebook) 91 : "a" (len-1), "a" (in), "a" (2), "1" (codebook), "0" (E[i])
|
H A D | 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);
|
H A D | vq_arm4.h | 36 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) argument 66 "=r" (dead1), "=r" (dead2), "=r" (codebook), "=r" (dead4), 68 : "4" (len), "5" (in), "6" (codebook) 78 const spx_word16_t *code = codebook; 86 codebook++; 113 codebook += 3*len;
|
H A D | 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) argument 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) argument 118 dist = MAC16_16(dist,in[j],*codebook++);
|
H A D | vq_sse.h | 36 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) argument 52 d = _mm_sub_ps(d, _mm_mul_ps(in[j], *codebook++)); 75 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) argument 91 d = _mm_add_ps(d, _mm_mul_ps(in[j], *codebook++));
|
/external/tremolo/ |
H A D | Android.mk | 6 Tremolo/codebook.c \
|
/external/libvorbis/ |
H A D | Android.mk | 12 lib/codebook.c \
|
/external/libvorbis/symbian/ |
H A D | 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/ |
H A D | 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 dimension [all...] |
H A D | 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 204 Briefly, each used codebook entry (recall that length-unordered 266 Similarly, in the original codebook, i [all...] |
/external/aac/libAACdec/src/ |
H A D | 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 811 pSortedCodebook[j] = pCodebook[i]; /* sort codebook */ 1049 UCHAR codebook; local 1083 codebook = pExtendedSortedCodebook[extendedSortedCodebookIdx]; /* get codebook for this extended sorted section and increment ptr to cb of next ext. sort sec */ 1088 dimension = pCbDimension[codebook]; /* get dimension of codebook o [all...] |