/external/libhevc/common/ |
H A D | ihevc_itrans_recon_8x8.c | 84 * @param[in] shift 85 * Output shift 112 WORD32 shift; local 135 shift = IT_SHIFT_STAGE_1; 136 add = 1 << (shift - 1); 167 CLIP_S16(((e[k] + o[k] + add) >> shift)); 169 CLIP_S16(((e[3 - k] - o[3 - k] + add) >> shift)); 180 shift = IT_SHIFT_STAGE_2; 181 add = 1 << (shift - 1); 206 CLIP_S16(((e[k] + o[k] + add) >> shift)); [all...] |
H A D | ihevc_weighted_pred.c | 62 * dst = ( (src + lvl_shift) * wgt0 + (1 << (shift - 1)) ) >> shift + 86 * @param[in] shift 90 * added before shift and offset 112 WORD32 shift, 125 i4_tmp += 1 << (shift - 1); 126 i4_tmp = (i4_tmp >> shift) + off0; 145 * dst = ( (src + lvl_shift) * wgt0 + (1 << (shift - 1)) ) >> shift + 169 * @param[in] shift 106 ihevc_weighted_pred_uni(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 189 ihevc_weighted_pred_chroma_uni(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 292 ihevc_weighted_pred_bi(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 393 ihevc_weighted_pred_chroma_bi(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 502 WORD32 shift; local 585 WORD32 shift; local [all...] |
/external/libhevc/common/x86/ |
H A D | 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); 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 D | 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); 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 D | ihevcd_boundary_strength.c | 315 WORD32 shift; local 316 shift = start_pos_y * 2; 317 /* shift += (((start_pos_x >> 1) & (MAX_CTB_SIZE / ctb_size - 1)) << (log2_ctb_size - 1)); 322 shift += ((start_pos_x & 2) << (log2_ctb_size - 2)); 323 pu4_vert_bs[start_pos_x >> (7 - log2_ctb_size)] |= (u4_bs << shift); 328 WORD32 shift; local 329 shift = start_pos_x * 2; 330 /* shift += (((start_pos_y >> 1) & (MAX_CTB_SIZE / ctb_size - 1)) << (log2_ctb_size - 1)); 335 shift += ((start_pos_y & 2) << (log2_ctb_size - 2)); 336 pu4_horz_bs[start_pos_y >> (7 - log2_ctb_size)] |= (u4_bs << shift); 599 WORD32 shift; local 612 WORD32 shift; local 633 WORD32 shift; local 646 WORD32 shift; local 661 WORD32 shift; local 677 WORD32 shift; local 743 WORD32 shift; local 759 WORD32 shift; local 799 WORD32 shift; local 818 WORD32 shift; local 865 WORD32 shift; local 886 WORD32 shift; local [all...] |
H A D | ihevcd_deblk.c | 237 WORD32 shift = 0; local 240 * shift = (col & ((MAX_CTB_SIZE >> log2_ctb_size) - 1)) << (log2_ctb_size - 1); 245 shift = (col & 1) << (log2_ctb_size - 1); 248 u4_bs = (pu4_vert_bs[0] >> shift) << 2; 254 UWORD32 u4_top_bs = (*pu4_vert_bs_top) >> (shift + (1 << (log2_ctb_size - 1)) - 2); 377 WORD32 shift = 0; local 380 * shift = (row & (MAX_CTB_SIZE / ctb_size - 1)) * ctb_size / 2; 385 shift = (row & 1) << (log2_ctb_size - 1); 388 u4_bs = (pu4_horz_bs[0] >> shift) << 2; 396 UWORD32 u4_left_bs = (*pu4_horz_bs_left) >> (shift [all...] |
H A D | ihevcd_get_mv.c | 185 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 D | ihevcd_inter_pred.c | 152 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...] |
H A D | ihevcd_iquant_itrans_recon_ctb.c | 277 /* Hence either use SHL which takes care of handling these issues based on platform or shift in two stages */ 637 WORD32 shift = (31 - (ctb_size / MIN_TU_SIZE)); local 640 /* Since we need pattern of 1's starting from the MSB, an additional shift */ 642 shift += ((ctb_size - ctb_size_top) / MIN_TU_SIZE); 645 << shift;
|
H A D | ihevcd_itrans_recon_dc.c | 94 WORD32 add, shift; local 102 shift = IT_SHIFT_STAGE_1; 103 add = 1 << (shift - 1); 104 dc_value = CLIP_S16((quant_out * 64 + add) >> shift); 105 shift = IT_SHIFT_STAGE_2; 106 add = 1 << (shift - 1); 107 dc_value = CLIP_S16((dc_value * 64 + add) >> shift); 124 WORD32 add, shift; local 133 shift = IT_SHIFT_STAGE_1; 134 add = 1 << (shift [all...] |
H A D | ihevcd_parse_headers.c | 213 WORD32 shift = (1 << (BIT_DEPTH_CHROMA - 1)); local 219 ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l0_cb[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom); 220 ofst = value - ofst + shift; 229 ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l0_cr[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom); 230 ofst = value - ofst + shift; 290 WORD32 shift = (1 << (BIT_DEPTH_CHROMA - 1)); local 296 ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l1_cb[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom); 297 ofst = value - ofst + shift; 306 ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l1_cr[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom); 307 ofst = value - ofst + shift; [all...] |
/external/libhevc/decoder/x86/ |
H A D | ihevcd_it_rec_dc_sse42_intr.c | 71 WORD32 add, shift; local 82 shift = IT_SHIFT_STAGE_1; 83 add = 1 << (shift - 1); 84 dc_value = CLIP_S16((quant_out * 64 + add) >> shift); 85 shift = IT_SHIFT_STAGE_2; 86 add = 1 << (shift - 1); 87 dc_value = CLIP_S16((dc_value * 64 + add) >> shift); 211 WORD32 add, shift; local 225 shift = IT_SHIFT_STAGE_1; 226 add = 1 << (shift [all...] |
H A D | ihevcd_it_rec_dc_ssse3_intr.c | 73 WORD32 add, shift; local 83 shift = IT_SHIFT_STAGE_1; 84 add = 1 << (shift - 1); 85 dc_value = CLIP_S16((quant_out * 64 + add) >> shift); 86 shift = IT_SHIFT_STAGE_2; 87 add = 1 << (shift - 1); 88 dc_value = CLIP_S16((dc_value * 64 + add) >> shift); 211 WORD32 add, shift; local 225 shift = IT_SHIFT_STAGE_1; 226 add = 1 << (shift [all...] |
/external/libnl/lib/route/cls/ |
H A D | 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/libcxxabi/src/Unwind/ |
H A D | Unwind-EHABI.cpp | 312 uint32_t shift = 0; local 318 addend |= (v & 0x7f) << shift; 321 shift += 7;
|
/external/libcxxabi/src/ |
H A D | cxa_personality.cpp | 182 uintptr_t shift = 0; local 188 result |= static_cast<uintptr_t>(byte & 0x7F) << shift; 189 shift += 7; 205 uintptr_t shift = 0; local 211 result |= static_cast<uintptr_t>(byte & 0x7F) << shift; 212 shift += 7; 215 if ((byte & 0x40) && (shift < (sizeof(result) << 3))) 216 result |= static_cast<uintptr_t>(~0) << shift;
|
/external/libedit/src/ |
H A D | refresh.c | 164 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/kernel-headers/original/uapi/drm/ |
H A D | msm_drm.h | 104 * ((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 D | tegra_drm.h | 98 __u32 shift; member in struct:drm_tegra_reloc
|
/external/kernel-headers/original/uapi/linux/tc_act/ |
H A D | tc_pedit.h | 23 __u32 shift; member in struct:tc_pedit_key
|
/external/kernel-headers/original/uapi/linux/tc_ematch/ |
H A D | tc_em_meta.h | 18 __u8 shift; member in struct:tcf_meta_val
|
/external/kernel-headers/original/uapi/linux/ |
H A D | timex.h | 81 int shift; /* interval duration (s) (shift) (ro) */ member in struct:timex
|
/external/javassist/src/main/javassist/bytecode/ |
H A D | CodeIterator.java | 1118 ((Branch)jumps.get(i)).shift(where, gapLength, exclusive); 1133 ((Branch)jumps.get(j)).shift(p, delta, false); 1146 ((Branch)jumps.get(j)).shift(p, diff, false); 1270 void shift(int where, int gapLength, boolean exclusive) { method in class:CodeIterator.Branch 1347 void shift(int where, int gapLength, boolean exclusive) { method in class:CodeIterator.Branch16 1349 super.shift(where, gapLength, exclusive); 1435 void shift(int where, int gapLength, boolean exclusive) { method in class:CodeIterator.Jump32 1437 super.shift(where, gapLength, exclusive); 1458 void shift(int where, int gapLength, boolean exclusive) { method in class:CodeIterator.Switcher 1465 super.shift(wher [all...] |
/external/jemalloc/include/jemalloc/internal/ |
H A D | arena.h | 529 size_t shift = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM) ? 0 : local 531 size_t grp = shift << LG_SIZE_CLASS_GROUP; 587 size_t shift = (grp == 0) ? 1 : grp; local 588 size_t lg_delta = shift + (LG_QUANTUM-1); 954 unsigned shift, diff, regind; 973 shift = jemalloc_ffs(interval) - 1; 974 diff >>= shift; local 975 interval >>= shift; local 983 * multiply by (2^21 / D) and then right shift by 21 positions.
|
/external/jemalloc/test/src/ |
H A D | SFMT.c | 122 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...] |