HomeSort by relevance Sort by last modified time
    Searched full:word16 (Results 76 - 100 of 468) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
syn_filt.c 30 Word16 a[], /* (i) Q12 : a[m+1] prediction coefficients */
31 Word16 x[], /* (i) : input signal */
32 Word16 y[], /* (o) : output signal */
33 Word16 lg, /* (i) : size of filtering */
34 Word16 mem[], /* (i/o) : memory associated with this filtering. */
35 Word16 update /* (i) : 0=no update, 1=update of memory. */
39 Word16 y_buf[L_SUBFR16k + M16k];
41 Word16 *yy, *p1, *p2;
86 Word16 a[], /* (i) Q12 : a[m+1] prediction coefficients */
87 Word16 m, /* (i) : order of LP filter *
    [all...]
decim54.c 36 Word16 * sig, /* input: signal to downsampling */
37 Word16 * sig_d, /* output: downsampled signal */
38 Word16 L_frame_d /* input: length of output */
44 static Word16 fir_down1[4][30] =
60 Word16 mem[] /* output: memory (2*NB_COEF_DOWN) set to zeros */
68 Word16 sig16k[], /* input: signal to downsampling */
69 Word16 lg, /* input: length of input */
70 Word16 sig12k8[], /* output: decimated signal */
71 Word16 mem[] /* in/out: memory (2*NB_COEF_DOWN) */
74 Word16 lg_down
    [all...]
dtx.c 38 Word16 isf_old[],
39 Word16 indices[],
44 Word16 isf_old_tx[],
45 Word16 indices[],
49 static Word16 dithering_control(
54 static Word16 en_adjust[9] =
72 Word16 dtx_enc_init(dtx_encState ** st, Word16 isf_init[], VO_MEM_OPERATOR *pMemOP)
99 Word16 dtx_enc_reset(dtx_encState * st, Word16 isf_init[]
    [all...]
log2.c 58 Word16 exp, /* (i) : norm_l (L_x) */
59 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
60 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
63 Word16 i, a, tmp;
75 a = (Word16)(L_x); /* Extract b10-b24 of fraction */
76 a = (Word16)(a & (Word16)0x7fff);
100 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
101 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
104 Word16 exp
    [all...]
lp_dec2.c 33 static Word16 h_fir[L_FIR] = {4260, 7536, 9175, 7536, 4260};
36 Word16 x[], /* in/out: signal to process */
37 Word16 l, /* input : size of filtering */
38 Word16 mem[] /* in/out: memory (size=3) */
41 Word16 *p_x, x_buf[L_FRAME + L_MEM];
q_pulse.c 32 Word16 pos, /* (i) position of the pulse */
33 Word16 N) /* (i) number of bits for position */
35 Word16 mask;
42 index = L_deposit_l((Word16) (pos & mask));
52 Word16 pos1, /* (i) position of the pulse 1 */
53 Word16 pos2, /* (i) position of the pulse 2 */
54 Word16 N) /* (i) number of bits for position */
56 Word16 mask, tmp;
68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask))))
    [all...]
