Searched refs:codebook (Results 1 - 25 of 44) sorted by relevance

12

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/libvorbis-1.2.3/vq/
H A Dvqsplit.h13 function: build a VQ codebook decision tree
21 #include "codebook.h"
23 extern void vqsp_book(vqgen *v,codebook *b,long *quantlist);
24 extern int vqenc_entry(codebook *b,float *val);
26 codebook *b,
H A Dlocalcodebook.h13 function: basic shared codebook operations
37 long dim; /* codebook dimensions (elements per vector) */
38 long entries; /* codebook entries */
99 typedef struct codebook{ struct
100 long dim; /* codebook dimensions (elements per vector) */
101 long entries; /* codebook entries */
102 long used_entries; /* populated codebook entries */
117 } codebook; typedef in typeref:struct:codebook
121 extern int vorbis_book_init_encode(codebook *dest,const static_codebook *source);
122 extern int vorbis_book_init_decode(codebook *des
[all...]
H A Dcascade.c30 void process_preprocess(codebook **bs,char *basename){
33 void process_postprocess(codebook **b,char *basename){
37 float process_one(codebook *b,float *a,int dim,int step,int addmul,
55 void process_vector(codebook **bs,int *addmul,int inter,float *a,int n){
61 codebook *b=*bs;
86 "usage: vqcascade [-i] +|*<codebook>.vqh [ +|*<codebook.vqh> ]... \n"
H A Dbookutil.h32 extern int get_vector(codebook *b,FILE *in,int start,int num,float *a);
35 extern codebook *codebook_load(char *filename);
H A Drun.c39 extern void process_preprocess(codebook **b,char *basename);
40 extern void process_postprocess(codebook **b,char *basename);
41 extern void process_vector(codebook **b,int *addmul, int inter,float *a,int n);
46 codebook **b=_ogg_calloc(1,sizeof(codebook *));
94 /* codebook */
99 "codebook header (.vqh) files\n");
117 b=_ogg_realloc(b,sizeof(codebook *)*(books+2));
H A Dmetrics.c13 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 Dlatticepare.c13 function: utility for paring low hit count cells from lattice codebook
33 A fully populated lattice codebook, however, swings point 1 too far
36 least common cells. The codebook rep supports unused cells, so we
72 void add_vector(codebook *b,float *vec,long n){
82 static int bestm(codebook *b,float *vec){
88 /* what would be the closest match if the codebook was fully
100 static int closest(codebook *b,float *vec,int current){
124 static float _heuristic(codebook *b,float *ppt,int secondbest){
143 fprintf(stderr,"Ogg/Vorbis lattice codebook paring utility\n\n"
156 codebook *
[all...]
H A Dbuild.c77 codebook b;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/libvorbis-1.2.3/lib/
H A Dcodebook.h13 function: basic shared codebook operations
14 last mod: $Id: codebook.h 16227 2009-07-08 06:58:46Z xiphmont $
37 long dim; /* codebook dimensions (elements per vector) */
38 long entries; /* codebook entries */
99 typedef struct codebook{ struct
100 long dim; /* codebook dimensions (elements per vector) */
101 long entries; /* codebook entries */
102 long used_entries; /* populated codebook entries */
117 } codebook; typedef in typeref:struct:codebook
121 extern int vorbis_book_init_encode(codebook *des
[all...]
H A 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\
50 #test_codebook_SOURCES = codebook.c
H A Dcodebook.c13 function: basic codebook pack/unpack/code/decode operations
14 last mod: $Id: codebook.c 16227 2009-07-08 06:58:46Z 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 *************/
260 int vorbis_book_encode(codebook *book, int a, oggpack_buffer *b){
281 int vorbis_book_errorv(codebook *book,float *a){
290 int vorbis_book_encodev(codebook *boo
[all...]
H A Dcodec_internal.h22 #include "codebook.h"
89 psychoacoustic settings, channel setup, options, codebook
121 codebook *fullbooks;
H A Dres0.c30 #include "codebook.h"
43 codebook *fullbooks;
44 codebook *phrasebook;
45 codebook ***partbooks;
88 codebook *statebook=look->partbooks[j][k];
319 static int local_book_besterror(codebook *book,float *a){
378 codebook *book,long *acc){
525 codebook *,long *)){
588 codebook *statebook=look->partbooks[partword[j][i]][s];
638 long (*decodepart)(codebook *, floa
[all...]
H A Dsharedbook.c13 function: basic shared codebook operations
25 #include "codebook.h"
291 void vorbis_book_clear(codebook *b){
293 the static codebook belongs to the info struct */
304 int vorbis_book_init_encode(codebook *c,const static_codebook *s){
330 /* decode codebook arrangement is more heavily optimized than encode */
331 int vorbis_book_init_decode(codebook *c,const static_codebook *s){
349 First, we collapse the likely sparse codebook down only to
458 int _best(codebook *book, float *a, int step){
599 long vorbis_book_codeword(codebook *boo
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Delbg.h34 * @param codebook Pointer to the output codebook. Must be allocated.
35 * @param numCB Number of points in the codebook.
37 * @param closest_cb Return the closest codebook to each point. Must be allocated.
40 void ff_do_elbg(int *points, int dim, int numpoints, int *codebook,
45 * Initialize the **codebook vector for the elbg algorithm. If you have already
46 * a codebook and you want to refine it, you shouldn't call this function.
47 * If numpoints < 8*numCB this function fills **codebook with random numbers.
51 void ff_init_elbg(int *points, int dim, int numpoints, int *codebook,
H A Dcinepak.c73 static void cinepak_decode_codebook (cvid_codebook *codebook, argument
100 codebook[i].y0 = *data++;
101 codebook[i].y1 = *data++;
102 codebook[i].y2 = *data++;
103 codebook[i].y3 = *data++;
104 codebook[i].u = 128 + *data++;
105 codebook[i].v = 128 + *data++;
107 /* this codebook type indicates either greyscale or
111 codebook[i].y0 = *data++;
112 codebook[
127 cvid_codebook *codebook; local
[all...]
H A Dvqavideo.c49 * (usually, n = 8) relies on a different vector codebook. Rather than
50 * transporting an entire codebook every 8th frame, the new codebook is
53 * codebook. A full codebook is also sent on the very first frame of a
57 * V1,2 VQA uses 12-bit codebook indexes. If the 12-bit indexes were
79 * (0xFF00 codebook vectors + 0x100 solid pixel vectors) * (4x4 pixels/block) */
117 unsigned char *codebook; /* the current codebook */ member in struct:VqaContext
119 unsigned char *next_codebook_buffer; /* accumulator for next codebook */
[all...]
H A Dmlp.h80 uint8_t codebook; ///< Which VLC codebook to use to read residuals. member in struct:__anon547
H A Delbg.c36 * codebook entry. Not to be confused with a RoQ Video cell. */
49 int *codebook; member in struct:__anon522
95 diff = distance_limited(elbg->codebook + i*elbg->dim, elbg->codebook + index*elbg->dim, elbg->dim, diff_min);
319 void ff_init_elbg(int *points, int dim, int numpoints, int *codebook, argument
327 of them, get a good initial codebook to save on iterations */
334 ff_init_elbg(temp_points, dim, numpoints/8, codebook, numCB, 2*max_steps, closest_cb, rand_state);
335 ff_do_elbg(temp_points, dim, numpoints/8, codebook, numCB, 2*max_steps, closest_cb, rand_state);
339 } else // If not, initialize the codebook with random positions
341 memcpy(codebook
346 ff_do_elbg(int *points, int dim, int numpoints, int *codebook, int numCB, int max_steps, int *closest_cb, AVRandomState *rand_state) argument
[all...]
H A Dvorbis_dec.c317 av_log(vc->avccontext, AV_LOG_ERROR, " More codelengths than codes in codebook. \n");
326 // If the codebook is used for (inverse) VQ, calculate codevectors.
584 /* codebook dim is for padding if codebook dim doesn't *
1046 vorbis_codebook codebook; local
1056 codebook=vc->codebooks[vf->book_list[book_idx]];
1061 AV_DEBUG( "floor0 dec: book dimension: %d\n", codebook.dimensions );
1062 AV_DEBUG( "floor0 dec: maximum depth: %d\n", codebook.maxdepth );
1065 codebook.vlc.table,
1066 codebook
1343 vorbis_codebook codebook= vc->codebooks[vqbook]; local
[all...]
H A Dmlpdec.c165 int sign_shift = lsb_bits + (cp->codebook ? 2 - cp->codebook : -1);
168 if (cp->codebook > 0)
192 int codebook = cp->codebook; local
197 if (codebook > 0)
198 result = get_vlc2(gbp, huff_vlc[codebook-1].table,
414 cp->codebook = 0;
608 cp->codebook = get_bits(gbp, 2);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/libvorbis-1.2.3/doc/
H A 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 dimension
[all...]
H A 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, i
[all...]
H A DMakefile.am59 03-codebook.tex \
H A D09-helper.tex51 representation of a Vorbis codebook float value into the
69 compute the correct length of the value index for a codebook VQ lookup

Completed in 134 milliseconds

12