/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...] |
codebook.c | 34 function: basic codebook pack/unpack/code/decode operations 44 #include "codebook.h" 60 codebook *b,oggpack_buffer *opb,int maptype){ 145 codebook *b, oggpack_buffer *opb,int maptype){ 216 static int _make_decode_table(codebook *s,char *lengthlist,long quantvals, 345 long _book_maptype1_quantvals(codebook *b){ 370 void vorbis_book_clear(codebook *b){ 372 the static codebook belongs to the info struct */ 380 int vorbis_book_unpack(oggpack_buffer *opb,codebook *s){ 619 ogg_uint32_t decode_packed_entry_number(codebook *book [all...] |
res012.c | 44 #include "codebook.h" 108 codebook *phrasebook=ci->book_param+info->groupbook; 168 codebook *stagebook=ci->book_param+ 228 codebook *stagebook=ci->book_param+
|
codec_internal.h | 43 #include "codebook.h" 187 psychoacoustic settings, channel setup, options, codebook 214 codebook *book_param;
|
/frameworks/base/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 */
|
g_pitch.c | 31 Word16 y1[], /* (i) : filtered adaptive codebook. */
|
/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;
|
vq_bfin.h | 37 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) 67 : "=&D" (dist), "=&a" (codebook), "=&d" (best_dist[0]), "=&d" (nbest[0]), "=&a" (E) 68 : "a" (len-1), "a" (in), "a" (2), "d" (entries), "d" (len<<1), "1" (codebook), "4" (E), "2" (best_dist[0]), "3" (nbest[0]) 90 : "=D" (dist), "=a" (codebook) 91 : "a" (len-1), "a" (in), "a" (2), "1" (codebook), "0" (E[i])
|
/external/webkit/Source/WebCore/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]));
|
/frameworks/base/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 */
|
/external/tremolo/ |
Android.mk | 6 Tremolo/codebook.c \
|
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
dyn_bits.c | 51 sectionInfo[i].codeBook = -1; 164 sectionInfo[i].sectionBits = findBestBook(bitLookUp[i], &(sectionInfo[i].codeBook)); 190 if (sectionInfo_s->codeBook != sectionInfo_e->codeBook) 350 findBestBook(bitLookUp[i], &(sectionInfo[i].codeBook)); 405 if (psectionInfo->codeBook != CODE_BOOK_ZERO_NO) { 416 if (psectionInfo->codeBook != CODE_BOOK_ZERO_NO 417 && psectionInfo->codeBook != CODE_BOOK_PNS_NO) { 459 if ((psectionInfom->codeBook != CODE_BOOK_ZERO_NO) && 460 (psectionInfom->codeBook != CODE_BOOK_PNS_NO)) [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
hufffac.cpp | 38 (2) Define SectInfo structure to store section codebook index 69 codebook index and section boundary for each section, 78 huffBookUsed = array that will hold the huffman codebook index for 81 *pBook = pointer to structure that contains the huffman codebook 83 (LAV) of each huffman codebook, etc. type Hcb 106 This function first reads the Huffman codebook index of all sections within 107 one Frame. Then, depending on the huffman codebook index of each section, 375 Int sect_cb; /* huff codebook # for each section */ 392 /* read section length and codebook */ 396 sect_cb = pSect->sect_cb; /* codebook for this section * [all...] |
pns_intensity_right.cpp | 42 codebook_map = Array that denotes which Huffman codebook was used for 114 If the codebook used is >= NOISE_HCB, the code then checks for the use 117 When a SFB utilizing the codebook NOISE_HCB is detected, a check is made to 130 When a SFB utilizing an intensity codebook is detected, the band's spectral 201 codebook = *(pCodebookMap); 209 IF (codebook == NOISE_HCB) 268 ELSE IF (codebook >= INTENSITY_HCB2) 279 codebook, 420 Int codebook; local 487 codebook = *(pCodebookMap++) [all...] |
huffcb.cpp | 66 information of huffman codebook index and section 68 [codebook index] 70 [codebook index] 108 UChar *pSect = pointer to array where huffman codebook index and 119 each section is encoded with one single Huffman codebook, and each section 125 This function reads the codebook index and section boundaries (expressed 133 This function should fill the array *pSect with section Huffman codebook 195 *pSect++ = 0; (use huffman codebook 0) 320 pInputStream); /* section codebook */ 353 pSect->sect_cb = 0; /* huffman codebook 0 * [all...] |
/frameworks/base/media/libstagefright/codecs/aacenc/inc/ |
bit_cnt.h | 99 Word16 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream);
|
dyn_bits.h | 41 Word16 codeBook;
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
acelp.h | 153 Word16 * dico, /* input : quantization codebook */ 155 Word16 dico_size, /* input : size of quantization codebook */ 378 Word16 y1[], /* (i) : filtered adaptive codebook. */ 387 Word16 y1[], /* (i) Q_xn:Adaptive codebook. */ 432 Word16 code[], /* (o) Q9 : algebraic (fixed) codebook excitation */ 433 Word16 y[], /* (o) Q9 : filtered fixed codebook excitation */ 441 Word16 code[], /* (o) Q9 : algebraic (fixed) codebook excitation */ 442 Word16 y[], /* (o) Q9 : filtered fixed codebook excitation */ 477 Word16 * x2, /* (o) Q0 : new target (for codebook search) */ 478 Word16 * y, /* (i) Q0 : filtered adaptive codebook vector * [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
calc_en.cpp | 407 y1 = Adaptive codebook, buffer type Word16 413 cod_gain_frac = optimum codebook gain (fraction part), pointer type Word16 414 cod_gain_exp = optimum codebook gain (exponent part), pointer type Word16 420 cod_gain_frac points to the new optimum codebook gain (fraction part) 421 cod_gain_exp points to the new optimum codebook gain (exponent part) 440 codebook gain gcu (for MR475 only). 471 Word16 y1[], // i : Adaptive codebook, Q0 478 Word16 *cod_gain_frac,// o: optimum codebook gain (fraction part), Q15 479 Word16 *cod_gain_exp // o: optimum codebook gain (exponent part), Q0 596 Word16 y1[], /* i : Adaptive codebook, Q0 * [all...] |
qgain475.h | 54 quantization of pitch and codebook gains for MR475. 118 * PURPOSE: use optimum codebook gain and update "unquantized" 127 Word16 cod_gain_exp, /* i : optimum codebook gain (exponent), Q0 */ 128 Word16 cod_gain_frac, /* i : optimum codebook gain (fraction), Q15 */ 136 * PURPOSE: Quantization of pitch and codebook gains for two subframes 137 * (using predicted codebook gain) 156 Word16 sf1_code_nosharp[], /* i : innovative codebook vector (L_SUBFR) */
|
calc_en.h | 137 * codebook gain gcu (for MR475 only). 156 Word16 y1[], /* i : Adaptive codebook, Q0 */ 163 Word16 *cod_gain_frac,/* o: optimum codebook gain (fraction part), Q15 */ 164 Word16 *cod_gain_exp, /* o: optimum codebook gain (exponent part), Q0 */ 178 Word16 *en_exp, /* o: optimum codebook gain (exponent part), Q0 */ 179 Word16 *en_frac, /* o: optimum codebook gain (fraction part), Q15 */
|