Lines Matching refs:shift
94 WORD32 add, shift; in ihevcd_itrans_recon_dc_luma() local
102 shift = IT_SHIFT_STAGE_1; in ihevcd_itrans_recon_dc_luma()
103 add = 1 << (shift - 1); in ihevcd_itrans_recon_dc_luma()
104 dc_value = CLIP_S16((quant_out * 64 + add) >> shift); in ihevcd_itrans_recon_dc_luma()
105 shift = IT_SHIFT_STAGE_2; in ihevcd_itrans_recon_dc_luma()
106 add = 1 << (shift - 1); in ihevcd_itrans_recon_dc_luma()
107 dc_value = CLIP_S16((dc_value * 64 + add) >> shift); in ihevcd_itrans_recon_dc_luma()
124 WORD32 add, shift; in ihevcd_itrans_recon_dc_chroma() local
133 shift = IT_SHIFT_STAGE_1; in ihevcd_itrans_recon_dc_chroma()
134 add = 1 << (shift - 1); in ihevcd_itrans_recon_dc_chroma()
135 dc_value = CLIP_S16((quant_out * 64 + add) >> shift); in ihevcd_itrans_recon_dc_chroma()
136 shift = IT_SHIFT_STAGE_2; in ihevcd_itrans_recon_dc_chroma()
137 add = 1 << (shift - 1); in ihevcd_itrans_recon_dc_chroma()
138 dc_value = CLIP_S16((dc_value * 64 + add) >> shift); in ihevcd_itrans_recon_dc_chroma()