Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 976) sorted by relevance

12345678910>>...40

/external/opencore/codecs_v2/audio/aac/dec/src/
Dsbr_aliasing_reduction.cpp175 Int32 k; in sbr_aliasing_reduction() local
179 for (k = 0; k < noSubbands - 1; k++) in sbr_aliasing_reduction()
181 if (degreeAlias[k + lowSubband + 1] && dontUseTheseGainValues[k] == 0) in sbr_aliasing_reduction()
185 groupVector[index] = k + lowSubband; in sbr_aliasing_reduction()
194 groupVector[index] = k + lowSubband; in sbr_aliasing_reduction()
196 if (! dontUseTheseGainValues[k]) in sbr_aliasing_reduction()
229 for (k = startGroup; k < stopGroup; k++) in sbr_aliasing_reduction()
231 if (tmp_q1 < nrg_est_exp[k]) in sbr_aliasing_reduction()
233 tmp_q1 = nrg_est_exp[k]; /* max */ in sbr_aliasing_reduction()
235 if (tmp_q2 < (nrg_est_exp[k] + (nrg_gain_exp[k] << 1))) in sbr_aliasing_reduction()
[all …]
Dcalc_sbr_envelope.cpp150 Int32 k,
187 Int32 k,
248 Int32 k = 0; in calc_sbr_envelope() local
360 k = *(ptr++); in calc_sbr_envelope()
361 j = ((k + l) >> 1) - lowSubband; in calc_sbr_envelope()
362 l = k; in calc_sbr_envelope()
398 for (k = li; k < ui; k++) in calc_sbr_envelope()
409 k - kkkk, in calc_sbr_envelope()
423 k - kkkk, in calc_sbr_envelope()
441 for (k = c - (ui - li); k < c; k++) in calc_sbr_envelope()
[all …]
Dextractframeinfo.cpp171 Int32 k; in extractFrameInfo() local
229 for (k = 0; k < bs_num_env - 1; k++) in extractFrameInfo()
231 bs_rel_bord[k] = (buf_getbits(hBitBuf, SBR_REL_BITS) + 1) << 1; in extractFrameInfo()
253 for (k = 0; k < bs_num_env - 1; k++) in extractFrameInfo()
255 bs_rel_bord[k] = (buf_getbits(hBitBuf, SBR_REL_BITS) + 1) << 1; in extractFrameInfo()
281 for (k = 0; k < bs_num_rel_0; k++) in extractFrameInfo()
283 bs_rel_bord_0[k] = (buf_getbits(hBitBuf, SBR_REL_BITS) + 1) << 1; in extractFrameInfo()
286 for (k = 0; k < bs_num_rel_1; k++) in extractFrameInfo()
288 bs_rel_bord_1[k] = (buf_getbits(hBitBuf, SBR_REL_BITS) + 1) << 1; in extractFrameInfo()
319 for (k = 0; k < nRelLead; k++) in extractFrameInfo()
[all …]
Dsbr_create_limiter_bands.cpp143 Int32 k; in sbr_create_limiter_bands() local
176 for (k = 0; k <= noBands; k++) in sbr_create_limiter_bands()
178 workLimiterBandTable[k] = freqTable[k] - lowSubband; in sbr_create_limiter_bands()
181 for (k = 1; k < noPatches; k++) in sbr_create_limiter_bands()
183 workLimiterBandTable[noBands+k] = patchBorders[k]; in sbr_create_limiter_bands()
209 for (k = 0; k <= noPatches; k++) in sbr_create_limiter_bands()
211 if (workLimiterBandTable[j-1] == patchBorders[k]) in sbr_create_limiter_bands()
218 for (k = 0; k <= noPatches; k++) in sbr_create_limiter_bands()
220 if (workLimiterBandTable[j] == patchBorders[k]) in sbr_create_limiter_bands()
243 for (k = 0; k <= gateMode[i]; k++) in sbr_create_limiter_bands()
[all …]
Dlt_decode.cpp315 Int k; in lt_decode() local
345 for (k = last_band; k > 0; k--) in lt_decode()
354 for (k = (max_sfb - last_band); k > 0; k--) in lt_decode()
439 for (k = last_band; k > 0; k--) in lt_decode()
443 for (k = (max_sfb - last_band); k > 0; k--) in lt_decode()
485 for (k = last_band; k > 0; k--) in lt_decode()
489 for (k = (max_sfb - last_band); k > 0; k--) in lt_decode()
/external/opencore/codecs_v2/audio/gsm_amr/amr_wb/dec/src/
Ddec_acelp_4p_in_64.cpp160 int16 k, pos[6]; in dec_acelp_4p_in_64() local
170 for (k = 0; k < NB_TRACK; k++) in dec_acelp_4p_in_64()
172 L_index = index[k]; in dec_acelp_4p_in_64()
174 add_pulses(pos, 1, k, code); in dec_acelp_4p_in_64()
179 for (k = 0; k < NB_TRACK; k++) in dec_acelp_4p_in_64()
181 L_index = index[k]; in dec_acelp_4p_in_64()
183 add_pulses(pos, 2, k, code); in dec_acelp_4p_in_64()
187 for (k = 0; k < NB_TRACK - 2; k++) in dec_acelp_4p_in_64()
189 L_index = index[k]; in dec_acelp_4p_in_64()
191 add_pulses(pos, 3, k, code); in dec_acelp_4p_in_64()
[all …]
/external/opencore/codecs_v2/video/m4v_h263/dec/src/
Dvlc_dequant.cpp67 int i, j, k; in VlcDequantMpegIntraBlock() local
135 k = inv_zigzag[i]; in VlcDequantMpegIntraBlock()
139 datablock[k] -= run_level.level; in VlcDequantMpegIntraBlock()
143 datablock[k] += run_level.level; in VlcDequantMpegIntraBlock()
146 if (AC_rowcol[k]) in VlcDequantMpegIntraBlock()
148 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock()
152 datablock[k] = (int) temp; in VlcDequantMpegIntraBlock()
155 bitmapcol[k&0x7] |= mask[k>>3]; in VlcDequantMpegIntraBlock()
186 for (j = 0, k = 8; k < 64; k += 8, j++) in VlcDequantMpegIntraBlock()
188 if (dcac_col[j] = datablock[k]) in VlcDequantMpegIntraBlock()
[all …]
/external/tesseract/liblept/
Dgraymorphlow.c126 l_int32 i, j, k; in dilateGrayLow() local
147 for (k = 1; k < size; k++) { in dilateGrayLow()
148 maxarray[size - 1 - k] = in dilateGrayLow()
149 L_MAX(maxarray[size - k], buffer[startmax - k]); in dilateGrayLow()
150 maxarray[size - 1 + k] = in dilateGrayLow()
151 L_MAX(maxarray[size + k - 2], buffer[startmax + k]); in dilateGrayLow()
158 for (k = 1; k < size - 1; k++) { in dilateGrayLow()
159 maxval = L_MAX(maxarray[k], maxarray[k + size - 1]); in dilateGrayLow()
160 SET_DATA_BYTE(lined, startx + k, maxval); in dilateGrayLow()
181 for (k = 1; k < size; k++) { in dilateGrayLow()
[all …]
/external/aes/
Daeskey.c63 #define ke4(k,i) \ argument
64 { k[4*(i)+4] = ss[0] ^= ls_box(ss[3],3) ^ t_use(r,c)[i]; k[4*(i)+5] = ss[1] ^= ss[0]; \
65 k[4*(i)+6] = ss[2] ^= ss[1]; k[4*(i)+7] = ss[3] ^= ss[2]; \
67 #define kel4(k,i) \ argument
68 { k[4*(i)+4] = ss[0] ^= ls_box(ss[3],3) ^ t_use(r,c)[i]; k[4*(i)+5] = ss[1] ^= ss[0]; \
69 k[4*(i)+6] = ss[2] ^= ss[1]; k[4*(i)+7] = ss[3] ^= ss[2]; \
72 #define ke6(k,i) \ argument
73 { k[6*(i)+ 6] = ss[0] ^= ls_box(ss[5],3) ^ t_use(r,c)[i]; k[6*(i)+ 7] = ss[1] ^= ss[0]; \
74 k[6*(i)+ 8] = ss[2] ^= ss[1]; k[6*(i)+ 9] = ss[3] ^= ss[2]; \
75 k[6*(i)+10] = ss[4] ^= ss[3]; k[6*(i)+11] = ss[5] ^= ss[4]; \
[all …]
/external/ipsec-tools/src/racoon/
Dstrnames.c210 s_isakmp_certtype(k) in s_isakmp_certtype() argument
211 int k; in s_isakmp_certtype()
215 if (name_isakmp_certtype[i].key == k)
217 return num2str(k);
234 s_isakmp_etype(k) in s_isakmp_etype() argument
235 int k; in s_isakmp_etype()
239 if (name_isakmp_etype[i].key == k)
241 return num2str(k);
286 s_isakmp_notify_msg(k) in s_isakmp_notify_msg() argument
287 int k; in s_isakmp_notify_msg()
[all …]
/external/libpcap/bpf/net/
Dbpf_filter.c133 m_xword(m, k, err) in m_xword() argument
135 register int k, *err;
141 MINDEX(len, m, k);
142 cp = mtod(m, u_char *) + k;
143 if (len - k >= 4) {
148 if (m0 == 0 || MLEN(m0) + len - k < 4)
152 switch (len - k) {
169 m_xhalf(m, k, err) in m_xhalf() argument
171 register int k, *err;
177 MINDEX(len, m, k);
[all …]
/external/blktrace/
Djhash.h26 #define __rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument
61 const u8 *k = key; in jhash() local
68 a += (k[0] + ((u32)k[1]<<8) + ((u32)k[2]<<16) + ((u32)k[3]<<24)); in jhash()
69 b += (k[4] + ((u32)k[5]<<8) + ((u32)k[6]<<16) + ((u32)k[7]<<24)); in jhash()
70 c += (k[8] + ((u32)k[9]<<8) + ((u32)k[10]<<16) + ((u32)k[11]<<24)); in jhash()
73 k += 12; in jhash()
79 case 12: c += (u32)k[11]<<24; in jhash()
80 case 11: c += (u32)k[10]<<16; in jhash()
81 case 10: c += (u32)k[9]<<8; in jhash()
82 case 9 : c += k[8]; in jhash()
[all …]
/external/speex/libspeex/
Dkiss_fftr.c84 int k,ncfft; in kiss_fftr() local
118 for ( k=1;k <= ncfft/2 ; ++k ) { in kiss_fftr()
119 fpk = st->tmpbuf[k]; in kiss_fftr()
120 fpnk.r = st->tmpbuf[ncfft-k].r; in kiss_fftr()
121 fpnk.i = - st->tmpbuf[ncfft-k].i; in kiss_fftr()
127 C_MUL( tw , f2k , st->super_twiddles[k]); in kiss_fftr()
129 freqdata[k].r = HALF_OF(f1k.r + tw.r); in kiss_fftr()
130 freqdata[k].i = HALF_OF(f1k.i + tw.i); in kiss_fftr()
131 freqdata[ncfft-k].r = HALF_OF(f1k.r - tw.r); in kiss_fftr()
132 freqdata[ncfft-k].i = HALF_OF(tw.i - f1k.i); in kiss_fftr()
[all …]
Dvq.c78 int i,j,k,used; in vq_nbest() local
92 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) in vq_nbest()
94 best_dist[k]=best_dist[k-1]; in vq_nbest()
95 nbest[k] = nbest[k-1]; in vq_nbest()
97 best_dist[k]=dist; in vq_nbest()
98 nbest[k]=i; in vq_nbest()
112 int i,j,k, sign, used; in vq_nbest_sign() local
134 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) in vq_nbest_sign()
136 best_dist[k]=best_dist[k-1]; in vq_nbest_sign()
137 nbest[k] = nbest[k-1]; in vq_nbest_sign()
[all …]
Dvq_sse.h38 int i,j,k,used; in vq_nbest() local
59 for (k=N-1; (k >= 1) && (k > used || dist[i] < best_dist[k-1]); k--) in vq_nbest()
61 best_dist[k]=best_dist[k-1]; in vq_nbest()
62 nbest[k] = nbest[k-1]; in vq_nbest()
64 best_dist[k]=dist[i]; in vq_nbest()
65 nbest[k]=i; in vq_nbest()
77 int i,j,k,used; in vq_nbest_sign() local
108 for (k=N-1; (k >= 1) && (k > used || dist[i] < best_dist[k-1]); k--) in vq_nbest_sign()
110 best_dist[k]=best_dist[k-1]; in vq_nbest_sign()
111 nbest[k] = nbest[k-1]; in vq_nbest_sign()
[all …]
/external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
D15.5.4.7-1.js74 for ( k = 0, i = 0x0021; i < 0x007e; i++, j++, k++ ) {
81 for ( k = 0, i = 0x0020; i < 0x007e; i++, j++, k++ ) {
83 "String.lastIndexOf("+String.fromCharCode(i)+ ", "+ k +")",
84 k,
85 TEST_STRING.lastIndexOf( String.fromCharCode(i), k ) );
88 for ( k = 0, i = 0x0020; i < 0x007e; i++, j++, k++ ) {
90 "String.lastIndexOf("+String.fromCharCode(i)+ ", "+k+1+")",
91 k,
92 TEST_STRING.lastIndexOf( String.fromCharCode(i), k+1 ) );
95 for ( k = 9, i = 0x0021; i < 0x007d; i++, j++, k++ ) {
[all …]
D15.5.4.6-1.js79 for ( k = 0, i = 0x0020; i < 0x007e; i++, j++, k++ ) {
82 k,
86 for ( k = 0, i = 0x0020; i < 0x007e; i++, j++, k++ ) {
88 "String.indexOf("+String.fromCharCode(i)+ ", "+ k +")",
89 k,
90 TEST_STRING.indexOf( String.fromCharCode(i), k ) );
93 for ( k = 0, i = 0x0020; i < 0x007e; i++, j++, k++ ) {
95 "String.indexOf("+String.fromCharCode(i)+ ", "+k+1+")",
97 TEST_STRING.indexOf( String.fromCharCode(i), k+1 ) );
100 for ( k = 0, i = 0x0020; i < 0x007d; i++, j++, k++ ) {
[all …]
/external/tremor/Tremor/
Dres012.c40 int j,k; in res_unpack() local
64 for(k=0;k<8;k++){ in res_unpack()
65 if((info->stagemasks[j]>>k)&1){ in res_unpack()
68 info->stagebooks[j*8+k]=book; in res_unpack()
69 if(k+1>info->stages)info->stages=k+1; in res_unpack()
71 info->stagebooks[j*8+k]=0xff; in res_unpack()
86 int i,j,k,s,used=0; in res_inverse() local
121 for(k=partitions_per_word-2;k>=0;k--) in res_inverse()
122 partword[0][i+k]=partword[0][i+k+1]*info->partitions; in res_inverse()
125 for(k=partitions_per_word-1;k>=0;k--) in res_inverse()
[all …]
/external/openssl/crypto/des/
Ddes_old.h150 #define des_cbc_cksum(i,o,l,k,iv)\ argument
151 DES_cbc_cksum((i),(o),(l),&(k),(iv))
152 #define des_cbc_encrypt(i,o,l,k,iv,e)\ argument
153 DES_cbc_encrypt((i),(o),(l),&(k),(iv),(e))
154 #define des_ncbc_encrypt(i,o,l,k,iv,e)\ argument
155 DES_ncbc_encrypt((i),(o),(l),&(k),(iv),(e))
156 #define des_xcbc_encrypt(i,o,l,k,iv,inw,outw,e)\ argument
157 DES_xcbc_encrypt((i),(o),(l),&(k),(iv),(inw),(outw),(e))
158 #define des_cfb_encrypt(i,o,n,l,k,iv,e)\ argument
159 DES_cfb_encrypt((i),(o),(n),(l),&(k),(iv),(e))
[all …]
/external/openssl/include/openssl/
Ddes_old.h150 #define des_cbc_cksum(i,o,l,k,iv)\ argument
151 DES_cbc_cksum((i),(o),(l),&(k),(iv))
152 #define des_cbc_encrypt(i,o,l,k,iv,e)\ argument
153 DES_cbc_encrypt((i),(o),(l),&(k),(iv),(e))
154 #define des_ncbc_encrypt(i,o,l,k,iv,e)\ argument
155 DES_ncbc_encrypt((i),(o),(l),&(k),(iv),(e))
156 #define des_xcbc_encrypt(i,o,l,k,iv,inw,outw,e)\ argument
157 DES_xcbc_encrypt((i),(o),(l),&(k),(iv),(inw),(outw),(e))
158 #define des_cfb_encrypt(i,o,n,l,k,iv,e)\ argument
159 DES_cfb_encrypt((i),(o),(n),(l),&(k),(iv),(e))
[all …]
/external/bluetooth/glib/glib/
Dgdataset.h79 #define g_datalist_get_data(dl, k) \ argument
80 (g_datalist_id_get_data ((dl), g_quark_try_string (k)))
81 #define g_datalist_set_data_full(dl, k, d, f) \ argument
82 g_datalist_id_set_data_full ((dl), g_quark_from_string (k), (d), (f))
83 #define g_datalist_remove_no_notify(dl, k) \ argument
84 g_datalist_id_remove_no_notify ((dl), g_quark_try_string (k))
85 #define g_datalist_set_data(dl, k, d) \ argument
86 g_datalist_set_data_full ((dl), (k), (d), NULL)
87 #define g_datalist_remove_data(dl, k) \ argument
88 g_datalist_id_set_data ((dl), g_quark_try_string (k), NULL)
[all …]
/external/qemu/
Dkeymaps.c64 kbd_layout_t * k) in parse_keyboard_layout() argument
73 if (!k) in parse_keyboard_layout()
74 k = qemu_mallocz(sizeof(kbd_layout_t)); in parse_keyboard_layout()
92 parse_keyboard_layout(table, line + 8, k); in parse_keyboard_layout()
109 add_to_key_range(&k->keypad_range, keycode); in parse_keyboard_layout()
110 add_to_key_range(&k->numlock_range, keysym); in parse_keyboard_layout()
118 k->keysym2keycode[keysym] = keycode; in parse_keyboard_layout()
120 if (k->extra_count >= MAX_EXTRA_COUNT) { in parse_keyboard_layout()
127 k->extra_count, keysym, keycode); in parse_keyboard_layout()
129 k->keysym2keycode_extra[k->extra_count]. in parse_keyboard_layout()
[all …]
/external/webkit/JavaScriptCore/runtime/
DArrayPrototype.cpp163 for (unsigned k = 0; k < length; k++) { in arrayProtoFuncToString() local
164 if (k >= 1) in arrayProtoFuncToString()
172 JSValue element = thisObj->get(exec, k); in arrayProtoFuncToString()
209 for (unsigned k = 0; k < length; k++) { in arrayProtoFuncToLocaleString() local
210 if (k >= 1) in arrayProtoFuncToLocaleString()
218 JSValue element = thisObj->get(exec, k); in arrayProtoFuncToLocaleString()
265 for (unsigned k = 0; k < length; k++) { in arrayProtoFuncJoin() local
266 if (k >= 1) in arrayProtoFuncJoin()
274 JSValue element = thisObj->get(exec, k); in arrayProtoFuncJoin()
304 for (unsigned k = 0; k < length; ++k) { in arrayProtoFuncConcat() local
[all …]
/external/opencore/codecs_v2/audio/aac/dec/util/getactualaacconfig/src/
Dlt_decode.cpp315 Int k; in lt_decode() local
345 for (k = last_band; k > 0; k--) in lt_decode()
354 for (k = (max_sfb - last_band); k > 0; k--) in lt_decode()
439 for (k = last_band; k > 0; k--) in lt_decode()
443 for (k = (max_sfb - last_band); k > 0; k--) in lt_decode()
485 for (k = last_band; k > 0; k--) in lt_decode()
489 for (k = (max_sfb - last_band); k > 0; k--) in lt_decode()
/external/webkit/SunSpider/tests/
Dmath-partial-sums.js11 for (var k = 1; k <= n; k++){
12 k2 = k*k;
13 k3 = k2*k;
14 sk = Math.sin(k);
15 ck = Math.cos(k);
18 a1 += Math.pow(twothirds,k-1);
19 a2 += Math.pow(k,-0.5);
20 a3 += 1.0/(k*(k+1.0));
23 a6 += 1.0/k;
25 a8 += alt/k;
[all …]

12345678910>>...40