/external/libopus/silk/float/ |
H A D | residual_energy_FLP.c | 101 opus_int shift; local 105 shift = LPC_order + subfr_length; 108 silk_LPC_analysis_filter_FLP( LPC_res, a[ 0 ], x + 0 * shift, 2 * shift, LPC_order ); 109 nrgs[ 0 ] = ( silk_float )( gains[ 0 ] * gains[ 0 ] * silk_energy_FLP( LPC_res_ptr + 0 * shift, subfr_length ) ); 110 nrgs[ 1 ] = ( silk_float )( gains[ 1 ] * gains[ 1 ] * silk_energy_FLP( LPC_res_ptr + 1 * shift, subfr_length ) ); 113 silk_LPC_analysis_filter_FLP( LPC_res, a[ 1 ], x + 2 * shift, 2 * shift, LPC_order ); 114 nrgs[ 2 ] = ( silk_float )( gains[ 2 ] * gains[ 2 ] * silk_energy_FLP( LPC_res_ptr + 0 * shift, subfr_length ) ); 115 nrgs[ 3 ] = ( silk_float )( gains[ 3 ] * gains[ 3 ] * silk_energy_FLP( LPC_res_ptr + 1 * shift, subfr_lengt [all...] |
/external/libpng/ |
H A D | pngwtran.c | 74 unsigned int shift; local 81 shift = 6; 89 v |= (value << shift); 91 if (shift == 0) 93 shift = 6; 100 shift -= 2; 105 if (shift != 6) 114 unsigned int shift; local 121 shift = 4; 129 v |= (value << shift); [all...] |
/external/libvncserver/libvncserver/ |
H A D | tabletrans24template.c | 61 int shift = rfbEndianTest?0:8; local 68 *(uint32_t*)op = t[((*(uint32_t *)ip)>>shift)&0x00ffffff]; 103 int shift = rfbEndianTest?0:8; local 109 inValue = ((*(uint32_t *)ip)>>shift)&0x00ffffff; 152 int shift = rfbEndianTest?0:8; local 158 *(op++) = t[((*(uint32_t *)ip)>>shift)&0x00ffffff]; 188 int shift = rfbEndianTest?0:8; local 194 inValue = ((*(uint32_t *)ip)>>shift)&0x00ffffff;
|
/external/libvpx/libvpx/vp8/decoder/ |
H A D | dboolhuff.h | 79 register int shift = vp8_norm[range]; local 80 range <<= shift; local 81 value <<= shift; local 82 count -= shift;
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | boolhuff.h | 64 register int shift; local 86 shift = vp8_norm[range]; 88 range <<= shift; local 89 count += shift; 92 int offset = shift - count; 109 shift = count; 114 lowvalue <<= shift; local
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
H A D | vp9_highbd_block_error_intrin_sse2.c | 23 const int shift = 2 * (bps - 8); local 24 const int rounding = shift > 0 ? 1 << (shift - 1) : 0; 66 error = (error + rounding) >> shift; 67 sqcoeff = (sqcoeff + rounding) >> shift;
|
/external/libvpx/libvpx/vpx_dsp/ |
H A D | bitreader.c | 46 int shift = BD_VALUE_SIZE - CHAR_BIT - (count + CHAR_BIT); local 55 const int bits = (shift & 0xfffffff8) + CHAR_BIT; 67 value = r->value | (nv << (shift & 0x7)); 69 const int bits_over = (int)(shift + CHAR_BIT - (int)bits_left); 77 while (shift >= loop_end) { 79 value |= (BD_VALUE)*buffer++ << shift; 80 shift -= CHAR_BIT;
|
H A D | bitwriter.h | 38 register int shift; local 49 shift = vpx_norm[range]; 51 range <<= shift; local 52 count += shift; 55 int offset = shift - count; 70 shift = count; 75 lowvalue <<= shift; local
|
/external/libxaac/decoder/armv7/ |
H A D | ixheaacd_fft_armv7.c | 17 WORD32 npts, shift; local 37 shift = ((n + 4)) / 2; 39 shift = ((n + 3) / 2); 42 ptr_x[2 * i] = (xr[i] / (1 << (shift))); 43 ptr_x[2 * i + 1] = (xi[i] / (1 << (shift))); 49 if (not_power_4) shift += 1; 55 if (not_power_4) shift += 1; 63 *preshift = shift - *preshift;
|
/external/libxaac/decoder/ |
H A D | ixheaacd_ps_bitdec.c | 217 WORD16 shift = 0; local 221 shift = 0; 224 shift = 1; 227 shift = 2; 235 ptr_ps_dec->border_position[e] = (WORD16)(env_count >> shift);
|
/external/llvm/lib/Support/ |
H A D | DataExtractor.cpp | 136 unsigned shift = 0; local 142 result |= uint64_t(byte & 0x7f) << shift; 143 shift += 7; 157 unsigned shift = 0; local 163 result |= uint64_t(byte & 0x7f) << shift; 164 shift += 7; 170 if (shift < 64 && (byte & 0x40)) 171 result |= -(1ULL << shift);
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | evergreen_hw_context.c | 39 unsigned i, ncopy, csize, sub_cmd, shift; local 56 shift = 2; 59 shift = 0; 76 dst_offset += csize << shift; 77 src_offset += csize << shift;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_nir_attribute_workarounds.c | 78 /* sign recovery shift: <22, 22, 22, 30> */ 79 nir_ssa_def *shift = nir_imm_ivec4(b, 22, 22, 22, 30); local 80 val = nir_ishr(b, nir_ishl(b, val, shift), shift);
|
/external/pcre/dist2/src/sljit/ |
H A D | sljitNativeMIPS_64.c | 31 sljit_s32 shift = 32; local 56 shift -= 8; 61 shift -= 4; 66 shift -= 2; 72 shift += 1; 74 SLJIT_ASSERT(((uimm & 0xc000000000000000l) == 0x4000000000000000l) && (shift > 0) && (shift <= 32)); 83 imm &= (1l << shift) - 1; 85 ins = (shift == 32) ? DSLL32 : DSLL; 86 if (shift < 3 [all...] |
/external/pdfium/third_party/libpng16/ |
H A D | pngwtran.c | 74 unsigned int shift; local 81 shift = 6; 89 v |= (value << shift); 91 if (shift == 0) 93 shift = 6; 100 shift -= 2; 105 if (shift != 6) 114 unsigned int shift; local 121 shift = 4; 129 v |= (value << shift); [all...] |
/external/skia/include/core/ |
H A D | SkMath.h | 100 * Return a*b/((1 << shift) - 1), rounding any fractional bits. 101 * Only valid if a and b are unsigned and <= 32767 and shift is > 0 and <= 8 103 static inline unsigned SkMul16ShiftRound(U16CPU a, U16CPU b, int shift) { argument 106 SkASSERT(shift > 0 && shift <= 8); 107 unsigned prod = a*b + (1 << (shift - 1)); 108 return (prod + (prod >> shift)) >> shift;
|
/external/skia/src/codec/ |
H A D | SkMasks.cpp | 61 static uint8_t get_comp(uint32_t pixel, uint32_t mask, uint32_t shift, argument 63 return convert_to_8((pixel & mask) >> shift, size); 72 return get_comp(pixel, fRed.mask, fRed.shift, fRed.size); 75 return get_comp(pixel, fGreen.mask, fGreen.shift, fGreen.size); 78 return get_comp(pixel, fBlue.mask, fBlue.shift, fBlue.size); 81 return get_comp(pixel, fAlpha.mask, fAlpha.shift, fAlpha.size); 92 uint32_t shift = 0; local 97 shift++; 113 shift += size - 8; 115 mask &= 0xFF << shift; [all...] |
/external/skia/src/core/ |
H A D | SkAnalyticEdge.cpp | 104 int shift = fCurveShift; local 112 newx = oldx + (dx >> shift); 113 newy = oldy + (dy >> shift); 114 if (SkAbs32(dy >> shift) >= SK_Fixed1 * 2) { // only snap when dy is large enough
|
/external/skqp/include/core/ |
H A D | SkMath.h | 100 * Return a*b/((1 << shift) - 1), rounding any fractional bits. 101 * Only valid if a and b are unsigned and <= 32767 and shift is > 0 and <= 8 103 static inline unsigned SkMul16ShiftRound(U16CPU a, U16CPU b, int shift) { argument 106 SkASSERT(shift > 0 && shift <= 8); 107 unsigned prod = a*b + (1 << (shift - 1)); 108 return (prod + (prod >> shift)) >> shift;
|
/external/skqp/src/codec/ |
H A D | SkMasks.cpp | 61 static uint8_t get_comp(uint32_t pixel, uint32_t mask, uint32_t shift, argument 63 return convert_to_8((pixel & mask) >> shift, size); 72 return get_comp(pixel, fRed.mask, fRed.shift, fRed.size); 75 return get_comp(pixel, fGreen.mask, fGreen.shift, fGreen.size); 78 return get_comp(pixel, fBlue.mask, fBlue.shift, fBlue.size); 81 return get_comp(pixel, fAlpha.mask, fAlpha.shift, fAlpha.size); 92 uint32_t shift = 0; local 97 shift++; 113 shift += size - 8; 115 mask &= 0xFF << shift; [all...] |
/external/skqp/src/core/ |
H A D | SkAnalyticEdge.cpp | 104 int shift = fCurveShift; local 112 newx = oldx + (dx >> shift); 113 newy = oldy + (dy >> shift); 114 if (SkAbs32(dy >> shift) >= SK_Fixed1 * 2) { // only snap when dy is large enough
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
H A D | DataExtractor.cpp | 136 unsigned shift = 0; local 142 result |= (byte & 0x7f) << shift; 143 shift += 7; 157 unsigned shift = 0; local 163 result |= (byte & 0x7f) << shift; 164 shift += 7; 170 if (shift < 64 && (byte & 0x40)) 171 result |= -(1 << shift);
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/ |
H A D | affine.py | 45 """Compute `Y = g(X; shift, scale) = scale @ X + shift`. 71 # Y = X + shift 72 b = Affine(shift=[1., 2, 3]) 74 # Y = 2 * I @ X.T + shift 75 b = Affine(shift=[1., 2, 3], 78 # Y = tf.diag(d1) @ X.T + shift 79 b = Affine(shift=[1., 2, 3], 82 # Y = (I + v * v.T) @ X.T + shift 83 b = Affine(shift 342 def shift(self): member in class:Affine [all...] |
H A D | affine_linear_operator.py | 38 """Compute `Y = g(X; shift, scale) = scale @ X + shift`. 40 `shift` is a numeric `Tensor` and `scale` is a `LinearOperator`. 42 If `X` is a scalar then the forward transformation is: `scale * X + shift` 73 shift = [-1., 0., 1] 76 affine = AffineLinearOperator(shift, scale) 78 # y = scale @ x + shift 81 shift = [2., 3, 1] 86 affine = AffineLinearOperator(shift, scale) 88 # np.squeeze(np.matmul(tril, np.expand_dims(x, -1)), -1) + shift 180 def shift(self): member in class:AffineLinearOperator [all...] |
/external/vixl/test/aarch32/ |
H A D | test-assembler-negative-cond-rd-rn-operand-rm-shift-rs-a32.cc | 88 ShiftType shift; member in struct:vixl::aarch32::__anon30031::Operands 3124 ShiftType shift = kTests[i].operands.shift; local 3126 Operand op(rm, shift, rs);
|