Lines Matching refs:shift

111     WORD32 shift;  in ihevc_itrans_recon_4x4_ttype1()  local
120 shift = IT_SHIFT_STAGE_1; in ihevc_itrans_recon_4x4_ttype1()
121 add = 1 << (shift - 1); in ihevc_itrans_recon_4x4_ttype1()
139 CLIP_S16((29 * c[0] + 55 * c[1] + c[3] + add) >> shift); in ihevc_itrans_recon_4x4_ttype1()
141 CLIP_S16((55 * c[2] - 29 * c[1] + c[3] + add) >> shift); in ihevc_itrans_recon_4x4_ttype1()
143 … CLIP_S16((74 * (pi2_src[0] - pi2_src[2 * src_strd] + pi2_src[3 * src_strd]) + add) >> shift); in ihevc_itrans_recon_4x4_ttype1()
145 CLIP_S16((55 * c[0] + 29 * c[2] - c[3] + add) >> shift); in ihevc_itrans_recon_4x4_ttype1()
155 shift = IT_SHIFT_STAGE_2; in ihevc_itrans_recon_4x4_ttype1()
156 add = 1 << (shift - 1); in ihevc_itrans_recon_4x4_ttype1()
168 CLIP_S16((29 * c[0] + 55 * c[1] + c[3] + add) >> shift); in ihevc_itrans_recon_4x4_ttype1()
171 CLIP_S16((55 * c[2] - 29 * c[1] + c[3] + add) >> shift); in ihevc_itrans_recon_4x4_ttype1()
174 … CLIP_S16((74 * (pi2_tmp[0] - pi2_tmp[2 * trans_size] + pi2_tmp[3 * trans_size]) + add) >> shift); in ihevc_itrans_recon_4x4_ttype1()
177 CLIP_S16((55 * c[0] + 29 * c[2] - c[3] + add) >> shift); in ihevc_itrans_recon_4x4_ttype1()
248 WORD32 shift; in ihevc_itrans_recon_4x4() local
257 shift = IT_SHIFT_STAGE_1; in ihevc_itrans_recon_4x4()
258 add = 1 << (shift - 1); in ihevc_itrans_recon_4x4()
281 CLIP_S16(((e[0] + o[0] + add) >> shift)); in ihevc_itrans_recon_4x4()
283 CLIP_S16(((e[1] + o[1] + add) >> shift)); in ihevc_itrans_recon_4x4()
285 CLIP_S16(((e[1] - o[1] + add) >> shift)); in ihevc_itrans_recon_4x4()
287 CLIP_S16(((e[0] - o[0] + add) >> shift)); in ihevc_itrans_recon_4x4()
298 shift = IT_SHIFT_STAGE_2; in ihevc_itrans_recon_4x4()
299 add = 1 << (shift - 1); in ihevc_itrans_recon_4x4()
315 CLIP_S16(((e[0] + o[0] + add) >> shift)); in ihevc_itrans_recon_4x4()
318 CLIP_S16(((e[1] + o[1] + add) >> shift)); in ihevc_itrans_recon_4x4()
321 CLIP_S16(((e[1] - o[1] + add) >> shift)); in ihevc_itrans_recon_4x4()
324 CLIP_S16(((e[0] - o[0] + add) >> shift)); in ihevc_itrans_recon_4x4()