isp_isf.c 34 Word16 isp[], /* (i) Q15 : isp[m] (range: -1<=val<1) */
35 Word16 isf[], /* (o) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */
36 Word16 m /* (i) : LPC order */
62 Word16 isf[], /* (i) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */
63 Word16 isp[], /* (o) Q15 : isp[m] (range: -1<=val<1) */
64 Word16 m /* (i) : LPC order */
67 Word16 offset;
79 offset = (Word16) (isp[i] & 0x007f); /* offset = b0-b6 of isf[i] */
83 isp[i] = add1(table[ind], (Word16)((L_tmp >> 8)));
c4t64fx.c 50 static Word16 tipos[36] = {
73 Word16 h[], /* (i) scaled impulse response */
74 Word16 vec[], /* (i) scaled vector (/8) to correlate with h[] */
75 Word16 track, /* (i) track to use */
76 Word16 sign[], /* (i) sign vector */
77 Word16 rrixix[][NB_POS], /* (i) correlation of h[x] with h[x] */
78 Word16 cor_1[], /* (o) result of correlation (NB_POS elements) */
79 Word16 cor_2[] /* (o) result of correlation (NB_POS elements) */
83 Word16 h[], /* (i) scaled impulse response */
84 Word16 vec[], /* (i) scaled vector (/8) to correlate with h[] *
    [all...]
wb_vad.c 46 static Word16 ilog2( /* return: output value of the log2 */
47 Word16 mant /* i: value to be converted */
50 Word16 ex, ex2, res;
82 Word16 * in0, /* i/o : input values; output low-pass part */
83 Word16 * in1, /* i/o : input values; output high-pass part */
84 Word16 data[] /* i/o : filter memory */
87 Word16 temp0, temp1, temp2;
110 Word16 * in0, /* i/o : input values; output low-pass part */
111 Word16 * in1, /* i/o : input values; output high-pass part */
112 Word16 * data /* i/o : filter memory *
    [all...]
isp_az.c 34 static void Get_isp_pol(Word16 * isp, Word32 * f, Word16 n);
35 static void Get_isp_pol_16kHz(Word16 * isp, Word32 * f, Word16 n);
38 Word16 isp[], /* (i) Q15 : Immittance spectral pairs */
39 Word16 a[], /* (o) Q12 : predictor coefficients (order = M) */
40 Word16 m,
41 Word16 adaptive_scaling /* (i) 0 : adaptive scaling disabled */
46 Word16 hi, lo;
48 Word16 nc
    [all...]
math_op.c 34 | Word16 hi, lo : L_32 = hi<<16 + lo<<1 (DPF - Double Precision Format) |
35 | Word32 frac, Word16 exp : L_32 = frac << exp-31 (normalised format) |
36 | Word16 int, frac : L_32 = int.frac (fractional format) |
61 Word16 exp;
91 static Word16 table_isqrt[49] =
102 Word16 * exp /* (i/o) : exponent (value = frac x 2^exponent) */
105 Word16 i, a, tmp;
122 a = (Word16)(*frac); /* Extract b10-b24 */
123 a = (Word16) (a & (Word16) 0x7fff)
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
pre_proc.h 74 Word16 y2_hi;
75 Word16 y2_lo;
76 Word16 y1_hi;
77 Word16 y1_lo;
78 Word16 x0;
79 Word16 x1;
88 Word16 Pre_Process_init(Pre_ProcessState **st);
95 Word16 Pre_Process_reset(Pre_ProcessState *st);
106 Word16 signal[], /* Input/output signal */
107 Word16 lg /* Lenght of signal *
    [all...]
pitch_ol.cpp 93 scal_sig = pointer to buffer of scaled signal values (Word16)
94 scal_fac = scaled signal factor (Word16)
95 scal_flag = EFR compatible scaling flag (Word16)
96 L_frame = length of frame to compute pitch (Word16)
97 lag_max = maximum lag (Word16)
98 lag_min = minimum lag (Word16)
99 cor_max = pointer to the normalized correlation of selected lag (Word16)
111 p_max = lag of the max correlation found (Word16)
125 scal_sig = pointer to buffer of scaled signal values (Word16)
126 scal_fac = scaled signal factor (Word16)
    [all...]
c3_14pf.cpp 92 Word16 dn[], /* i : correlation between target and h[] */
93 Word16 dn2[], /* i : maximum of corr. in each track. */
94 Word16 rr[][L_CODE],/* i : matrix of autocorrelation */
95 Word16 codvec[], /* o : algebraic codebook vector */
99 static Word16 build_code(
100 Word16 codvec[], /* i : algebraic codebook vector */
101 Word16 dn_sign[], /* i : sign of dn[] */
102 Word16 cod[], /* o : algebraic (fixed) codebook excitation */
103 Word16 h[], /* i : impulse response of weighted synthesis filter */
104 Word16 y[], /* o : filtered fixed codebook excitation *
    [all...]
calc_en.cpp 93 res = LP residual, buffer type Word16
94 exc = LTP excitation (unfiltered), buffer type Word16
95 code = CB innovation (unfiltered), buffer type Word16
96 gain_pit = pitch gain, type Word16
97 L_subfr = Subframe length, type Word16
98 frac_en = energy coefficients (4), fraction part, buffer type Word16
99 exp_en = energy coefficients (4), exponent part, buffer type Word16
100 ltpg = LTP coding gain (log2()), pointer to type Word16
146 Word16 res[], // i : LP residual, Q0
147 Word16 exc[], // i : LTP excitation (unfiltered), Q
    [all...]
c2_11pf.cpp 112 #define _1_2 (Word16)(32768L/2)
113 #define _1_4 (Word16)(32768L/4)
114 #define _1_8 (Word16)(32768L/8)
115 #define _1_16 (Word16)(32768L/16)
122 Word16 dn[], /* i : correlation between target and h[] */
123 Word16 rr[][L_CODE],/* i : matrix of autocorrelation */
124 Word16 codvec[], /* o : algebraic codebook vector */
128 static Word16 build_code(
129 Word16 codvec[], /* i : algebraic codebook vector */
130 Word16 dn_sign[], /* i : sign of dn[] *
    [all...]
qgain795.cpp 118 extern const Word16 qua_gain_code[NB_QUA_CODE*3];
133 exp_gcode0 -- Word16 -- predicted CB gain (exponent), Q0
134 gcode0 -- Word16 -- predicted CB gain (norm.)
135 g_pitch_cand[] -- Word16 array -- Pitch gain candidates (3), Q14
136 g_pitch_cind[] -- Word16 array -- Pitch gain cand. indices (3), Q0
137 frac_coeff[] -- Word16 array -- coefficients (5), Q15
138 exp_coeff[] -- Word16 array -- energy coefficients (5), Q0
142 gain_pit -- Pointer to Word16 -- Pitch gain, Q14
143 gain_pit_ind -- Pointer to Word16 -- Pitch gain index, Q0
144 gain_cod -- Pointer to Word16 -- Code gain, Q
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/src/
block_switch.c 33 static Word16
34 IIRFilter(const Word16 in, const Word32 coeff[], Word32 states[]);
37 SrchMaxWithIndex(const Word32 *in, Word16 *index, Word16 n);
42 Word16 *timeSignal,
43 Word16 chIncrement,
44 Word16 windowLen);
75 Word16 InitBlockSwitching(BLOCK_SWITCHING_CONTROL *blockSwitchingControl,
76 const Word32 bitRate, const Word16 nChannels)
91 static Word16 suggestedGroupingTable[TRANS_FAC][MAX_NO_OF_GROUPS] =
    [all...]
stat_bits.c 49 static Word16 countMsMaskBits(Word16 sfbCnt,
50 Word16 sfbPerGroup,
51 Word16 maxSfbPerGroup,
54 Word16 msBits, sfbOff, sfb;
78 static Word16 tnsCount(TNS_INFO *tnsInfo, Word16 blockType)
86 Word16 *ptcoef;
168 static Word16 countTnsBits(TNS_INFO *tnsInfo,Word16 blockType
    [all...]
quantize.c 56 static Word16 quantizeSingleLine(const Word16 gain, const Word32 absSpectrum)
60 Word16 qua = 0;
104 static void quantizeLines(const Word16 gain,
105 const Word16 noOfLines,
107 Word16 *quaSpectrum)
113 const Word16 *pquat;
228 static void iquantizeLines(const Word16 gain,
229 const Word16 noOfLines,
230 const Word16 *quantSpectrum
    [all...]
bitbuffer.c 33 Word16 cnt)
56 Word16 bitBufSize)
97 Word16 bitBufSize)
129 Word16 GetBitsAvail(HANDLE_BIT_BUF hBitBuf)
140 Word16 WriteBits(HANDLE_BIT_BUF hBitBuf,
142 Word16 noBitsToWrite)
144 Word16 wBitPos;
146 assert(noBitsToWrite <= (Word16)sizeof(Word32)*8);
  /frameworks/av/media/libstagefright/codecs/amrnb/common/include/
syn_filt.h 71 Word16 a[], /* (i) : a[m+1] prediction coefficients (m=10) */
72 Word16 x[], /* (i) : input signal */
73 Word16 y[], /* (o) : output signal */
74 Word16 lg, /* (i) : size of filtering */
75 Word16 mem[], /* (i/o): memory associated with this filtering. */
76 Word16 update /* (i) : 0=no update, 1=update of memory. */
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
Dot_p_neon.s 19 @ Word16 x[], /* (i) 12bits: x vector */
20 @ Word16 y[], /* (i) 12bits: y vector */
21 @ Word16 lg, /* (i) : vector length */
22 @ Word16 * exp /* (o) : exponent of result (0..+30) */
39 VLD1.S16 {Q0, Q1}, [r0]! @load 16 Word16 x[]
40 VLD1.S16 {Q2, Q3}, [r0]! @load 16 Word16 x[]
41 VLD1.S16 {Q4, Q5}, [r0]! @load 16 Word16 x[]
42 VLD1.S16 {Q6, Q7}, [r0]! @load 16 Word16 x[]
43 VLD1.S16 {Q8, Q9}, [r1]! @load 16 Word16 y[]
44 VLD1.S16 {Q10, Q11}, [r1]! @load 16 Word16 y[
    [all...]
scale_sig_neon.s 19 @ Word16 x[], /* (i/o) : signal to scale */
20 @ Word16 lg, /* (i) : size of x[] */
21 @ Word16 exp /* (i) : exponent: x = round(x << exp) */
51 VLD1.S16 {Q0, Q1}, [r5]! @load 16 Word16 x[]
64 VST1.S16 {Q8, Q9}, [r0]! @store 16 Word16 x[]
67 VLD1.S16 {Q0, Q1}, [r5]! @load 16 Word16 x[]
68 VLD1.S16 {Q2, Q3}, [r5]! @load 16 Word16 x[]
69 VLD1.S16 {Q4, Q5}, [r5]! @load 16 Word16 x[]
70 VLD1.S16 {Q6, Q7}, [r5]! @load 16 Word16 x[]
84 VST1.S16 {Q8, Q9}, [r0]! @store 16 Word16 x[
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
q_plsf_3.cpp 140 extern const Word16 mean_lsf_3[];
142 extern const Word16 pred_fac_3[];
144 extern const Word16 dico1_lsf_3[];
145 extern const Word16 dico2_lsf_3[];
146 extern const Word16 dico3_lsf_3[];
148 extern const Word16 mr515_3_lsf[];
149 extern const Word16 mr795_1_lsf[];
151 extern const Word16 past_rq_init[];
165 lsf_r1 = pointer to the first LSF residual vector (Q15) (Word16)
166 dico = pointer to the quantization codebook (Q15) (const Word16)
    [all...]

Completed in 441 milliseconds

1 2 34 5 6 7 8 91011>>