Searched defs:shift (Results 126 - 150 of 657) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dpacked-cache-inl.h194 // If we have space for a whole key, we just shift it left.
202 const int shift = kHashbits - kValuebits; local
204 return static_cast<T>(k >> shift) & kUpperMask;
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
H A Dcomplex_fft.c164 int i, j, l, k, istep, n, m, scale, shift; local
185 shift = 0;
191 shift++;
197 shift++;
231 frfi[2 * j] = (int16_t)WEBRTC_SPL_RSHIFT_W32(qr32 - tr32, shift);
232 frfi[2 * j + 1] = (int16_t)WEBRTC_SPL_RSHIFT_W32(qi32 - ti32, shift);
233 frfi[2 * i] = (int16_t)WEBRTC_SPL_RSHIFT_W32(qr32 + tr32, shift);
234 frfi[2 * i + 1] = (int16_t)WEBRTC_SPL_RSHIFT_W32(qi32 + ti32, shift);
291 shift+CIFFTSFT);
293 (qi32 - ti32 + round2), shift
[all...]
H A Dcomplex_fft_mips.c151 int scale = 0, shift = 0; local
171 "addiu %[shift], $zero, 14 \n\t"
222 "addu %[shift], %[shift], %[tmp1] \n\t"
269 "srav %[tmp4], %[tmp4], %[shift] \n\t"
270 "srav %[tmp1], %[tmp1], %[shift] \n\t"
271 "srav %[tmp6], %[tmp6], %[shift] \n\t"
272 "srav %[tmp5], %[tmp5], %[shift] \n\t"
292 "sra %[tmp4], %[tmp4], %[shift] \n\t"
293 "sra %[tmp1], %[tmp1], %[shift] \
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dentropy_coding_mips.c27 const int shift) {
60 "sllv %[r0], %[r0], %[shift] \n\t"
93 [matrix1_step] "r" (matrix1_step), [shift] "r" (shift),
130 "sllv %[r0], %[r0], %[shift] \n\t"
163 [matrix1_step] "r" (matrix1_step), [shift] "r" (shift),
17 WebRtcIsacfix_MatrixProduct1MIPS(const int16_t matrix0[], const int32_t matrix1[], int32_t matrix_product[], const int matrix1_index_factor1, const int matrix0_index_factor1, const int matrix1_index_init_case, const int matrix1_index_step, const int matrix0_index_step, const int inner_loop_count, const int mid_loop_count, const int shift) argument
H A Dentropy_coding_neon.c35 const int shift) {
44 int32x4_t shift32x4 = vdupq_n_s32(shift);
45 int32x2_t shift32x2 = vdup_n_s32(shift);
102 int32x4_t matrix1_32x4 = vdupq_n_s32(matrix1[matrix1_index] << shift);
118 int32x2_t matrix1_32x2 = vdup_n_s32(matrix1[matrix1_index] << shift);
182 matrix1[matrix1_index] << shift));
25 WebRtcIsacfix_MatrixProduct1Neon(const int16_t matrix0[], const int32_t matrix1[], int32_t matrix_product[], const int matrix1_index_factor1, const int matrix0_index_factor1, const int matrix1_index_init_case, const int matrix1_index_step, const int matrix0_index_step, const int inner_loop_count, const int mid_loop_count, const int shift) argument
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/lc3b/
H A Dlc3barch.c143 size_t shift, int warn)
141 lc3b_floatnum_tobytes(yasm_arch *arch, const yasm_floatnum *flt, unsigned char *buf, size_t destsize, size_t valsize, size_t shift, int warn) argument
H A Dlc3bbc.c244 int shift, const yasm_bytecode *bc, int warn)
247 yasm_intnum_get_sized(intn, buf, destsize, valsize, shift, 0, warn);
242 yasm_lc3b__intnum_tobytes(yasm_arch *arch, const yasm_intnum *intn, unsigned char *buf, size_t destsize, size_t valsize, int shift, const yasm_bytecode *bc, int warn) argument
/external/chromium_org/ui/base/test/
H A Dui_controls_aura.cc23 bool shift,
28 window, key, control, shift, alt, command);
35 bool shift,
41 window, key, control, shift, alt, command, task);
20 SendKeyPress(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command) argument
32 SendKeyPressNotifyWhenDone(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command, const base::Closure& task) argument
/external/eigen/test/
H A Dhouseholder.cpp78 // test householder sequence on the left with a shift
80 Index shift = internal::random<Index>(0, std::max<Index>(rows-2,0)); local
81 Index brows = rows - shift;
83 HBlockMatrixType hbm = m1.block(shift,0,brows,cols);
86 m2.block(shift,0,brows,cols) = qr.matrixQR();
89 hseq.setLength(hc.size()).setShift(shift);
91 VERIFY(hseq.shift() == shift);
94 m5.block(shift,0,brows,cols).template triangularView<StrictlyLower>().setZero();
116 // test householder sequence on the right with a shift
[all...]
/external/emma/core/java12/com/vladium/jcd/cls/
H A DConstantCollection.java208 shift ();
215 shift ();
246 private void shift () method in class:ConstantCollection.ConstantIterator
/external/freetype/src/base/
H A Dftbbox.c266 FT_Int shift; local
279 shift = 27 - FT_MSB( FT_ABS( p2 ) | FT_ABS( p3 ) );
281 if ( shift > 0 )
284 if ( shift > 2 )
285 shift = 2;
287 p1 <<= shift; local
288 p2 <<= shift; local
289 p3 <<= shift; local
290 p4 <<= shift; local
291 nmin = *min << shift;
311 nmin >>= shift; local
312 nmax >>= shift; local
[all...]
H A Dfttrigon.c118 FT_Int shift; local
124 shift = FT_MSB( FT_ABS( x ) | FT_ABS( y ) );
126 if ( shift <= FT_TRIG_SAFE_MSB )
128 shift = FT_TRIG_SAFE_MSB - shift;
129 vec->x = (FT_Pos)( (FT_ULong)x << shift );
130 vec->y = (FT_Pos)( (FT_ULong)y << shift );
134 shift -= FT_TRIG_SAFE_MSB;
135 vec->x = x >> shift;
136 vec->y = y >> shift;
365 FT_Int shift; local
402 FT_Int shift; local
438 FT_Int shift; local
[all...]
/external/freetype/src/truetype/
H A Dttpload.c67 FT_Int shift; local
90 shift = 2;
98 face->num_locations = table_len >> shift;
102 shift = 1;
110 face->num_locations = table_len >> shift;
122 ( (FT_Long)( face->root.num_glyphs ) + 1 ) << shift;
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
H A Drijndael-alg-fst.c411 word8 temp[4], shift; local
429 shift = (4 - i) & 3;
430 temp[0] = a[(0 + shift) & 3][i];
431 temp[1] = a[(1 + shift) & 3][i];
432 temp[2] = a[(2 + shift) & 3][i];
433 temp[3] = a[(3 + shift) & 3][i];
476 shift = (4 - i) & 3;
477 temp[0] = a[(0 + shift) & 3][i];
478 temp[1] = a[(1 + shift) & 3][i];
479 temp[2] = a[(2 + shift)
[all...]
/external/libhevc/common/
H A Dihevc_iquant_itrans_recon.c127 WORD32 shift; local
144 shift = IT_SHIFT_STAGE_1;
145 add = 1 << (shift - 1);
195 CLIP_S16((29 * c[0] + 55 * c[1] + c[3] + add) >> shift);
197 CLIP_S16((55 * c[2] - 29 * c[1] + c[3] + add) >> shift);
213 CLIP_S16((74 * (iq_tmp_1 - iq_tmp_2 + iq_tmp_3) + add) >> shift);
215 CLIP_S16((55 * c[0] + 29 * c[2] - c[3] + add) >> shift);
226 shift = IT_SHIFT_STAGE_2;
227 add = 1 << (shift - 1);
240 CLIP_S16((29 * c[0] + 55 * c[1] + c[3] + add) >> shift);
336 WORD32 shift; local
[all...]
H A Dihevc_weighted_pred.c62 * dst = ( (src + lvl_shift) * wgt0 + (1 << (shift - 1)) ) >> shift +
86 * @param[in] shift
90 * added before shift and offset
112 WORD32 shift,
125 i4_tmp += 1 << (shift - 1);
126 i4_tmp = (i4_tmp >> shift) + off0;
145 * dst = ( (src + lvl_shift) * wgt0 + (1 << (shift - 1)) ) >> shift +
169 * @param[in] shift
106 ihevc_weighted_pred_uni(WORD16 *pi2_src, UWORD8 *pu1_dst, WORD32 src_strd, WORD32 dst_strd, WORD32 wgt0, WORD32 off0, WORD32 shift, WORD32 lvl_shift, WORD32 ht, WORD32 wd) argument
189 ihevc_weighted_pred_chroma_uni(WORD16 *pi2_src, UWORD8 *pu1_dst, WORD32 src_strd, WORD32 dst_strd, WORD32 wgt0_cb, WORD32 wgt0_cr, WORD32 off0_cb, WORD32 off0_cr, WORD32 shift, WORD32 lvl_shift, WORD32 ht, WORD32 wd) argument
292 ihevc_weighted_pred_bi(WORD16 *pi2_src1, WORD16 *pi2_src2, UWORD8 *pu1_dst, WORD32 src_strd1, WORD32 src_strd2, WORD32 dst_strd, WORD32 wgt0, WORD32 off0, WORD32 wgt1, WORD32 off1, WORD32 shift, WORD32 lvl_shift1, WORD32 lvl_shift2, WORD32 ht, WORD32 wd) argument
393 ihevc_weighted_pred_chroma_bi(WORD16 *pi2_src1, WORD16 *pi2_src2, UWORD8 *pu1_dst, WORD32 src_strd1, WORD32 src_strd2, WORD32 dst_strd, WORD32 wgt0_cb, WORD32 wgt0_cr, WORD32 off0_cb, WORD32 off0_cr, WORD32 wgt1_cb, WORD32 wgt1_cr, WORD32 off1_cb, WORD32 off1_cr, WORD32 shift, WORD32 lvl_shift1, WORD32 lvl_shift2, WORD32 ht, WORD32 wd) argument
502 WORD32 shift; local
585 WORD32 shift; local
[all...]
/external/libhevc/decoder/x86/
H A Dihevcd_it_rec_dc_sse42_intr.c71 WORD32 add, shift; local
82 shift = IT_SHIFT_STAGE_1;
83 add = 1 << (shift - 1);
84 dc_value = CLIP_S16((quant_out * 64 + add) >> shift);
85 shift = IT_SHIFT_STAGE_2;
86 add = 1 << (shift - 1);
87 dc_value = CLIP_S16((dc_value * 64 + add) >> shift);
211 WORD32 add, shift; local
225 shift = IT_SHIFT_STAGE_1;
226 add = 1 << (shift
[all...]
H A Dihevcd_it_rec_dc_ssse3_intr.c73 WORD32 add, shift; local
83 shift = IT_SHIFT_STAGE_1;
84 add = 1 << (shift - 1);
85 dc_value = CLIP_S16((quant_out * 64 + add) >> shift);
86 shift = IT_SHIFT_STAGE_2;
87 add = 1 << (shift - 1);
88 dc_value = CLIP_S16((dc_value * 64 + add) >> shift);
211 WORD32 add, shift; local
225 shift = IT_SHIFT_STAGE_1;
226 add = 1 << (shift
[all...]
/external/libopus/celt/
H A Dcelt_lpc.c236 int shift; local
256 shift=0;
268 shift = celt_ilog2(ac0)-30+10;
269 shift = (shift)/2;
270 if (shift>0)
273 xx[i] = PSHR32(xptr[i], shift);
276 shift = 0;
287 shift = 2*shift;
[all...]
H A Dmathops.c73 int shift = celt_ilog2(b)-29; local
74 a = VSHR32(a,shift);
75 b = VSHR32(b,shift);
H A Dmdct.c106 const opus_val16 *window, int overlap, int shift, int stride)
115 N >>= shift; local
176 yr = -S_MUL(re,t[i<<shift]) - S_MUL(im,t[(N4-i)<<shift]);
177 yi = -S_MUL(im,t[i<<shift]) + S_MUL(re,t[(N4-i)<<shift]);
185 opus_fft(l->kfft[shift], (kiss_fft_cpx *)f, (kiss_fft_cpx *)f2);
198 yr = S_MUL(fp[1],t[(N4-i)<<shift]) + S_MUL(fp[0],t[i<<shift]);
199 yi = S_MUL(fp[0],t[(N4-i)<<shift])
105 clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar * OPUS_RESTRICT out, const opus_val16 *window, int overlap, int shift, int stride) argument
211 clt_mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar * OPUS_RESTRICT out, const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride) argument
220 N >>= shift; local
[all...]
/external/libvpx/libvpx/vp8/common/
H A Dreconintra.c39 int shift; local
65 shift = 3 + x->up_available + x->left_available;
66 expected_dc = (average + (1 << (shift - 1))) >> shift;
170 int shift; local
199 shift = 2 + x->up_available + x->left_available;
200 expected_udc = (Uaverage + (1 << (shift - 1))) >> shift;
201 expected_vdc = (Vaverage + (1 << (shift - 1))) >> shift;
[all...]
/external/lldb/tools/debugserver/source/
H A DDNBDataRef.cpp244 int shift = 0; local
253 result |= (byte & 0x7f) << shift;
254 shift += 7;
275 int shift = 0; local
286 result |= (byte & 0x7f) << shift;
287 shift += 7;
293 if (shift < size && (byte & 0x40))
294 result |= - (1ll << shift);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_shader.cpp320 const unsigned shift = 4 * (2 - i); local
321 offset_bits |= (offsets[i] << shift) & (0xF << shift);
/external/openssl/crypto/bn/
H A Dbn_gcd.c263 int shift; local
277 shift = 0;
278 while (!BN_is_bit_set(B, shift)) /* note that 0 < B */
280 shift++;
289 if (shift > 0)
291 if (!BN_rshift(B, B, shift)) goto err;
296 shift = 0;
297 while (!BN_is_bit_set(A, shift)) /* note that 0 < A */
299 shift++;
308 if (shift >
[all...]

Completed in 492 milliseconds

1234567891011>>