/external/libopus/silk/ |
encode_pulses.c | 42 opus_int max_pulses, /* I max value for sum of pulses */ 64 opus_int8 pulses[], /* I quantization indices */ 91 silk_memset( &pulses[ frame_length ], 0, SHELL_CODEC_FRAME_LENGTH * sizeof(opus_int8)); 94 /* Take the absolute value of the pulses */ 98 abs_pulses[i+0] = ( opus_int )silk_abs( pulses[ i + 0 ] ); 99 abs_pulses[i+1] = ( opus_int )silk_abs( pulses[ i + 1 ] ); 100 abs_pulses[i+2] = ( opus_int )silk_abs( pulses[ i + 2 ] ); 101 abs_pulses[i+3] = ( opus_int )silk_abs( pulses[ i + 3 ] ); 104 /* Calc sum pulses per shell code frame */ 138 /* find rate level that leads to fewest bits for coding of pulses per block info * [all...] |
decode_pulses.c | 39 opus_int pulses[], /* O Excitation signal */ 64 /* Sum-Weighted-Pulses Decoding */ 85 silk_shell_decoder( &pulses[ silk_SMULBB( i, SHELL_CODEC_FRAME_LENGTH ) ], psRangeDec, sum_pulses[ i ] ); 87 silk_memset( &pulses[ silk_SMULBB( i, SHELL_CODEC_FRAME_LENGTH ) ], 0, SHELL_CODEC_FRAME_LENGTH * sizeof( opus_int ) ); 97 pulses_ptr = &pulses[ silk_SMULBB( i, SHELL_CODEC_FRAME_LENGTH ) ]; 106 /* Mark the number of pulses non-zero for sign decoding. */ 114 silk_decode_signs( psRangeDec, pulses, frame_length, signalType, quantOffsetType, sum_pulses );
|
code_signs.c | 43 const opus_int8 pulses[], /* I pulse signal */ 47 const opus_int sum_pulses[ MAX_NB_SHELL_BLOCKS ] /* I Sum of absolute pulses per block */ 56 q_ptr = pulses; 77 opus_int pulses[], /* I/O pulse signal */ 81 const opus_int sum_pulses[ MAX_NB_SHELL_BLOCKS ] /* I Sum of absolute pulses per block */ 90 q_ptr = pulses;
|
decode_frame.c | 50 VARDECL( opus_int, pulses ); 55 ALLOC( pulses, (L + SHELL_CODEC_FRAME_LENGTH - 1) & 73 silk_decode_pulses( psRangeDec, pulses, psDec->indices.signalType, 84 silk_decode_core( psDec, psDecCtrl, pOut, pulses );
|
shell_coder.c | 37 opus_int *out, /* O combined pulses vector [len] */ 77 /* Shell encoder, operates on one shell code frame of 16 pulses */ 85 /* this function operates on one shell code frame of 16 pulses */ 118 /* Shell decoder, operates on one shell code frame of 16 pulses */ 122 const opus_int pulses4 /* I number of pulses per pulse-subframe */ 127 /* this function operates on one shell code frame of 16 pulses */
|
main.h | 109 const opus_int8 pulses[], /* I pulse signal */ 113 const opus_int sum_pulses[ MAX_NB_SHELL_BLOCKS ] /* I Sum of absolute pulses per block */ 119 opus_int pulses[], /* I/O pulse signal */ 123 const opus_int sum_pulses[ MAX_NB_SHELL_BLOCKS ] /* I Sum of absolute pulses per block */ 152 opus_int8 pulses[], /* I quantization indices */ 156 /* Shell encoder, operates on one shell code frame of 16 pulses */ 162 /* Shell decoder, operates on one shell code frame of 16 pulses */ 166 const opus_int pulses4 /* I number of pulses per pulse-subframe */ 237 opus_int8 pulses[], /* O Quantized pulse signal */ 256 opus_int8 pulses[], /* O Quantized pulse signal * [all...] |
NSQ.c | 53 opus_int8 pulses[], /* O */ 76 opus_int8 pulses[], /* O Quantized pulse signal */ 153 silk_noise_shape_quantizer( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, A_Q12, B_Q14, 158 pulses += psEncC->subfr_length; 179 opus_int8 pulses[], /* O */ 339 pulses[ i ] = (opus_int8)silk_RSHIFT_ROUND( q1_Q10, 10 ); 366 NSQ->rand_seed = silk_ADD32_ovflw( NSQ->rand_seed, pulses[ i ] );
|
NSQ_del_dec.c | 85 opus_int8 pulses[], /* O */ 114 opus_int8 pulses[], /* O Quantized pulse signal */ 233 pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); 257 silk_noise_shape_quantizer_del_dec( NSQ, psDelDec, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, 263 pulses += psEncC->subfr_length; 284 pulses[ i - decisionDelay ] = (opus_int8)silk_RSHIFT_ROUND( psDD->Q_Q10[ last_smple_idx ], 10 ); 311 opus_int8 pulses[], /* O */ [all...] |
/external/libopus/celt/ |
vq.h | 41 * the pitch and a combination of pulses such that its norm is still equal 45 * @param K Number of pulses to use 47 * @ret A mask indicating which blocks in the band received pulses 59 * @param K Number of pulses to use 61 * @ret A mask indicating which blocks in the band received pulses
|
rate.h | 80 static OPUS_INLINE int pulses2bits(const CELTMode *m, int band, int LM, int pulses) 86 return pulses == 0 ? 0 : cache[pulses]+1; 89 /** Compute the pulse allocation, i.e. how many pulses will go in each 95 @param pulses Number of pulses per band (returned) 99 opus_int32 total, opus_int32 *balance, int *pulses, int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, int prev, int signalBandwidth);
|
bands.h | 88 * @param pulses Bit allocation (per band) for PVQ 102 celt_norm * X, celt_norm * Y, unsigned char *collapse_masks, const celt_ener *bandE, int *pulses, 108 opus_val16 *prev2logE, int *pulses, opus_uint32 seed);
|
cwrs.c | 85 the number of N-dimensional unit pulse vectors with K pulses). 198 with K pulses allocated to it.*/ 203 pulses we will ever allocate for a given N=I (K=128, or however many fit in 205 K=I-1 pulses fit in 32 bits. 471 /*Lots of pulses case:*/ 475 /*Are the pulses in this dimension negative?*/ 479 /*Count how many pulses were placed in this dimension.*/ 494 /*Are there any pulses in this dimension at all?*/ 502 /*Are the pulses in this dimension negative?*/ 505 /*Count how many pulses were placed in this dimension.* [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
d2_11pf.h | 79 * PURPOSE: Algebraic codebook decoder for 2 pulses coded with 11 bits 84 Word16 sign, /* i : signs of 2 pulses. */ 85 Word16 index, /* i : Positions of the 2 pulses. */
|
d8_31pf.cpp | 78 #define NB_PULSE 8 /* number of pulses */ 109 pos_indx[] -- array of type Word16 -- position of 3 pulses (decompressed) 169 Word16 pos_indx[], /* o : position of 3 pulses (decompressed) */ 277 8 pulses (compressed) 280 sign_indx[] -- array of type Word16 -- signs of 4 pulses (signs only) 281 pos_indx[] -- array of type Word16 -- position index of 8 pulses 343 Word16 indx[], /* i : position and sign of 8 pulses (compressed) */ 344 Word16 sign_indx[], /* o : signs of 4 pulses (signs only) */ 345 Word16 pos_indx[], /* o : position index of 8 pulses (position only) */ 500 index array of type Word16 -- index of 8 pulses (sign+position [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
a110x-intr.cxx | 58 // pulses that occur when a magnetic field of the correct polarity 66 cout << "Pulses detected: " << counter << endl;
|
rpr220-intr.cxx | 62 // 'black' pulses detected.
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
c4t64fx.c | 30 * 20 bits --> 4 pulses in a frame of 64 samples. * 31 * 36 bits --> 8 pulses in a frame of 64 samples. * 32 * 44 bits --> 10 pulses in a frame of 64 samples. * 33 * 52 bits --> 12 pulses in a frame of 64 samples. * 34 * 64 bits --> 16 pulses in a frame of 64 samples. * 35 * 72 bits --> 18 pulses in a frame of 64 samples. * 36 * 88 bits --> 24 pulses in a frame of 64 samples. * 38 * All pulses can have two (2) possible amplitudes: +1 or -1. * 59 0, 1, 2, 3}; /* end point for 24 pulses &ipos[35], 4th iter */ 106 Word16 * ps, /* (i/o) correlation of all fixed pulses */ [all...] |
cor_h_x.c | 21 * Designed for codebook search (24 pulses, 4 tracks, * 22 * 4 pulses per track, 16 positions in each track) to *
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
c8_31pf.cpp | 59 : 8 pulses in a frame of 40 samples. 117 codvec[] Array of type Word16 -- position of pulses 118 sign[] Array of type Word16 -- sign of pulses 124 sign_indx[] Array of type Word16 -- signs of 4 pulses (signs only) 126 position index of 8 pulses(position only) 184 * codevector, based on the signs and positions of 8 pulses. 189 Word16 codvec[], /* i : position of pulses */ 194 Word16 sign_indx[], /* o : signs of 4 pulses (signs only) */ 195 Word16 pos_indx[], /* o : position index of 8 pulses(position only) */ 260 { /* first set first NB_TRACK pulses */ [all...] |
c2_11pf.cpp | 69 * PURPOSE: Searches a 11 bit algebraic codebook containing 2 pulses 73 * The code length is 40, containing 2 nonzero pulses: i0...i1. 74 * All pulses can have two possible amplitudes: +1 or -1. 134 Word16 sign[], /* o : sign of 2 pulses */ 161 sign, Signs of 2 pulses, pointer of type Word16 * 176 Searches a 11 bit algebraic codebook containing 2 pulses 179 The code length is 40, containing 2 nonzero pulses: i0...i1. 180 All pulses can have two possible amplitudes: +1 or -1. 235 Word16 * sign, /* o : Signs of 2 pulses */ 364 Search the best codevector; determine positions of the 2 pulses [all...] |
c1035pf.cpp | 70 containing 10 pulses in a frame of 40 samples. 137 This is a local function that determnes the index of the pulses by looking up 249 codevector, based on the signs and positions of 10 pulses. 263 Word16 codvec[], // (i) : position of pulses 268 Word16 indx[] // (o) : index of 10 pulses (sign+position) 400 Word16 codvec[], /* (i) : position of pulses */ 405 Word16 indx[], /* (o) : index of 10 pulses (sign+position) */ 560 This function searches a 35 bit algebraic codebook containing 10 pulses in a 563 The code contains 10 nonzero pulses: i0...i9. 564 All pulses can have two possible amplitudes: +1 or -1 [all...] |
c3_14pf.cpp | 105 Word16 sign[], /* o : sign of 3 pulses */ 136 * sign Pointer of type Word16 -- Pointer to the signs of 3 pulses 151 PURPOSE: Searches a 14 bit algebraic codebook containing 3 pulses 155 The code length is 40, containing 3 nonzero pulses: i0...i2. 156 All pulses can have two possible amplitudes: +1 or -1. 157 Pulse i0 can have 8 possible positions, pulses i1 and i2 can have 210 Word16 * sign, /* o : Signs of 3 pulses */ 336 PURPOSE: Search the best codevector; determine positions of the 3 pulses 605 codvec[] Array of type Word16 -- position of pulses 606 dn_sign[] Array of type Word16 -- sign of pulses [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
A110X_intrSample.java | 46 // pulses that occur when a magnetic field of the correct polarity
|
/external/libopus/silk/float/ |
wrappers_FLP.c | 100 opus_int8 pulses[], /* O Quantized pulse signal */ 163 silk_NSQ_del_dec( &psEnc->sCmn, psNSQ, psIndices, x_Q3, pulses, PredCoef_Q12[ 0 ], LTPCoef_Q14, 166 silk_NSQ( &psEnc->sCmn, psNSQ, psIndices, x_Q3, pulses, PredCoef_Q12[ 0 ], LTPCoef_Q14,
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
dec_acelp_4p_in_64.cpp | 63 20 bits --> 4 pulses in a frame of 64 samples. 64 36 bits --> 8 pulses in a frame of 64 samples. 65 44 bits --> 10 pulses in a frame of 64 samples. 66 52 bits --> 12 pulses in a frame of 64 samples. 67 64 bits --> 16 pulses in a frame of 64 samples. 68 72 bits --> 18 pulses in a frame of 64 samples. 69 88 bits --> 24 pulses in a frame of 64 samples. 71 All pulses can have two (2) possible amplitudes: +1 or -1. 164 /* decode the positions and signs of pulses and build the codeword */
|