Lines Matching refs:shift
112 WORD32 shift, in ihevc_weighted_pred_uni() argument
125 i4_tmp += 1 << (shift - 1); in ihevc_weighted_pred_uni()
126 i4_tmp = (i4_tmp >> shift) + off0; in ihevc_weighted_pred_uni()
197 WORD32 shift, in ihevc_weighted_pred_chroma_uni() argument
210 i4_tmp += 1 << (shift - 1); in ihevc_weighted_pred_chroma_uni()
211 i4_tmp = (i4_tmp >> shift) + off0_cb; in ihevc_weighted_pred_chroma_uni()
216 i4_tmp += 1 << (shift - 1); in ihevc_weighted_pred_chroma_uni()
217 i4_tmp = (i4_tmp >> shift) + off0_cr; in ihevc_weighted_pred_chroma_uni()
302 WORD32 shift, in ihevc_weighted_pred_bi() argument
317 i4_tmp += (off0 + off1 + 1) << (shift - 1); in ihevc_weighted_pred_bi()
319 pu1_dst[col] = CLIP_U8(i4_tmp >> shift); in ihevc_weighted_pred_bi()
407 WORD32 shift, in ihevc_weighted_pred_chroma_bi() argument
422 i4_tmp += (off0_cb + off1_cb + 1) << (shift - 1); in ihevc_weighted_pred_chroma_bi()
424 pu1_dst[col] = CLIP_U8(i4_tmp >> shift); in ihevc_weighted_pred_chroma_bi()
428 i4_tmp += (off0_cr + off1_cr + 1) << (shift - 1); in ihevc_weighted_pred_chroma_bi()
430 pu1_dst[col + 1] = CLIP_U8(i4_tmp >> shift); in ihevc_weighted_pred_chroma_bi()
502 WORD32 shift; in ihevc_weighted_pred_bi_default() local
504 shift = SHIFT_14_MINUS_BIT_DEPTH + 1; in ihevc_weighted_pred_bi_default()
511 i4_tmp += 1 << (shift - 1); in ihevc_weighted_pred_bi_default()
513 pu1_dst[col] = CLIP_U8(i4_tmp >> shift); in ihevc_weighted_pred_bi_default()
585 WORD32 shift; in ihevc_weighted_pred_chroma_bi_default() local
587 shift = SHIFT_14_MINUS_BIT_DEPTH + 1; in ihevc_weighted_pred_chroma_bi_default()
594 i4_tmp += 1 << (shift - 1); in ihevc_weighted_pred_chroma_bi_default()
596 pu1_dst[col] = CLIP_U8(i4_tmp >> shift); in ihevc_weighted_pred_chroma_bi_default()