/external/libhevc/common/arm/ |
ihevc_weighted_pred_neon_intr.c | 60 * dst = ( (src + lvl_shift) * wgt0 + (1 << (shift - 1)) ) >> shift + 84 * @param[in] shift 88 * added before shift and offset 110 WORD32 shift, 125 WORD32 tmp_shift = 0 - shift; 130 WORD32 tmp_lvl_shift = lvl_shift * wgt0 + (off0 << shift); 131 tmp_lvl_shift += (1 << (shift - 1)); 191 * dst = ( (src + lvl_shift) * wgt0 + (1 << (shift - 1)) ) >> shift 760 WORD32 shift; local 909 WORD32 shift; local [all...] |
/external/libhevc/common/x86/ |
ihevc_weighted_pred_sse42_intr.c | 67 * dst = ( (src + lvl_shift) * wgt0 + (1 << (shift - 1)) ) >> shift + 91 * @param[in] shift 95 * added before shift and offset 117 WORD32 shift, 133 temp = 1 << (shift - 1); 205 /* i4_tmp += 1 << (shift - 1) */ /* First 4 pixels */ 211 /* (i4_tmp >> shift) */ /* First 4 pixels */ 212 src_temp0_4x32b = _mm_srai_epi32(src_temp0_4x32b, shift); 213 src_temp1_4x32b = _mm_srai_epi32(src_temp1_4x32b, shift); 1793 WORD32 shift; local [all...] |
ihevc_weighted_pred_ssse3_intr.c | 69 * dst = ( (src + lvl_shift) * wgt0 + (1 << (shift - 1)) ) >> shift + 93 * @param[in] shift 97 * added before shift and offset 119 WORD32 shift, 135 temp = 1 << (shift - 1); 151 /* lvl_shift * wgt0 + 1 << (shift - 1) */ 196 /* i4_tmp = (pi2_src[col] + lvl_shift) * wgt0 + 1 << (shift - 1) */ 206 /* (i4_tmp >> shift) */ /* First 4 pixels */ 207 res_temp0_4x32b = _mm_srai_epi32(res_temp0_4x32b, shift); 1307 WORD32 shift; local 1697 WORD32 shift, wdx2; local [all...] |
/external/libnl/lib/route/cls/ |
u32.c | 428 int shift = 24 - 8 * (off & 3); local 430 return rtnl_u32_add_key(cls, htonl((uint32_t)val << shift), 431 htonl((uint32_t)mask << shift), 447 int shift = ((off & 3) == 0 ? 16 : 0); local 451 return rtnl_u32_add_key(cls, htonl((uint32_t)val << shift), 452 htonl((uint32_t)mask << shift),
|
/external/libopus/celt/ |
kiss_fft.c | 564 st->shift = 0; 565 while (nfft<<st->shift != base->nfft && st->shift < 32) 566 st->shift++; 567 if (st->shift>=32) 572 st->shift = -1; 601 if (cfg->shift < 0) 616 int shift; local 618 /* st->shift can be -1 */ 619 shift = st->shift>0 ? st->shift : 0 675 int shift; local [all...] |
/external/libopus/silk/fixed/ |
noise_shape_analysis_FIX.c | 267 opus_int shift, slope_part, flat_part; local 272 shift = slope_part; 273 silk_memcpy( x_windowed + shift, x_ptr + shift, flat_part * sizeof(opus_int16) ); 274 shift += flat_part; 275 silk_apply_sine_window( x_windowed + shift, x_ptr + shift, 2, slope_part );
|
/external/libsepol/src/ |
avtab.c | 304 uint32_t shift = 0; local 313 shift++; 315 if (shift > 2) 316 shift = shift - 2; 317 nslot = 1 << shift;
|
/external/libunwind/include/ |
dwarf_i.h | 298 unw_word_t val = 0, shift = 0; local 307 val |= ((unw_word_t) byte & 0x7f) << shift; 308 shift += 7; 323 unw_word_t val = 0, shift = 0; local 332 val |= ((unw_word_t) byte & 0x7f) << shift; 333 shift += 7; 337 if (shift < 8 * sizeof (unw_word_t) && (byte & 0x40) != 0) 339 val |= ((unw_word_t) -1) << shift;
|
/external/libunwind/src/arm/ |
Gex_tables.c | 225 uint8_t byte, shift = 0; local 229 offset |= (byte & 0x7f) << shift; 230 shift += 7;
|
/external/libunwind/src/ia64/ |
unwind_decoder.h | 90 unsigned shift = 0; local 97 result |= (byte & 0x7f) << shift; 100 shift += 7;
|
/external/libvorbis/lib/ |
lsp.c | 157 int qexp=0,shift; local 164 if(!(shift=MLOOP_1[(pi|qi)>>25])) 165 if(!(shift=MLOOP_2[(pi|qi)>>19])) 166 shift=MLOOP_3[(pi|qi)>>16]; 167 qi=(qi>>shift)*labs(ilsp[j-1]-wi); 168 pi=(pi>>shift)*labs(ilsp[j]-wi); 169 qexp+=shift; 171 if(!(shift=MLOOP_1[(pi|qi)>>25])) 172 if(!(shift=MLOOP_2[(pi|qi)>>19])) 173 shift=MLOOP_3[(pi|qi)>>16] 188 pi>>=shift; local 189 qi>>=shift; local 205 pi>>=shift; local 206 qi>>=shift; local [all...] |
/external/libvpx/libvpx/test/ |
intrapred_test.cc | 99 int sum = 0, shift = BlockSizeLog2Min1() + mbptr_->up_available + local 107 expected = (sum + (1 << (shift - 1))) >> shift;
|
/external/libxml2/ |
timsort.h | 81 const int shift = MAX(top_bit, 6) - 6; local 82 const int minrun = size >> shift; 83 const uint64_t mask = (MK_UINT64(1) << shift) - 1; 191 /* Else we need to find the right place, shift everything over, and squeeze in */
|
/external/linux-tools-perf/perf-3.12.0/arch/hexagon/lib/ |
memcpy.S | 180 #define shift R8 /* used to work a shifter to extract bytes */ define 258 shift = asl(prolog, #3); define 284 shiftb = and(shift, #8); 311 ifbyte = tstbit(shift,#3); 317 shiftb = and(shift, #16); 318 ifhword = tstbit(shift,#4); 323 ifword = tstbit(shift,#5);
|
/external/llvm/include/llvm/ADT/ |
IntervalMap.h | 241 assert(j <= i && "Use moveRight shift elements right"); 250 assert(i <= j && "Use moveLeft shift elements left"); 273 /// shift - Shift elements [i;size) 1 position to the right. 276 void shift(unsigned i, unsigned Size) { function in class:llvm::IntervalMapImpl::NodeBase 669 this->shift(i, Size); 749 this->shift(i, Size); [all...] |
/external/ltrace/sysdeps/linux-gnu/arm/ |
trace.c | 558 const int shift = BITS(inst2, 4, 5); local 563 base += v << shift;
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_format_aos.c | 161 unsigned shift; local 192 shift = 0; 212 shifts[i] = lp_build_const_int32(gallivm, shift); 223 shift += bits; 275 unsigned shift; local 301 shift = 0; 315 shifts[i] = lp_build_const_int32(gallivm, shift); 325 shift += bits;
|
lp_bld_swizzle.c | 229 int shift = shifts[channel][i]; local 232 shift = -shift; 235 if(shift > 0) 236 tmp = LLVMBuildLShr(builder, a, lp_build_const_int_vec(bld->gallivm, type4, shift*type.width), ""); 237 if(shift < 0) 238 tmp = LLVMBuildShl(builder, a, lp_build_const_int_vec(bld->gallivm, type4, -shift*type.width), ""); 360 int shift; local 385 * Mask and shift the channels, trying to group as many channels in the 386 * same shift as possibl [all...] |
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_pixelformat.c | 56 } shift; member in struct:stw_pf_color_info 167 pfi->pfd.cRedShift = color->shift.red; 169 pfi->pfd.cGreenShift = color->shift.green; 171 pfi->pfd.cBlueShift = color->shift.blue; 173 pfi->pfd.cAlphaShift = color->shift.alpha;
|
/external/mesa3d/src/mesa/swrast/ |
s_drawpix.c | 344 /* Special case: shift 32-bit values down to Visual.depthBits */ 345 const GLint shift = 32 - ctx->DrawBuffer->Visual.depthBits; local 351 if (shift == 0) { 357 span.array->z[col] = zSrc[col] >> shift; 543 * stencil offset/shift, GL_DEPTH_WRITEMASK and GL_STENCIL_WRITEMASK, 626 /* get stencil values, with shift/offset/mapping */
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
Huffman.java | 153 int shift = 8 - len; local 154 int start = (code << shift) & 0xFF; 155 int end = 1 << shift;
|
/external/opencv/cv/src/ |
cvfilter.cpp | 274 int shift = mode == IPL_BORDER_REFLECT_101 ? pix_sz : 0; local 275 idx = k == 0 ? shift : width - shift; 318 int j, dj = 1, shift = border_mode == IPL_BORDER_REFLECT_101; local 320 for( i = top_rows-1, j = top_rows+shift; i >= 0; i-- ) 329 j -= 1 + shift; 334 for( i = 0, j = row_count-1-shift; i < bottom_rows; i++, j-- ) [all...] |
/external/opencv/otherlibs/highgui/ |
utils.cpp | 602 double shift = src_depth == CV_8S || src_depth == CV_16S ? 128 : 0; local 608 cvConvertScale( src, temp, scale, shift ); 613 cvConvertScale( src, dst, scale, shift );
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
ftcalc.c | 103 FT_Int shift = 0; local 105 /* determine msb bit index in `shift' */ 109 shift += 16; 114 shift += 8; 119 shift += 4; 124 shift += 2; 129 shift += 1; 132 return shift; 461 * However, on a platform where right-shift of a signed quantity fills 480 * It makes the assumption that right-shift on a negative signed valu [all...] |
ftoutln.c | 56 #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.x = -shift.x [all...] |