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

1234567891011>>

/external/libopus/celt/
H A Dmathops.c73 int shift = celt_ilog2(b)-29; local
74 a = VSHR32(a,shift);
75 b = VSHR32(b,shift);
/external/libopus/celt/tests/
H A Dtest_unit_mdct.c116 int shift = 0; local
122 int shift; local
125 if (nfft == 1920) shift = 0;
126 else if (nfft == 960) shift = 1;
127 else if (nfft == 480) shift = 2;
128 else if (nfft == 240) shift = 3;
164 clt_mdct_backward(cfg,in,out, window, nfft/2, shift, 1, arch);
170 clt_mdct_forward(cfg,in,out,window, nfft/2, shift, 1, arch);
/external/libvncserver/libvncserver/
H A Dtableinit24.c38 int shift = colourMap->is16?16:8; local
57 outValue = ((((r * (1 + out->redMax)) >> shift) << out->redShift) |
58 (((g * (1 + out->greenMax)) >> shift) << out->greenShift) |
59 (((b * (1 + out->blueMax)) >> shift) << out->blueShift));
/external/libvpx/libvpx/vpx_dsp/
H A Dbitreader.h97 register int shift = vpx_norm[range]; local
98 range <<= shift; local
99 value <<= shift; local
100 count -= shift;
/external/libvpx/libvpx/vpx_dsp/x86/
H A Dquantize_avx.c33 __m128i zbin, round, quant, dequant, shift; local
47 dequant_ptr, &dequant, quant_shift_ptr, &shift);
73 shift = _mm_unpackhi_epi64(shift, shift);
76 calculate_qcoeff(&qcoeff0, round, quant, shift);
79 shift = _mm_unpackhi_epi64(shift, shift);
80 calculate_qcoeff(&qcoeff1, round, quant, shift);
163 __m128i zbin, round, quant, dequant, shift; local
[all...]
H A Dquantize_sse2.c30 __m128i zbin, round, quant, dequant, shift; local
42 dequant_ptr, &dequant, quant_shift_ptr, &shift);
58 calculate_qcoeff(&qcoeff0, round, quant, shift);
62 shift = _mm_unpackhi_epi64(shift, shift);
64 calculate_qcoeff(&qcoeff1, round, quant, shift);
100 calculate_qcoeff(&qcoeff0, round, quant, shift);
101 calculate_qcoeff(&qcoeff1, round, quant, shift);
H A Dquantize_ssse3.c29 __m128i zbin, round, quant, dequant, shift; local
40 dequant_ptr, &dequant, quant_shift_ptr, &shift);
53 calculate_qcoeff(&qcoeff0, round, quant, shift);
56 shift = _mm_unpackhi_epi64(shift, shift);
57 calculate_qcoeff(&qcoeff1, round, quant, shift);
91 calculate_qcoeff(&qcoeff0, round, quant, shift);
92 calculate_qcoeff(&qcoeff1, round, quant, shift);
129 __m128i zbin, round, quant, dequant, shift; local
[all...]
H A Dquantize_x86.h21 const int16_t *shift_ptr, __m128i *shift) {
27 *shift = _mm_load_si128((const __m128i *)shift_ptr);
37 const __m128i quant, const __m128i shift) {
42 *coeff = _mm_mulhi_epi16(qcoeff, shift);
17 load_b_values(const int16_t *zbin_ptr, __m128i *zbin, const int16_t *round_ptr, __m128i *round, const int16_t *quant_ptr, __m128i *quant, const int16_t *dequant_ptr, __m128i *dequant, const int16_t *shift_ptr, __m128i *shift) argument
36 calculate_qcoeff(__m128i *coeff, const __m128i round, const __m128i quant, const __m128i shift) argument
/external/libxaac/decoder/
H A Dixheaacd_basic_funcs.c180 WORD16 shift; local
183 shift = (WORD16)(ixheaacd_norm32(op) & ~1);
184 op = ixheaacd_shl32_dir_sat_limit(op, shift);
185 shift = ixheaacd_shr32_dir_sat_limit(shift, 1);
187 result = ixheaacd_shr32_dir_sat_limit(op, ixheaacd_sat16(shift - 1));
H A Dixheaacd_mps_hybrid_filt.c40 static WORD32 ixheaacd_mps_mult32_local(WORD32 a, WORD32 b, WORD16 shift) { argument
44 temp = temp >> shift;
61 WORD16 shift = 8; local
74 in_re = in_re << shift;
75 in_im = in_im << shift;
102 output[q][i].re = (WORD32)(acc_re >> shift);
103 output[q][i].im = (WORD32)(acc_im >> shift);
121 WORD16 shift = 8; local
133 in_re = in_re << shift;
134 in_im = in_im << shift;
[all...]
/external/ltp/testcases/kernel/syscalls/lseek/
H A Dlseek11.c109 int shift; local
131 shift = offset >> 2;
132 while (shift && offset < (st.st_blksize * 2)) {
137 offset += pos ? -shift : shift;
138 shift >>= 1;
141 if (!shift)
/external/mesa3d/src/gallium/drivers/ilo/genhw/
H A Dgenhw.h62 gen_shift32(uint32_t bits, uint32_t mask, int shift) argument
64 bits <<= shift; local
/external/mesa3d/src/mesa/main/
H A Dtexenv.c348 GLuint shift; local
351 shift = 0;
354 shift = 1;
357 shift = 2;
367 if (texUnit->Combine.ScaleShiftRGB == shift)
370 texUnit->Combine.ScaleShiftRGB = shift;
373 if (texUnit->Combine.ScaleShiftA == shift)
376 texUnit->Combine.ScaleShiftA = shift;
/external/parameter-framework/upstream/parameter/
H A DParameterType.cpp154 size_t shift = CHAR_BIT * (sizeof(data) - getSize()); local
156 // and `data × 2^shift` is representable in the result type,
159 // ISO C99 (6.5.7/4) & ISO C++11 [expr.shift]
160 data = (data << shift) >> shift;
184 size_t shift = getSize() * 8; local
189 return !(data >> shift);
194 bool bIsValueExpectedNegative = (data & (type(1) << (shift - 1))) != 0;
197 return bIsValueExpectedNegative ? !(~data >> shift) : !(data >> shift);
[all...]
/external/pcre/dist2/src/sljit/
H A DsljitNativePPC_64.c41 #define PUSH_RLDICR(reg, shift) \
42 push_inst(compiler, RLDI(reg, reg, 63 - shift, shift, 1))
47 sljit_uw shift; local
64 ASM_SLJIT_CLZ(tmp, shift);
65 SLJIT_ASSERT(shift > 0);
66 shift--;
67 tmp = (imm << shift);
71 shift += 15;
72 return PUSH_RLDICR(reg, shift);
[all...]
/external/pdfium/fxjs/xfa/
H A Dcjx_eventpseudomodel.cpp129 void CJX_EventPseudoModel::shift(CFXJSE_Value* pValue, function in class:CJX_EventPseudoModel
/external/protobuf/src/google/protobuf/stubs/
H A Dint128.cc79 // Long division/modulo for uint128 implemented using the shift-subtract
106 int shift = Fls128(dividend) - Fls128(denominator); local
107 denominator <<= shift; local
108 position <<= shift; local
110 // Uses shift-subtract algorithm to divide dividend by denominator. The
/external/python/cpython2/Parser/
H A Dparser.c108 shift(register stack *s, int type, char *str, int newstate, int lineno, int col_offset) function
262 if ((err = shift(&ps->p_stack, type, str,
264 D(printf(" MemError: shift.\n"));
/external/python/cpython3/Parser/
H A Dparser.c108 shift(stack *s, int type, char *str, int newstate, int lineno, int col_offset) function
269 if ((err = shift(&ps->p_stack, type, str,
271 D(printf(" MemError: shift.\n"));
/external/skia/src/core/
H A DSkMathPriv.h210 uint32_t shift = 1; local
211 while (shift < kNumSizeTBits) {
212 n |= n >> shift;
213 shift <<= 1;
/external/skia/src/image/
H A DSkSurface_Raster.cpp83 int shift = info.shiftPerPixel(); local
85 uint64_t minRB = (uint64_t)info.width() << shift;
90 size_t alignedRowBytes = rowBytes >> shift << shift;
/external/skia/src/views/
H A DSkView.cpp11 static inline uint32_t SkSetClearShift(uint32_t bits, bool cond, unsigned shift) { argument
13 return (bits & ~(1 << shift)) | ((int)cond << shift);
/external/skia/tests/
H A DPathCoverageTest.cpp50 int shift = 30 - SkCLZ(distance); local
52 shift &= ~(shift>>31);
53 if (shift > MAX_COEFF_SHIFT) {
54 shift = MAX_COEFF_SHIFT;
56 return 1 << shift;
H A DRandomTest.cpp59 static void test_random_byte(skiatest::Reporter* reporter, int shift) { argument
65 bins[(rand.nextU() >> shift) & 0xff]++;
93 // we are using the random bit generated from a single shift position to generate
102 static double test_single_gorilla(skiatest::Reporter* reporter, int shift) { argument
117 value |= ((rnd >> shift) & 0x1);
124 value |= ((rnd >> shift) & 0x1);
/external/skqp/src/core/
H A DSkMathPriv.h210 uint32_t shift = 1; local
211 while (shift < kNumSizeTBits) {
212 n |= n >> shift;
213 shift <<= 1;

Completed in 564 milliseconds

1234567891011>>