/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libvorbis-1.2.3/vq/ |
H A D | vqsplit.h | 13 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 D | localcodebook.h | 13 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 D | cascade.c | 30 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 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 | run.c | 39 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 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...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libvorbis-1.2.3/lib/ |
H A D | codebook.h | 13 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 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 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...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | elbg.h | 34 * @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 D | cinepak.c | 74 static void cinepak_decode_codebook (cvid_codebook *codebook, argument 101 codebook[i].y0 = *data++; 102 codebook[i].y1 = *data++; 103 codebook[i].y2 = *data++; 104 codebook[i].y3 = *data++; 105 codebook[i].u = 128 + *data++; 106 codebook[i].v = 128 + *data++; 108 /* this codebook type indicates either greyscale or 112 codebook[i].y0 = *data++; 113 codebook[ 128 cvid_codebook *codebook; local [all...] |
H A D | elbg.c | 36 * codebook entry. Not to be confused with a RoQ Video cell. */ 49 int *codebook; member in struct:__anon1907 96 diff = distance_limited(elbg->codebook + i*elbg->dim, elbg->codebook + index*elbg->dim, elbg->dim, diff_min); 325 void ff_init_elbg(int *points, int dim, int numpoints, int *codebook, argument 333 of them, get a good initial codebook to save on iterations */ 340 ff_init_elbg(temp_points, dim, numpoints/8, codebook, numCB, 2*max_steps, closest_cb, rand_state); 341 ff_do_elbg(temp_points, dim, numpoints/8, codebook, numCB, 2*max_steps, closest_cb, rand_state); 345 } else // If not, initialize the codebook with random positions 347 memcpy(codebook 352 ff_do_elbg(int *points, int dim, int numpoints, int *codebook, int numCB, int max_steps, int *closest_cb, AVLFG *rand_state) argument [all...] |
H A D | mlp.h | 88 uint8_t codebook; ///< Which VLC codebook to use to read residuals. member in struct:__anon1951
|
H A D | vqavideo.c | 49 * (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) */ 107 unsigned char *codebook; /* the current codebook */ member in struct:VqaContext 109 unsigned char *next_codebook_buffer; /* accumulator for next codebook */ [all...] |
H A D | vorbisdec.c | 335 av_log(vc->avccontext, AV_LOG_ERROR, " More codelengths than codes in codebook. \n"); 346 // If the codebook is used for (inverse) VQ, calculate codevectors. 625 /* codebook dim is for padding if codebook dim doesn't * 1067 vorbis_codebook codebook; local 1076 codebook = vc->codebooks[vf->book_list[book_idx]]; 1077 /* Invalid codebook! */ 1078 if (!codebook.codevectors) 1084 av_dlog(NULL, "floor0 dec: book dimension: %d\n", codebook.dimensions); 1085 av_dlog(NULL, "floor0 dec: maximum depth: %d\n", codebook 1362 vorbis_codebook codebook = vc->codebooks[vqbook]; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | elbg.h | 34 * @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 avpriv_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 avpriv_init_elbg(int *points, int dim, int numpoints, int *codebook,
|
H A D | msvideo1enc.c | 43 int codebook[8*3]; member in struct:Msvideo1EncContext 139 avpriv_init_elbg(c->block, 3, 16, c->codebook, 2, 1, c->output, &c->rnd); 140 avpriv_do_elbg (c->block, 3, 16, c->codebook, 2, 1, c->output, &c->rnd); 144 FFSWAP(uint8_t, c->codebook[i], c->codebook[i+3]); 151 int t = c->codebook[c->output[i+j*4]*3 + k] - c->block[i*3+k+j*4*3]; 212 prevptr[x*3 + i*3 + k - j*3*avctx->width] = c->codebook[c->output[i + j*4]*3 + k]; 216 bytestream_put_le16(&dst, MKRGB555(c->codebook, 0)); 217 bytestream_put_le16(&dst, MKRGB555(c->codebook, 3));
|
H A D | elbg.c | 38 * codebook entry. Not to be confused with a RoQ Video cell. */ 51 int *codebook; member in struct:__anon3135 98 diff = distance_limited(elbg->codebook + i*elbg->dim, elbg->codebook + index*elbg->dim, elbg->dim, diff_min); 337 void avpriv_init_elbg(int *points, int dim, int numpoints, int *codebook, argument 345 of them, get a good initial codebook to save on iterations */ 352 avpriv_init_elbg(temp_points, dim, numpoints/8, codebook, numCB, 2*max_steps, closest_cb, rand_state); 353 avpriv_do_elbg(temp_points, dim, numpoints/8, codebook, numCB, 2*max_steps, closest_cb, rand_state); 357 } else // If not, initialize the codebook with random positions 359 memcpy(codebook 364 avpriv_do_elbg(int *points, int dim, int numpoints, int *codebook, int numCB, int max_steps, int *closest_cb, AVLFG *rand_state) argument [all...] |
H A D | vqavideo.c | 49 * (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 80 * (0xFF00 codebook vectors + 0x100 solid pixel vectors) * (4x4 pixels/block) */ 107 unsigned char *codebook; /* the current codebook */ member in struct:VqaContext 109 unsigned char *next_codebook_buffer; /* accumulator for next codebook */ [all...] |
H A D | mlp.h | 88 uint8_t codebook; ///< Which VLC codebook to use to read residuals. member in struct:ChannelParams
|
H A D | proresenc_kostya.c | 328 static inline void encode_vlc_codeword(PutBitContext *pb, unsigned codebook, int val) argument 334 switch_bits = (codebook & 3) + 1; 335 rice_order = codebook >> 5; /* rice code order */ 336 exp_order = (codebook >> 2) & 7; /* exp golomb code order */ 364 int codebook = 3, code, dc, prev_dc, delta, sign, new_sign; local 369 codebook = 3; 378 encode_vlc_codeword(pb, ff_prores_dc_codebook[codebook], code); 379 codebook = (code + (code & 1)) >> 1; 380 codebook = FFMIN(codebook, 582 estimate_vlc(unsigned codebook, int val) argument 608 int codebook = 3, code, dc, prev_dc, delta, sign, new_sign; local [all...] |
H A D | vorbisdec.c | 345 av_log(vc->avctx, AV_LOG_ERROR, " More codelengths than codes in codebook. \n"); 356 // If the codebook is used for (inverse) VQ, calculate codevectors. 640 /* codebook dim is for padding if codebook dim doesn't * 1093 vorbis_codebook codebook; local 1101 codebook = vc->codebooks[vf->book_list[book_idx]]; 1102 /* Invalid codebook! */ 1103 if (!codebook.codevectors) 1109 av_dlog(NULL, "floor0 dec: book dimension: %d\n", codebook.dimensions); 1110 av_dlog(NULL, "floor0 dec: maximum depth: %d\n", codebook 1422 vorbis_codebook codebook = vc->codebooks[vqbook]; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/ |
H A D | vf_elbg.c | 44 int *codebook; member in struct:ColorContext 54 { "codebook_length", "set codebook length", OFFSET(codebook_length), AV_OPT_TYPE_INT, { .i64 = 256 }, 1, INT_MAX, FLAGS }, 55 { "l", "set codebook length", OFFSET(codebook_length), AV_OPT_TYPE_INT, { .i64 = 256 }, 1, INT_MAX, FLAGS }, 109 elbg->codebook = av_realloc_f(elbg->codebook, elbg->codebook_length, 110 NB_COMPONENTS * sizeof(*elbg->codebook)); 111 if (!elbg->codebook) 147 /* compute the codebook */ 149 elbg->codebook, elbg->codebook_length, elbg->max_steps_nb, 152 elbg->codebook, elb [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libvorbis-1.2.3/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...] |