Searched defs:shift (Results 301 - 325 of 657) sorted by relevance

<<11121314151617181920>>

/external/freetype/src/cff/
H A Dcffparse.c292 FT_Long new_fraction_length, shift; local
297 shift = new_fraction_length - fraction_length;
299 if ( shift > 0 )
302 number *= power_tens[shift];
/external/icu/icu4c/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/icu/icu4c/source/i18n/
H A Dusrchimp.h27 /* primary order shift */
29 /* secondary order shift */
162 int16_t shift[MAX_TABLE_SIZE_]; member in struct:UPattern
/external/iproute2/include/linux/tc_ematch/
H A Dtc_em_meta.h18 __u8 shift; member in struct:tcf_meta_val
/external/jemalloc/test/src/
H A DSFMT.c122 JEMALLOC_INLINE_C void rshift128(w128_t *out, w128_t const *in, int shift);
123 JEMALLOC_INLINE_C void lshift128(w128_t *out, w128_t const *in, int shift);
154 * This function simulates SIMD 128-bit right shift by the standard C.
155 * The 128-bit integer given in in is shifted by (shift * 8) bits.
159 * @param shift the shift value
163 JEMALLOC_INLINE_C void rshift128(w128_t *out, w128_t const *in, int shift) { argument
169 oh = th >> (shift * 8);
170 ol = tl >> (shift * 8);
171 ol |= th << (64 - shift *
178 rshift128(w128_t *out, w128_t const *in, int shift) argument
202 lshift128(w128_t *out, w128_t const *in, int shift) argument
217 lshift128(w128_t *out, w128_t const *in, int shift) argument
[all...]
/external/kernel-headers/original/uapi/drm/
H A Dmsm_drm.h104 * ((relocbuf->gpuaddr + reloc_offset) << shift) | or
107 * with this by emit'ing two reloc entries with appropriate shift
116 int32_t shift; /* in, amount of left shift (can be negative) */ member in struct:drm_msm_gem_submit_reloc
H A Dtegra_drm.h98 __u32 shift; member in struct:drm_tegra_reloc
/external/kernel-headers/original/uapi/linux/tc_ematch/
H A Dtc_em_meta.h18 __u8 shift; member in struct:tcf_meta_val
/external/kernel-headers/original/uapi/linux/
H A Dtimex.h81 int shift; /* interval duration (s) (shift) (ro) */ member in struct:timex
/external/libedit/src/
H A Drefresh.c164 re_putc(EditLine *el, Int c, int shift) argument
169 while (shift && (el->el_refresh.r_cursor.h + w > el->el_terminal.t_size.h))
174 /* assumes !shift is only used for single-column chars */
180 if (!shift)
290 re_putc(el, '\0', 0); /* make line ended with NUL, no cursor shift */
/external/libhevc/common/arm/
H A Dihevc_weighted_pred_neon_intr.c60 * 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
104 ihevc_weighted_pred_uni_neonintr(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
235 ihevc_weighted_pred_chroma_uni_neonintr(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
395 ihevc_weighted_pred_bi_neonintr(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
560 ihevc_weighted_pred_chroma_bi_neonintr(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
760 WORD32 shift; local
909 WORD32 shift; local
[all...]
/external/libhevc/common/x86/
H A Dihevc_weighted_pred_sse42_intr.c67 * 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);
111 ihevc_weighted_pred_uni_sse42(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
410 ihevc_weighted_pred_chroma_uni_sse42(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
1247 ihevc_weighted_pred_bi_sse42(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
1516 ihevc_weighted_pred_chroma_bi_sse42(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
1793 WORD32 shift; local
[all...]
H A Dihevc_weighted_pred_ssse3_intr.c69 * 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);
113 ihevc_weighted_pred_uni_ssse3(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
401 ihevc_weighted_pred_chroma_uni_ssse3(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
736 ihevc_weighted_pred_bi_ssse3(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
1019 ihevc_weighted_pred_chroma_bi_ssse3(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
1307 WORD32 shift; local
1697 WORD32 shift, wdx2; local
[all...]
/external/libhevc/decoder/
H A Dihevcd_get_mv.c185 WORD32 shift = (31 - (ctb_size / MIN_TU_SIZE)); local
188 /* Since we need pattern of 1's starting from the MSB, an additional shift */
190 shift += ((ctb_size - ctb_size_top) / MIN_TU_SIZE);
192 top_avail_bits = ((1 << (ctb_size_top / MIN_PU_SIZE)) - 1) << shift;
H A Dihevcd_inter_pred.c152 WORD32 shift, lvl_shift1, lvl_shift2; local
498 shift = ps_slice_hdr->s_wt_ofst.i1_luma_log2_weight_denom
511 shift,
519 shift = ps_slice_hdr->s_wt_ofst.i1_chroma_log2_weight_denom
538 shift,
560 shift,
585 shift = ps_slice_hdr->s_wt_ofst.i1_luma_log2_weight_denom
594 shift,
601 shift = ps_slice_hdr->s_wt_ofst.i1_chroma_log2_weight_denom
614 shift,
[all...]
/external/libopus/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/libvpx/libvpx/vp8/encoder/
H A Dquantize.c409 short *shift, short d)
420 *shift = l;
421 /* use multiplication and constant shift by 16 */
422 *shift = 1 << (16 - *shift);
427 *shift = 0;
428 /* use multiplication and constant shift by 16 */
429 *shift = 1 << (16 - *shift);
408 invert_quant(int improved_quant, short *quant, short *shift, short d) argument
/external/libxml2/
H A Dtimsort.h81 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/llvm/include/llvm/ADT/
H A DIntervalMap.h241 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);
/external/ltrace/sysdeps/linux-gnu/arm/
H A Dtrace.c558 const int shift = BITS(inst2, 4, 5); local
563 base += v << shift;
/external/mesa3d/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/mesa3d/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/mesa3d/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/opencv/cv/src/
H A Dcvfilter.cpp274 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-- )

Completed in 515 milliseconds

<<11121314151617181920>>