Searched defs:shft (Results 1 - 14 of 14) sorted by relevance

/external/libopus/silk/
H A Dsum_sqr_shift.c43 opus_int i, shft; local
47 shft = 0;
55 shft = 2;
63 nrg = (opus_int32)silk_ADD_RSHIFT_uint( nrg, (opus_uint32)nrg_tmp, shft );
67 shft += 2;
73 nrg = (opus_int32)silk_ADD_RSHIFT_uint( nrg, nrg_tmp, shft );
79 shft += 2;
83 *shift = shft;
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
H A Dcb_mem_energy_calc.c36 int16_t shft; local
59 shft = (int16_t)WebRtcSpl_NormW32(energy);
60 *eSh_ptr++ = shft;
62 tmp = energy << shft;
/external/libavc/common/
H A Dih264_weighted_pred.c381 WORD32 shft, ofst; local
389 shft = log_wd + 1;
390 ofst = (1 << log_wd) + (ofst << shft);
399 *pu1_dst = CLIP_U8((wt1 * (*pu1_src1) + wt2 * (*pu1_src2) + ofst) >> shft);
460 WORD32 shft; local
477 shft = log_wd + 1;
478 ofst_u = (1 << log_wd) + (ofst_u << shft);
479 ofst_v = (1 << log_wd) + (ofst_v << shft);
485 *pu1_dst = CLIP_U8((wt1_u * (*pu1_src1) + wt2_u * (*pu1_src2) + ofst_u) >> shft);
489 *pu1_dst = CLIP_U8((wt1_v * (*pu1_src1) + wt2_v * (*pu1_src2) + ofst_v) >> shft);
[all...]
/external/libedit/src/
H A Dvis.c267 int iswextra, i, shft; local
280 shft = i * NBBY;
281 bmsk = (uint64_t)0xffLL << shft;
285 (uint64_t)(c & bmsk) >> shft),
358 int clen = 0, cerr = 0, error = -1, i, shft; local
494 shft = i * NBBY;
495 bmsk = (uint64_t)0xffLL << shft;
500 shft);
/external/syslinux/com32/lib/sys/vesa/
H A Dbackground.c249 unsigned int shft; local
258 shft = ilog2(z) + 1;
265 k = __vesacon_linear_to_srgb[500 + ((dx*dx + dy2) >> shft)];
/external/libavc/common/x86/
H A Dih264_weighted_pred_sse42.c838 WORD32 round_val, shft; local
843 shft = log_wd + 1;
896 y1_0_8x16b = _mm_srai_epi16(y1_0_8x16b, shft);
897 y1_2_8x16b = _mm_srai_epi16(y1_2_8x16b, shft);
972 y1_0_8x16b = _mm_srai_epi16(y1_0_8x16b, shft);
973 y1_1_8x16b = _mm_srai_epi16(y1_1_8x16b, shft);
974 y1_2_8x16b = _mm_srai_epi16(y1_2_8x16b, shft);
975 y1_3_8x16b = _mm_srai_epi16(y1_3_8x16b, shft);
1044 y1_0L_8x16b = _mm_srai_epi16(y1_0L_8x16b, shft);
1045 y1_0H_8x16b = _mm_srai_epi16(y1_0H_8x16b, shft);
1126 WORD32 round_val, shft, ofst_val; local
[all...]
H A Dih264_luma_intra_pred_filters_ssse3.c1009 WORD32 shft = 2; local
1019 shft++;
1028 shft++;
1032 dc_val = dc_val >> shft;
1898 WORD32 shft; local
1902 shft = 3;
1915 shft++;
1929 shft++;
1934 dc_val = dc_val >> shft;
/external/libavc/encoder/x86/
H A Dih264e_intra_modes_eval_ssse3.c551 WORD32 shft = 1, dcval = 0; local
561 shft ++;
567 shft++;
573 dcval = dcval >> shft;
/external/pdfium/third_party/libtiff/
H A Dtif_luv.c188 int shft; local
217 for (shft = 2*8; (shft -= 8) >= 0; ) {
223 b = (int16)(*bp++ << shft);
230 tp[i++] |= (int16)*bp++ << shft;
321 int shft; local
351 for (shft = 4*8; (shft -= 8) >= 0; ) {
357 b = (uint32)*bp++ << shft;
364 tp[i++] |= (uint32)*bp++ << shft;
436 int shft; local
586 int shft; local
[all...]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dlpc_masking_model.c568 int shft; local
879 shft = 16 - sh;
880 tmp16a = (int16_t) WEBRTC_SPL_SHIFT_W32(tmp32c, -shft); // Q(ssh-shft) (denominator)
882 tmp32b = WebRtcSpl_DivW32W16(tmp32a, tmp16a); // Q(24-ssh+shft)
883 sh = ssh-shft-7;
928 shft = 16 - sh;
929 tmp16a = (int16_t) WEBRTC_SPL_SHIFT_W32(tmp32c, -shft); // Q(ssh-shft) (denominator)
931 tmp32b = WebRtcSpl_DivW32W16(tmp32a, tmp16a); // Q(24-ssh+shft)
[all...]
H A Dentropy_coding.c385 int16_t dither1_Q7, dither2_Q7, dither_gain_Q14, shft; local
403 shft = (int16_t)(WEBRTC_SPL_RSHIFT_U32(seed, 25) & 15);
404 if (shft < 5)
410 else if (shft < 10)
438 shft = (int16_t)(WEBRTC_SPL_RSHIFT_U32(seed, 25) & 1); /* either 0 or 1 */
440 bufQ7[k + shft] = (int16_t)((dither_gain_Q14 * dither1_Q7 + 8192) >> 14);
441 bufQ7[k + 1 - shft] = 0;
1678 int16_t shft; local
1688 shft = -1; // StepSize=2.0;
1696 shft
1761 int16_t shft, tmp16b; local
[all...]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dentropy_coding.c174 int k, shft; local
193 shft = (seed >> 25) & 15;
194 if (shft < 5) {
198 } else if (shft < 10) {
220 shft = (seed >> 25) & 1; /* Either 0 or 1 */
222 bufQ7[k + shft] = (((dither_gain_Q14 * dither1_Q7) + 8192) >> 14);
223 bufQ7[k + 1 - shft] = 0;
/external/valgrind/helgrind/
H A Dlibhb_core.c996 Word bix, shft, mask, prep; local
999 shft = 2 * (ix & 3); /* 0, 2, 4 or 6 */
1000 mask = 3 << shft;
1001 prep = b2 << shft;
1007 Word bix, shft; local
1010 shft = 2 * (ix & 3); /* 0, 2, 4 or 6 */
1011 return (arr[bix] >> shft) & 3;
/external/valgrind/VEX/priv/
H A Dguest_ppc_toIR.c3155 UInt shft, mask; local
3160 shft = 4*(7-fld);
3161 mask = 0xF<<shft;
3174 if (shft == 0)
3179 mkU8(toUChar( shft )));
3475 UInt shft; local
3483 shft = 4*(7-fld);
3485 shft = 4*(15-fld);
3487 mask = mask << shft;
3499 if (shft
9541 UChar shft; local
[all...]

Completed in 478 milliseconds