Home
last modified time | relevance | path

Searched refs:MPP_DIV_SIGN (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/mpp/mpp/codec/enc/vp8/
H A Dvp8e_rc.c102 sum += MPP_DIV_SIGN(tmp, DSCY) * r[n]; in lin_sxy()
104 sum += tmp * MPP_DIV_SIGN(r[n], DSCY); in lin_sxy()
137 return MPP_DIV_SIGN(sum, DSCY); in lin_sy()
188 a2 = MPP_DIV_SIGN(sy * DSCY, n) - MPP_DIV_SIGN(a1 * sx, n); in update_model()
279 tmp = MPP_DIV_SIGN(p->a1, ac_q_lookup_tbl[qp]); in new_pic_quant()
280 tmp += MPP_DIV_SIGN(p->a2, ac_q_lookup_tbl[qp] * ac_q_lookup_tbl[qp]); in new_pic_quant()
317 return MPP_DIV_SIGN(p->bits[2] * 4 + p->bits[1] * 6 + p->bits[0] * 0, 100); in avg_rc_error()
339 tmp = MPP_DIV_SIGN(rc->gop_qp_sum, rc->gop_qp_div); in cal_pic_quant()
522 MPP_DIV_SIGN(tmp, MPP_MAX(vb->gop_rem, 3)); in vp8e_before_pic_rc()
/OK3568_Linux_fs/external/mpp/osal/inc/
H A Dmpp_common.h38 #define MPP_DIV_SIGN(a, b) (((a) + (MPP_SIGN(a) * (b)) / 2) / (b)) macro