Searched refs:shift (Results 1 – 6 of 6) sorted by relevance
53 RK_U32 shift; in axb_div_c() local95 shift = left - right; in axb_div_c()96 return (RK_S32)((((RK_U32)a << shift) / in axb_div_c()97 (RK_U32)c * (RK_U32)b) >> shift) * sign; in axb_div_c()
57 int shift = vpx_norm_shift[c->high]; in vpx_rac_renorm() local61 c->high <<= shift; in vpx_rac_renorm()62 code_word <<= shift; in vpx_rac_renorm()63 bits += shift; in vpx_rac_renorm()
233 static RK_S16 resolve_divisor(RK_U32 d, RK_S16 *shift) in resolve_divisor() argument237 *shift = mpp_log2(d); in resolve_divisor()238 e = d - (1 << (*shift)); in resolve_divisor()239 if (*shift > AV1_DIV_LUT_BITS) in resolve_divisor()240 f = round_two(e, *shift - AV1_DIV_LUT_BITS); in resolve_divisor()242 f = e << (AV1_DIV_LUT_BITS - (*shift)); in resolve_divisor()244 *shift += AV1_DIV_LUT_PREC_BITS; in resolve_divisor()
203 RK_U8 shift = 8 * sizeof(RK_S32) - bits; in sign_extend() local204 RK_S32 v = { (RK_U8) val << shift }; in sign_extend()205 return v >> shift; in sign_extend()
838 RK_S32 shift = x264_cabac_renorm_shift[ctx->range >> 3]; in h264e_cabac_renorm() local840 ctx->range <<= shift; in h264e_cabac_renorm()841 ctx->low <<= shift; in h264e_cabac_renorm()842 ctx->queue += shift; in h264e_cabac_renorm()
420 - [mpp_bitread]: Fix negative shift error664 - [script]: fix shift clear input parameter error