/external/libvorbis/lib/ |
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 *dest,const static_codebook *source) [all...] |
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
|
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, but set in the code using the codebook. Lik [all...] |
/external/libvorbis/vq/ |
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 *dest,const static_codebook *source) [all...] |
bookutil.h | 32 extern int get_vector(codebook *b,FILE *in,int start,int num,float *a); 35 extern codebook *codebook_load(char *filename);
|
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 **bs,int *addmul,int inter,float *a,int n) [all...] |
/external/tremolo/Tremolo/ |
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 *book, ogg_int32_t *a [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
updt_tar.c | 20 * Description: Update the target vector for codebook search * 29 Word16 * x2, /* (o) Q0 : new target (for codebook search) */ 30 Word16 * y, /* (i) Q0 : filtered adaptive codebook vector */ 31 Word16 gain, /* (i) Q14 : adaptive codebook gain */
|
/external/speex/libspeex/ |
cb_search.h | 4 @brief Overlapped codebook search 41 /** Split codebook parameters. */ 56 const void *par, /* Codebook/search parameters */ 69 const void *par, /* non-overlapping codebook */ 82 const void *par, /* Codebook/search parameters */ 96 const void *par, /* non-overlapping codebook */
|
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);
|
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) 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) 91 d = _mm_add_ps(d, _mm_mul_ps(in[j], *codebook++));
|
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) 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) 118 dist = MAC16_16(dist,in[j],*codebook++);
|
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) 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;
|
/external/libvorbis/doc/ |
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 154 Codebook decode precedes according to \varname{[codebook_lookup_type]}: 204 Briefly, each used codebook entry (recall that length-unordere [all...] |
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 dimensions = 2 encoded as: [ 0 4 ], [ 1 5 ], [ 2 6 ], [ 3 7 [all...] |
/external/chromium_org/third_party/opus/src/silk/ |
quant_LTP_gains.c | 36 opus_int8 cbk_index[ MAX_NB_SUBFR ], /* O Codebook Index */ 69 &temp_idx[ j ], /* O index of best codebook vector */ 73 cbk_ptr_Q7, /* I codebook */ 74 cl_ptr_Q5, /* I code length for each codebook vector */ 76 cbk_size /* I number of vectors in codebook */ 85 /* Avoid never finding a codebook */
|
NLSF_VQ.c | 34 /* Compute quantization errors for an LPC_order element input vector for a VQ codebook */ 38 const opus_uint8 pCB_Q8[], /* I Codebook vectors [K*LPC_order] */ 39 const opus_int K, /* I Number of codebook vectors */ 49 /* Loop over codebook */
|
VQ_WMat_EC.c | 36 opus_int8 *ind, /* O index of best codebook vector */ 40 const opus_int8 *cb_Q7, /* I codebook */ 41 const opus_uint8 *cl_Q5, /* I code length for each codebook vector */ 43 opus_int L /* I number of vectors in codebook */ 51 /* Loop over codebook */
|
main.h | 205 opus_int8 cbk_index[ MAX_NB_SUBFR ], /* O Codebook Index */ 215 opus_int8 *ind, /* O index of best codebook vector */ 219 const opus_int8 *cb_Q7, /* I codebook */ 220 const opus_uint8 *cl_Q5, /* I code length for each codebook vector */ 222 opus_int L /* I number of vectors in codebook */ 300 opus_int8 *NLSFIndices, /* I Codebook path vector [ LPC_ORDER + 1 ] */ 302 const silk_NLSF_CB_struct *psNLSF_CB, /* I Codebook object */ 309 /* Compute quantization errors for an LPC_order element input vector for a VQ codebook */ 313 const opus_uint8 pCB_Q8[], /* I Codebook vectors [K*LPC_order] */ 314 const opus_int K, /* I Number of codebook vectors * [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
SuffixTree.h | 46 template<typename Codebook> 61 current = current->at(Codebook::codeWord(query[i])); 73 m_children.resize(Codebook::codeSize); 90 typedef Vector<Node*, Codebook::codeSize> ChildrenVector; 103 Node*& child = current->at(Codebook::codeWord(text[base + offset]));
|
/external/aac/libAACenc/src/ |
dyn_bits.cpp | 108 if ( useHCR && ((huffsection->codeBook == 11) || (huffsection->codeBook >= 16)) ) { 135 huffsection[i].codeBook = -1; 233 if ( (huffsection[ndx1].codeBook==CODE_BOOK_PNS_NO)||(huffsection[ndx2].codeBook==CODE_BOOK_PNS_NO) 234 || (huffsection[ndx1].codeBook==CODE_BOOK_IS_OUT_OF_PHASE_NO)||(huffsection[ndx2].codeBook==CODE_BOOK_IS_OUT_OF_PHASE_NO) 235 || (huffsection[ndx1].codeBook==CODE_BOOK_IS_IN_PHASE_NO)||(huffsection[ndx2].codeBook==CODE_BOOK_IS_IN_PHASE_NO) 263 huffsection[i].codeBook=CODE_BOOK_PNS_NO [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
d2_11pf.h | 39 * Purpose : Algebraic codebook decoder 79 * PURPOSE: Algebraic codebook decoder for 2 pulses coded with 11 bits 86 Word16 cod[] /* o : algebraic (fixed) codebook excitation */
|