Home
last modified time | relevance | path

Searched refs:codebook (Results 1 – 25 of 45) sorted by relevance

12

/external/libvorbis/vq/
Dlocalcodebook.h58 typedef struct codebook{ struct
81 } codebook; typedef
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);
87 extern void vorbis_book_clear(codebook *b);
93 extern int _best(codebook *book, float *a, int step);
97 extern int vorbis_book_besterror(codebook *book,float *a,int step,int addmul);
98 extern long vorbis_book_codeword(codebook *book,int entry);
99 extern long vorbis_book_codelen(codebook *book,int entry);
106 extern int vorbis_book_encode(codebook *book, int a, oggpack_buffer *b);
[all …]
Dmetrics.c52 static float *_now(codebook *c, int i){ in _now()
58 void process_preprocess(codebook **bs,char *basename){ in process_preprocess()
74 codebook *b=bs[i]; in process_preprocess()
93 void cell_spacing(codebook *c){ in cell_spacing()
125 void process_postprocess(codebook **bs,char *basename){ in process_postprocess()
150 codebook *b=bs[book]; in process_postprocess()
209 float process_one(codebook *b,int book,float *a,int dim,int step,int addmul, in process_one()
262 void process_vector(codebook **bs,int *addmul,int inter,float *a,int n){ in process_vector()
267 codebook *b=bs[bi]; in process_vector()
Dbookutil.h32 extern int get_vector(codebook *b,FILE *in,int start,int num,float *a);
35 extern codebook *codebook_load(char *filename);
Dbookutil.c25 int _best(codebook *book, float *a, int step){ in _best()
181 int get_vector(codebook *b,FILE *in,int start, int n,float *a){ in get_vector()
233 codebook *codebook_load(char *filename){ in codebook_load()
234 codebook *b=_ogg_calloc(1,sizeof(codebook)); in codebook_load()
/external/libvorbis/lib/
Dcodebook.h58 typedef struct codebook{ struct
80 } codebook; argument
83 extern int vorbis_book_init_encode(codebook *dest,const static_codebook *source);
84 extern int vorbis_book_init_decode(codebook *dest,const static_codebook *source);
85 extern void vorbis_book_clear(codebook *b);
91 extern int _best(codebook *book, float *a, int step);
95 extern int vorbis_book_besterror(codebook *book,float *a,int step,int addmul);
96 extern long vorbis_book_codeword(codebook *book,int entry);
97 extern long vorbis_book_codelen(codebook *book,int entry);
104 extern int vorbis_book_encode(codebook *book, int a, oggpack_buffer *b);
[all …]
Dcodebook.c261 int vorbis_book_encode(codebook *book, int a, oggpack_buffer *b){ in vorbis_book_encode()
283 STIN long decode_packed_entry_number(codebook *book, oggpack_buffer *b){ in decode_packed_entry_number()
345 long vorbis_book_decode(codebook *book, oggpack_buffer *b){ in vorbis_book_decode()
357 long vorbis_book_decodevs_add(codebook *book,float *a,oggpack_buffer *b,int n){ in vorbis_book_decodevs_add()
376 long vorbis_book_decodev_add(codebook *book,float *a,oggpack_buffer *b,int n){ in vorbis_book_decodev_add()
421 long vorbis_book_decodev_set(codebook *book,float *a,oggpack_buffer *b,int n){ in vorbis_book_decodev_set()
444 long vorbis_book_decodevv_add(codebook *book,float **a,long offset,int ch, in vorbis_book_decodevv_add()
Dres0.c46 codebook *fullbooks;
47 codebook *phrasebook;
48 codebook ***partbooks;
92 codebook *statebook=look->partbooks[j][k]; in res0_free_look()
328 static int local_book_besterror(codebook *book,int *a){ in local_book_besterror()
393 codebook *book,long *acc){ in _encodepart()
540 codebook *,long *), in _01forward() argument
608 codebook *statebook=look->partbooks[partword[j][i]][s]; in _01forward()
658 long (*decodepart)(codebook *, float *, in _01inverse() argument
701 codebook *stagebook=look->partbooks[partword[j][l][k]][s]; in _01inverse()
[all …]
DMakefile.am12 res0.c mapping0.c registry.c codebook.c sharedbook.c\
14 envelope.h lpc.h lsp.h codebook.h misc.h psy.h\
Dsharedbook.c270 void vorbis_book_clear(codebook *b){ in vorbis_book_clear()
283 int vorbis_book_init_encode(codebook *c,const static_codebook *s){ in vorbis_book_init_encode()
313 int vorbis_book_init_decode(codebook *c,const static_codebook *s){ in vorbis_book_init_decode()
430 long vorbis_book_codeword(codebook *book,int entry){ in vorbis_book_codeword()
437 long vorbis_book_codelen(codebook *book,int entry){ in vorbis_book_codelen()
Dcodec_internal.h121 codebook *fullbooks;
/external/tremolo/Tremolo/
Dcodebook.h43 typedef struct codebook{ struct
70 } codebook; typedef
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 *book, ogg_int32_t *a,
78 extern long vorbis_book_decodev_set(codebook *book, ogg_int32_t *a,
80 extern long vorbis_book_decodev_add(codebook *book, ogg_int32_t *a,
82 extern long vorbis_book_decodevv_add(codebook *book, ogg_int32_t **a,
Dcodebook.c62 codebook *b,oggpack_buffer *opb,int maptype){ in decpack()
147 codebook *b, oggpack_buffer *opb,int maptype){ in _make_words()
236 static int _make_decode_table(codebook *s,char *lengthlist,long quantvals, in _make_decode_table()
370 long _book_maptype1_quantvals(codebook *b){ in _book_maptype1_quantvals()
395 void vorbis_book_clear(codebook *b){ in vorbis_book_clear()
405 int vorbis_book_unpack(oggpack_buffer *opb,codebook *s){ in vorbis_book_unpack()
645 ogg_uint32_t decode_packed_entry_number(codebook *book,
648 static inline ogg_uint32_t decode_packed_entry_number(codebook *book, in decode_packed_entry_number()
749 long vorbis_book_decode(codebook *book, oggpack_buffer *b){ in vorbis_book_decode()
755 int decode_map(codebook *s, oggpack_buffer *b, ogg_int32_t *v, int point);
[all …]
Dres012.c108 codebook *phrasebook=ci->book_param+info->groupbook; in res_inverse()
169 codebook *stagebook=ci->book_param+ in res_inverse()
230 codebook *stagebook=ci->book_param+ in res_inverse()
/external/speex/libspeex/
Dvq_arm4.h36 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E… in vq_nbest() argument
66 "=r" (dead1), "=r" (dead2), "=r" (codebook), "=r" (dead4), in vq_nbest()
68 : "4" (len), "5" (in), "6" (codebook) in vq_nbest()
78 const spx_word16_t *code = codebook; in vq_nbest()
86 codebook++; in vq_nbest()
113 codebook += 3*len; in vq_nbest()
Dvq_bfin.h37 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E… in vq_nbest() argument
67 : "=&D" (dist), "=&a" (codebook), "=&d" (best_dist[0]), "=&d" (nbest[0]), "=&a" (E) in vq_nbest()
68 …: "a" (len-1), "a" (in), "a" (2), "d" (entries), "d" (len<<1), "1" (codebook), "4" (E), "2" (best_… in vq_nbest()
90 : "=D" (dist), "=a" (codebook) in vq_nbest()
91 : "a" (len-1), "a" (in), "a" (2), "1" (codebook), "0" (E[i]) in vq_nbest()
Dvq.h45 void vq_nbest(spx_word16_t *in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int…
47 void vq_nbest_sign(spx_word16_t *in, const __m128 *codebook, int len, int entries, __m128 *E, int N…
49 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E…
51 void vq_nbest_sign(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32…
Dvq.c76 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E… in vq_nbest() argument
84 dist = MAC16_16(dist,in[j],*codebook++); in vq_nbest()
110 void vq_nbest_sign(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32… in vq_nbest_sign() argument
118 dist = MAC16_16(dist,in[j],*codebook++); in vq_nbest_sign()
Dvq_sse.h36 void vq_nbest(spx_word16_t *_in, const __m128 *codebook, int len, int entries, __m128 *E, int N, in… in vq_nbest() argument
52 d = _mm_sub_ps(d, _mm_mul_ps(in[j], *codebook++)); in vq_nbest()
75 void vq_nbest_sign(spx_word16_t *_in, const __m128 *codebook, int len, int entries, __m128 *E, int … in vq_nbest_sign() argument
91 d = _mm_add_ps(d, _mm_mul_ps(in[j], *codebook++)); in vq_nbest_sign()
/external/libvorbis/doc/
D08-residue.tex47 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 …]
D03-codebook.tex4 \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, it's clear that the tree is fully
[all …]
D06-floor0.tex42 \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 undecodab…
64 …7) vector [temp_vector] = read vector from bitstream using codebook number [floor0_book_list] elem…
91 required for curve computation. For example, if the VQ codebook used
/external/aac/libAACdec/src/
Daacdec_hcr.cpp1049 UCHAR codebook; in DecodePCWs() local
1083codebook = pExtendedSortedCodebook[extendedSortedCodebookIdx]; /* get codebook for this … in DecodePCWs()
1088 …dimension = pCbDimension[codebook]; /* get dimension of codebook of this extended s… in DecodePCWs()
1089 pCurrentTree = aHuffTable [codebook]; /* convert codebook to pointer to QSCs */ in DecodePCWs()
1090 …pQuantValBase = aQuantTable [codebook]; /* convert codebook to index to table of QSCs */ in DecodePCWs()
1100 …if ( pCbSign[codebook] == 0 ) { /* no sign bits follow after the codeword-body … in DecodePCWs()
1142 …else if (( pCbSign[codebook] == 1 ) && ( codebook < 11 )) { /* possibly there follow 1,2,3 or 4 s… in DecodePCWs()
1188 …else if (( pCbSign[codebook] == 1 ) && ( codebook >= 11 )) { /* possibly there follow some sign bi… in DecodePCWs()
/external/libvorbis/macosx/Vorbis.xcodeproj/
Dproject.pbxproj26 …738836060B18FFFD005C7A69 /* codebook.c in Sources */ = {isa = PBXBuildFile; fileRef = F5D8F6230338…
52 …F5D8F62303389C830112CE8F /* codebook.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecod…
53 …F5D8F62403389C830112CE8F /* codebook.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecod…
172 F5D8F62303389C830112CE8F /* codebook.c */,
173 F5D8F62403389C830112CE8F /* codebook.h */,
351 738836060B18FFFD005C7A69 /* codebook.c in Sources */,
/external/tremolo/
DAndroid.mk6 Tremolo/codebook.c \
/external/libvorbis/
DAndroid.mk12 lib/codebook.c \

12