Searched defs:shift (Results 276 - 300 of 657) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/media/base/simd/
H A Dconvert_rgb_to_yuv_sse2.cc69 static inline int RGBToU(int r, int g, int b, int shift) { argument
73 u >>= FIX_SHIFT + shift; local
77 static inline int RGBToV(int r, int g, int b, int shift) { argument
81 v >>= FIX_SHIFT + shift; local
204 // Down shift back to 8bits range.
266 // Right shift 14 because of 12 from fixed point and 2 from subsampling.
/external/chromium_org/third_party/angle/src/common/
H A Dmathutil.h242 const unsigned int shift = (float32ExponentBias - float11ExponentBias) - (float32Val >> float32ExponentFirstBit); local
243 float32Val = ((1 << float32ExponentFirstBit) | (float32Val & float32MantissaMask)) >> shift;
311 const unsigned int shift = (float32ExponentBias - float10ExponentBias) - (float32Val >> float32ExponentFirstBit); local
312 float32Val = ((1 << float32ExponentFirstBit) | (float32Val & float32MantissaMask)) >> shift;
/external/chromium_org/third_party/boringssl/src/ssl/
H A Dd1_pkt.c1523 unsigned int shift; local
1532 shift = -cmp;
1533 if (shift >= sizeof(bitmap->map)*8)
1535 else if (bitmap->map & (1UL<<shift))
1546 unsigned int shift; local
1552 shift = cmp;
1553 if (shift < sizeof(bitmap->map)*8)
1554 bitmap->map <<= shift, bitmap->map |= 1UL;
1560 shift = -cmp;
1561 if (shift < sizeo
[all...]
/external/chromium_org/third_party/freetype/src/base/
H A Dftoutln.c56 #define SCALED( x ) ( ( (x) << shift ) - delta )
72 FT_Int shift; local
79 shift = func_interface->shift;
932 FT_Vector in, out, shift; local
970 /* shift only if turn is less than ~160 degrees */
975 /* shift components are aligned along lateral bisector */
977 shift.x = in.y + out.y;
978 shift.y = in.x + out.x;
981 shift
[all...]
/external/chromium_org/third_party/freetype/src/cff/
H A Dcffparse.c296 FT_Long new_fraction_length, shift; local
301 shift = new_fraction_length - fraction_length;
303 if ( shift > 0 )
306 number *= power_tens[shift];
/external/chromium_org/third_party/icu/source/common/
H A Duprops.cpp299 int32_t shift; // =maxValue if getMaxValueFromShift() is used member in struct:IntProperty
306 return (int32_t)(u_getUnicodeProperties(c, prop.column)&prop.mask)>>prop.shift;
310 return (uprv_getMaxValues(prop.column)&prop.mask)>>prop.shift;
314 return prop.shift;
424 * column, mask and shift values for int-value properties from u_getUnicodeProperties().
/external/chromium_org/third_party/libjpeg_turbo/
H A Djcdctmgr.c119 * d^-1 with enough precision we shift it left a few places. It turns
156 * dctbl[2] is for stupid instruction sets where the shift operation
159 * The reason dctbl[2] and dctbl[3] reduce the shift with (word size)
195 dtbl[DCTSIZE2 * 3] = (DCTELEM) r - sizeof(DCTELEM)*8; /* shift */
376 UDCTELEM recip, corr, shift; local
384 shift = divisors[i + DCTSIZE2 * 3];
389 product >>= shift + sizeof(DCTELEM)*8;
394 product >>= shift + sizeof(DCTELEM)*8;
/external/chromium_org/third_party/libsrtp/srtp/crypto/math/
H A Ddatatypes.c326 v128_right_shift(v128_t *x, int shift) { argument
327 const int base_index = shift >> 5;
328 const int bit_index = shift & 31;
332 if (shift > 127) {
364 v128_left_shift(v128_t *x, int shift) { argument
366 const int base_index = shift >> 5;
367 const int bit_index = shift & 31;
369 if (shift > 127) {
481 bitvector_left_shift(bitvector_t *x, int shift) { argument
483 const int base_index = shift >>
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_quantize.c540 static void invert_quant(int16_t *quant, int16_t *shift, int d) { argument
548 *shift = 1 << (16 - l);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c325 int shift = src_width - mantissa; local
327 lp_build_const_int_vec(gallivm, dst_type, shift), "");
592 LLVMValueRef shift = lp_build_const_int_vec(gallivm, tmp_type, src_shift - 1); local
594 shifted = LLVMBuildAShr(builder, tmp[i], shift, "");
596 shifted = LLVMBuildLShr(builder, tmp[i], shift, "");
603 LLVMValueRef shift = lp_build_const_int_vec(gallivm, tmp_type, local
607 tmp[i] = LLVMBuildAShr(builder, tmp[i], shift, "");
609 tmp[i] = LLVMBuildLShr(builder, tmp[i], shift, "");
686 LLVMValueRef shift = lp_build_const_int_vec(gallivm, tmp_type, dst_shift - src_shift); local
690 tmp[i] = LLVMBuildShl(builder, tmp[i], shift, "");
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dvg_context.h196 const VGfloat shift)
198 coords[0] += shift;
199 coords[2] -= shift;
211 const VGfloat shift)
213 coords[1] += shift;
214 coords[3] -= shift;
225 VGfloat shift[4])
236 shift[0] = 0.f;
237 shift[1] = 0.f;
243 shift[
194 vg_shift_rectx(VGfloat coords[4], const VGfloat *bounds, const VGfloat shift) argument
209 vg_shift_recty(VGfloat coords[4], const VGfloat *bounds, const VGfloat shift) argument
223 vg_bound_rect(VGfloat coords[4], const VGfloat bounds[4], VGfloat shift[4]) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/glx/
H A DXF86dri.c199 int shift = 32; /* var to prevent warning on next line */ local
200 *hSAREA |= ((drm_handle_t) rep.hSAREAHigh) << shift;
506 * backwards compatibility (Because of the >> 2 shift) but the fix
575 int shift = 32; /* var to prevent warning on next line */ local
576 *hFrameBuffer |= ((drm_handle_t) rep.hFrameBufferHigh) << shift;
/external/chromium_org/third_party/opus/src/celt/
H A Dfixed_debug.h47 /** 16x32 multiplication, followed by a 16-bit shift right. Results fits in 32 bits */
137 #define SHR16(a, shift) SHR16_(a, shift, __FILE__, __LINE__)
138 static OPUS_INLINE short SHR16_(int a, int shift, char *file, int line) argument
141 if (!VERIFY_SHORT(a) || !VERIFY_SHORT(shift))
143 fprintf (stderr, "SHR16: inputs are not short: %d >> %d in %s: line %d\n", a, shift, file, line);
148 res = a>>shift;
159 #define SHL16(a, shift) SHL16_(a, shift, __FILE__, __LINE__)
160 static OPUS_INLINE short SHL16_(int a, int shift, cha argument
182 SHR32(opus_int64 a, int shift) argument
204 SHL32_(opus_int64 a, int shift, char *file, int line) argument
[all...]
H A Dpitch.c157 int shift; local
166 shift = celt_ilog2(maxabs)-10;
167 if (shift<0)
168 shift=0;
170 shift++;
173 x_lp[i] = SHR32(HALF32(HALF32(x[0][(2*i-1)]+x[0][(2*i+1)])+x[0][2*i]), shift);
174 x_lp[0] = SHR32(HALF32(HALF32(x[0][1])+x[0][0]), shift);
178 x_lp[i] += SHR32(HALF32(HALF32(x[1][(2*i-1)]+x[1][(2*i+1)])+x[1][2*i]), shift);
179 x_lp[0] += SHR32(HALF32(HALF32(x[1][1])+x[1][0]), shift);
308 int shift local
[all...]
/external/chromium_org/third_party/skia/src/animator/
H A DSkAnimatorScript.cpp210 int shift = 16; local
213 result |= SkClampMax(valuePtr->fOperand.fS32, 255) << shift;
214 shift -= 8;
H A DSkAnimatorScript2.cpp290 int shift = 16; local
292 result |= SkClampMax(params->begin()[index].fS32, 255) << shift;
293 shift -= 8;
/external/chromium_org/third_party/skia/src/effects/
H A DSkColorMatrixFilter.cpp30 const int shift = state.fShift; local
32 result[0] = rowmul4(&array[0], r, g, b, a) >> shift;
33 result[1] = rowmul4(&array[5], r, g, b, a) >> shift;
34 result[2] = rowmul4(&array[10], r, g, b, a) >> shift;
35 result[3] = rowmul4(&array[15], r, g, b, a) >> shift;
53 const int shift = state.fShift; local
55 result[0] = rowmul3(&array[0], r, g, b) >> shift;
56 result[1] = rowmul3(&array[5], r, g, b) >> shift;
57 result[2] = rowmul3(&array[10], r, g, b) >> shift;
76 const int shift local
101 const int shift = state.fShift; local
[all...]
/external/chromium_org/third_party/smhasher/src/
H A DCity.cpp99 // instruction, especially if the shift is a manifest constant.
100 static uint64 Rotate(uint64 val, int shift) { argument
102 return shift == 0 ? val : ((val >> shift) | (val << (64 - shift)));
108 static uint64 RotateByAtLeast1(uint64 val, int shift) { argument
109 return (val >> shift) | (val << (64 - shift));
/external/chromium_org/third_party/speex/libspeex/
H A Dlsp.c503 int shift = QIMP-13; local
506 a = PSHR32(xp[m][j+2] + xout1 + xq[m][j+2] - xout2, shift);
/external/chromium_org/third_party/webrtc/modules/audio_processing/ns/
H A Dnsx_core_mips.c870 int shift = factor - inst->normData; local
877 "bltz %[shift], 4f \n\t"
886 "shllv_s.ph %[r0], %[r0], %[shift] \n\t"
887 "shllv_s.ph %[r1], %[r1], %[shift] \n\t"
888 "shllv_s.ph %[r2], %[r2], %[shift] \n\t"
889 "shllv_s.ph %[r3], %[r3], %[shift] \n\t"
905 "shllv_s.ph %[r0], %[r0], %[shift] \n\t"
911 "negu %[shift], %[shift] \n\t"
919 "srav %[r0], %[r0], %[shift] \
959 int shift = inst->normData; local
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dfloatnum.c221 /* Look for the highest set bit, shift to make it the MSB, and adjust
285 * Look for the highest set bit, shift to make it the MSB, and adjust
675 size_t destsize, size_t valsize, size_t shift,
679 if (destsize*8 != valsize || shift>0 || bigendian) {
674 yasm_floatnum_get_sized(const yasm_floatnum *flt, unsigned char *ptr, size_t destsize, size_t valsize, size_t shift, int bigendian, int warn) argument
/external/chromium_org/v8/src/
H A Dstring-search.h20 // Cap on the maximal shift in the Boyer-Moore implementation. By setting a
36 // Bad-char shift table stored in the state. It's length is the alphabet size.
158 // Store for the BoyerMoore(Horspool) bad char shift table.
165 // Store for the BoyerMoore good suffix shift table.
173 // shift table.
304 int shift = local
306 index += shift;
316 // Fall back on BMH shift.
324 int shift = j - bc_occ; local
325 if (gs_shift > shift) {
428 int shift = j - bc_occ; local
[all...]
/external/deqp/framework/common/
H A DtcuFuzzyImageCompare.cpp291 int shift = (int)(kernel.size() - 1) / 2; local
295 case TextureFormat::RGBA: separableConvolve<4, 4>(refFiltered, ref, shift, shift, kernel, kernel); break;
296 case TextureFormat::RGB: separableConvolve<4, 3>(refFiltered, ref, shift, shift, kernel, kernel); break;
303 case TextureFormat::RGBA: separableConvolve<4, 4>(cmpFiltered, cmp, shift, shift, kernel, kernel); break;
304 case TextureFormat::RGB: separableConvolve<4, 3>(cmpFiltered, cmp, shift, shift, kernel, kernel); break;
/external/deqp/framework/delibs/debase/
H A DdeInt32.h369 DE_INLINE deInt32 deMulAsr32 (deInt32 a, deInt32 b, int shift) argument
371 return (deInt32)(((deInt64)a * (deInt64)b) >> shift);
374 DE_INLINE deInt32 deSafeMulAsr32 (deInt32 a, deInt32 b, int shift) argument
376 deInt64 res = ((deInt64)a * (deInt64)b) >> shift;
381 DE_INLINE deUint32 deSafeMuluAsr32 (deUint32 a, deUint32 b, int shift) argument
383 deUint64 res = ((deUint64)a * (deUint64)b) >> shift;
/external/freetype/src/base/
H A Dftoutln.c56 #define SCALED( x ) ( ( (x) << shift ) - delta )
72 FT_Int shift; local
79 shift = func_interface->shift;
935 FT_Vector in, out, shift; local
973 /* shift only if turn is less than ~160 degrees */
978 /* shift components are aligned along lateral bisector */
980 shift.x = in.y + out.y;
981 shift.y = in.x + out.x;
984 shift
[all...]

Completed in 697 milliseconds

<<11121314151617181920>>