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