Home
last modified time | relevance | path

Searched refs:book (Results 1 – 25 of 74) sorted by relevance

123

/external/libvorbis/lib/
Dcodebook.c261 int vorbis_book_encode(codebook *book, int a, oggpack_buffer *b){ in vorbis_book_encode() argument
262 if(a<0 || a>=book->c->entries)return(0); in vorbis_book_encode()
263 oggpack_write(b,book->codelist[a],book->c->lengthlist[a]); in vorbis_book_encode()
264 return(book->c->lengthlist[a]); in vorbis_book_encode()
283 STIN long decode_packed_entry_number(codebook *book, oggpack_buffer *b){ in decode_packed_entry_number() argument
284 int read=book->dec_maxlength; in decode_packed_entry_number()
286 long lok = oggpack_look(b,book->dec_firsttablen); in decode_packed_entry_number()
289 long entry = book->dec_firsttable[lok]; in decode_packed_entry_number()
292 hi=book->used_entries-(entry&0x7fff); in decode_packed_entry_number()
294 oggpack_adv(b, book->dec_codelengths[entry-1]); in decode_packed_entry_number()
[all …]
Dcodebook.h91 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);
106 extern long vorbis_book_decode(codebook *book, oggpack_buffer *b);
107 extern long vorbis_book_decodevs_add(codebook *book, float *a,
109 extern long vorbis_book_decodev_set(codebook *book, float *a,
111 extern long vorbis_book_decodev_add(codebook *book, float *a,
113 extern long vorbis_book_decodevv_add(codebook *book, float **a,
Dres0.c232 int book=oggpack_read(opb,8); in res0_unpack() local
233 if(book<0) goto errout; in res0_unpack()
234 info->booklist[j]=book; in res0_unpack()
328 static int local_book_besterror(codebook *book,int *a){ in local_book_besterror() argument
329 int dim=book->dim; in local_book_besterror()
331 int minval=book->minval; in local_book_besterror()
332 int del=book->delta; in local_book_besterror()
333 int qv=book->quantvals; in local_book_besterror()
355 if(book->c->lengthlist[index]<=0){ in local_book_besterror()
356 const static_codebook *c=book->c; in local_book_besterror()
[all …]
Dsharedbook.c430 long vorbis_book_codeword(codebook *book,int entry){ in vorbis_book_codeword() argument
431 if(book->c) /* only use with encode; decode optimizations are in vorbis_book_codeword()
433 return book->codelist[entry]; in vorbis_book_codeword()
437 long vorbis_book_codelen(codebook *book,int entry){ in vorbis_book_codelen() argument
438 if(book->c) /* only use with encode; decode optimizations are in vorbis_book_codelen()
440 return book->c->lengthlist[entry]; in vorbis_book_codelen()
Dfloor1.c911 int book=info->class_subbook[class][bookas[k]]; in floor1_encode() local
912 if(book>=0){ in floor1_encode()
914 if(out[j+k]<(books+book)->entries) in floor1_encode()
915 look->postbits+=vorbis_book_encode(books+book, in floor1_encode()
999 int book=info->class_subbook[class][cval&(csub-1)]; in floor1_inverse1() local
1001 if(book>=0){ in floor1_inverse1()
1002 if((fit_value[j+k]=vorbis_book_decode(books+book,&vb->opb))==-1) in floor1_inverse1()
/external/libvorbis/vq/
Dmetrics.c126 int i,k,book; in process_postprocess() local
148 for(book=0;book<books;book++){ in process_postprocess()
150 codebook *b=bs[book]; in process_postprocess()
154 fprintf(stderr,"Book %d statistics:------------------\n",book); in process_postprocess()
158 sprintf(buffer,"%s-%d-mse.m",basename,book); in process_postprocess()
169 sqrt((histogram_errorsq[book]+i*dim)[k]/histogram[book][i])); in process_postprocess()
174 sprintf(buffer,"%s-%d-me.m",basename,book); in process_postprocess()
185 (histogram_error[book]+i*dim)[k]/histogram[book][i]); in process_postprocess()
190 sprintf(buffer,"%s-%d-worst.m",basename,book); in process_postprocess()
201 (b->valuelist+i*dim)[k]+(histogram_lo[book]+i*dim)[k], in process_postprocess()
[all …]
Dlocalcodebook.h93 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);
108 extern long vorbis_book_decode(codebook *book, oggpack_buffer *b);
109 extern long vorbis_book_decodevs_add(codebook *book, float *a,
111 extern long vorbis_book_decodev_set(codebook *book, float *a,
113 extern long vorbis_book_decodev_add(codebook *book, float *a,
115 extern long vorbis_book_decodevv_add(codebook *book, float **a,
Dbookutil.c25 int _best(codebook *book, float *a, int step){ in _best() argument
27 int dim=book->dim; in _best()
29 int minval=book->minval; in _best()
30 int del=book->delta; in _best()
31 int qv=book->quantvals; in _best()
50 if(book->c->lengthlist[index]<=0){ in _best()
51 const static_codebook *c=book->c; in _best()
55 int maxval = book->minval + book->delta*(book->quantvals-1); in _best()
56 for(i=0;i<book->entries;i++){ in _best()
73 e[j]+=book->delta; in _best()
/external/tremolo/Tremolo/
Dcodebook.c619 ogg_uint32_t decode_packed_entry_number(codebook *book,
622 static inline ogg_uint32_t decode_packed_entry_number(codebook *book, in decode_packed_entry_number() argument
625 int read=book->dec_maxlength; in decode_packed_entry_number()
637 switch (book->dec_method) in decode_packed_entry_number()
643 unsigned char *t=(unsigned char *)book->dec_table; in decode_packed_entry_number()
656 unsigned char *t=(unsigned char *)book->dec_table; in decode_packed_entry_number()
675 chase=((ogg_uint16_t *)(book->dec_table))[chase*2+((lok>>i)&1)]; in decode_packed_entry_number()
686 ogg_uint16_t *t=(ogg_uint16_t *)book->dec_table; in decode_packed_entry_number()
704 chase=((ogg_uint32_t *)(book->dec_table))[chase*2+((lok>>i)&1)]; in decode_packed_entry_number()
723 long vorbis_book_decode(codebook *book, oggpack_buffer *b){ in vorbis_book_decode() argument
[all …]
Dcodebook.h75 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,
Dres012.c86 unsigned char book=(unsigned char)oggpack_read(opb,8); in res_unpack() local
87 if(book>=ci->books)goto errout; in res_unpack()
88 info->stagebooks[j*8+k]=book; in res_unpack()
Ddpen.s66 @ r0 = codebook *book
70 LDMIA r0,{r4,r6,r7} @ r4 = read = book->max_length
71 @ r6 = book->dec_table
72 @ r7 = book->dec_method
397 @ r0 = codebook *book
406 MOV r9, r0 @ r9 = book
418 @ r9 = book
421 MOV r0, r9 @ r0 = book
429 LDR r0, [r9, # 5*4] @ r0 = book->dim
Dfloor1.c319 int book=info->klass[classv].class_subbook[cval&(csub-1)]; in floor1_inverse1() local
321 if(book!=0xff){ in floor1_inverse1()
322 if((fit_value[j+k]=vorbis_book_decode(books+book,&vd->opb))==-1) in floor1_inverse1()
/external/protobuf/examples/
DREADME.txt2 address book. Two programs are provided, each with three different
4 example adds a new person to an address book, prompting the user to input
6 address book. The examples use the exact same format in all three languages,
7 so you can, for example, use add_person_java to create an address book and then
21 All of these programs simply take an address book file as their parameter.
Daddressbook.proto27 // Our address book file is just one of these.
/external/oprofile/m4/
Ddocbook.m437 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml…
38 <book id="test">
39 </book>
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt022scopes.g19 /* rule scopes, from the book, final beta, p.147 */
36 /* rule scopes, from the book, final beta, p.148 */
61 /* recursive rule scopes, from the book, final beta, p.150 */
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Dt022scopes.g19 /* rule scopes, from the book, final beta, p.147 */
36 /* rule scopes, from the book, final beta, p.148 */
62 /* recursive rule scopes, from the book, final beta, p.150 */
/external/zxing/qr_scanner/
DREADME.google13 Removed all code that is not directly related to scanning a QR code, such as product search, book
/external/libpng/contrib/gregbook/
DREADME55 13-15 of the book for detailed discussion of the three programs.
68 - pngbook http://www.libpng.org/pub/png/book/sources.html
96 see the book for more details.
159 line arguments; see the book for more details. Note that the options
/external/valgrind/main/docs/
DREADME25 docs/xml/index.xml: Top-level book-set wrapper
44 The whole thing is a "book set", made up of multiple books (the user
45 manual, the FAQ, the tech-docs, the licenses). Each book could be
203 </book>
/external/llvm/test/Transforms/LoopDeletion/
Ddcetest.ll1 ; This is the test case taken from Appel's book that illustrates a hard case
/external/libvorbis/doc/
D07-floor1.tex106 [subclass] books and a master book used to encode which alternate
205 14) [book] = array [floor1_subclass_books] element [class],([cval] bitwise AND [csub])
207 16) if ( [book] is not less than zero ) \{
210 [book] in scalar context
212 \} else [book] is less than zero \{
/external/antlr/antlr-3.4/tool/
DREADME.txt27 The book will also help you a great deal (printed May 15, 2007); you
32 2nd book, Language Implementation Patterns:
/external/llvm/test/Transforms/SCCP/
Dsccptest.ll21 ; This is the test case taken from appel's book that illustrates a hard case

123