ROUNDED_DIV 84 libavcodec/adxenc.c d = av_clip_intp2(ROUNDED_DIV(d, scale), 3); ROUNDED_DIV 78 libavcodec/elbg.c res[i] = ROUNDED_DIV(vect[i],div); ROUNDED_DIV 52 libavcodec/metasound.c for (i = 1; i < ROUNDED_DIV(len, width); i++) { ROUNDED_DIV 92 libavcodec/mpeg4videodec.c block[s->idsp.idct_permutation[i << 3]] += ROUNDED_DIV(ac_val[i] * qscale_table[xy], s->qscale); ROUNDED_DIV 107 libavcodec/mpeg4videodec.c block[s->idsp.idct_permutation[i]] += ROUNDED_DIV(ac_val[i + 8] * qscale_table[xy], s->qscale); ROUNDED_DIV 256 libavcodec/mpeg4videodec.c ROUNDED_DIV(((w - w2) * ROUNDED_DIV 260 libavcodec/mpeg4videodec.c ROUNDED_DIV(((w - w2) * ROUNDED_DIV 264 libavcodec/mpeg4videodec.c ROUNDED_DIV(((h - h2) * (r * sprite_ref[0][0] - 16LL * vop_ref[0][0]) + ROUNDED_DIV 267 libavcodec/mpeg4videodec.c ROUNDED_DIV(((h - h2) * (r * sprite_ref[0][1] - 16LL * vop_ref[0][1]) + ROUNDED_DIV 2785 libavcodec/mpeg4videodec.c s->pp_field_time = (ROUNDED_DIV(s->last_non_b_time, ctx->t_frame) - ROUNDED_DIV 2786 libavcodec/mpeg4videodec.c ROUNDED_DIV(s->last_non_b_time - s->pp_time, ctx->t_frame)) * 2; ROUNDED_DIV 2787 libavcodec/mpeg4videodec.c s->pb_field_time = (ROUNDED_DIV(s->time, ctx->t_frame) - ROUNDED_DIV 2788 libavcodec/mpeg4videodec.c ROUNDED_DIV(s->last_non_b_time - s->pp_time, ctx->t_frame)) * 2; ROUNDED_DIV 2798 libavcodec/mpeg4videodec.c pts = ROUNDED_DIV(s->time, s->avctx->framerate.den); ROUNDED_DIV 165 libavcodec/mpeg4videoenc.c block[n][s->idsp.idct_permutation[i]] = level - ROUNDED_DIV(ac_val[i + 8] * qscale_table[xy], s->qscale); ROUNDED_DIV 187 libavcodec/mpeg4videoenc.c block[n][s->idsp.idct_permutation[i << 3]] = level - ROUNDED_DIV(ac_val[i] * qscale_table[xy], s->qscale); ROUNDED_DIV 152 libavcodec/mpegvideo_enc.c ROUNDED_DIV(bias * (1<<(16 - QUANT_BIAS_SHIFT)), ROUNDED_DIV 568 libavcodec/snowenc.c return av_clip_uint8( ROUNDED_DIV(ab<<LOG2_OBMC_MAX, aa) ); //FIXME we should not need clipping ROUNDED_DIV 840 libavcodec/sonic.c s->coded_samples[ch][i] = ROUNDED_DIV(s->coded_samples[ch][i], quant); ROUNDED_DIV 166 libavcodec/twinvqdec.c for (i = 1; i < ROUNDED_DIV(len, width); i++) { ROUNDED_DIV 184 libavcodec/twinvqdec.c int min_period = ROUNDED_DIV(40 * 2 * mtab->size, isampf); ROUNDED_DIV 185 libavcodec/twinvqdec.c int max_period = ROUNDED_DIV(40 * 2 * mtab->size * 6, isampf); ROUNDED_DIV 196 libavcodec/twinvqdec.c ROUNDED_DIV(period_coef * period_range, ROUNDED_DIV 202 libavcodec/twinvqdec.c width = ROUNDED_DIV((period + 800) * mtab->peak_per2wid, ROUNDED_DIV 25 libavcodec/vp9_mc_template.c (VP56mv) { .x = ROUNDED_DIV(a.x + b.x, 2), .y = ROUNDED_DIV(a.y + b.y, 2) } ROUNDED_DIV 27 libavcodec/vp9_mc_template.c (VP56mv) { .x = ROUNDED_DIV(a.x + b.x + c.x + d.x, 4), \ ROUNDED_DIV 28 libavcodec/vp9_mc_template.c .y = ROUNDED_DIV(a.y + b.y + c.y + d.y, 4) } ROUNDED_DIV 213 libavfilter/af_aresample.c outsamplesref->pts = ROUNDED_DIV(outpts, inlink->sample_rate); ROUNDED_DIV 249 libavfilter/af_aresample.c pts = ROUNDED_DIV(pts, inlink->sample_rate); ROUNDED_DIV 104 libavfilter/motion_estimation.c int step = ROUNDED_DIV(me_ctx->search_param, 2); ROUNDED_DIV 135 libavfilter/motion_estimation.c int step = ROUNDED_DIV(me_ctx->search_param, 2); ROUNDED_DIV 167 libavfilter/motion_estimation.c int step = ROUNDED_DIV(me_ctx->search_param, 2); ROUNDED_DIV 201 libavfilter/vf_codecview.c rx = ROUNDED_DIV(rx * 3 << 4, length); ROUNDED_DIV 202 libavfilter/vf_codecview.c ry = ROUNDED_DIV(ry * 3 << 4, length); ROUNDED_DIV 966 libavfilter/vf_minterpolate.c val = ROUNDED_DIV(val, weight_sum); ROUNDED_DIV 2263 libavformat/movenc.c nb_frames = ROUNDED_DIV(track->st->codec->time_base.den, track->st->codec->time_base.num); ROUNDED_DIV 2271 libavformat/movenc.c nb_frames = ROUNDED_DIV(track->st->avg_frame_rate.den, track->st->avg_frame_rate.num); ROUNDED_DIV 706 libswscale/utils.c int intV = ROUNDED_DIV(v, sum); ROUNDED_DIV 792 libswscale/utils.c W = ROUNDED_DIV(ONE*ONE*ug, ub); ROUNDED_DIV 793 libswscale/utils.c V = ROUNDED_DIV(ONE*ONE*vg, vr); ROUNDED_DIV 796 libswscale/utils.c Cy = ROUNDED_DIV(cy*Z, ONE); ROUNDED_DIV 797 libswscale/utils.c Cu = ROUNDED_DIV(ub*Z, ONE); ROUNDED_DIV 798 libswscale/utils.c Cv = ROUNDED_DIV(vr*Z, ONE); ROUNDED_DIV 800 libswscale/utils.c c->input_rgb2yuv_table[RY_IDX] = -ROUNDED_DIV((1 << RGB2YUV_SHIFT)*V , Cy); ROUNDED_DIV 801 libswscale/utils.c c->input_rgb2yuv_table[GY_IDX] = ROUNDED_DIV((1 << RGB2YUV_SHIFT)*ONE*ONE , Cy); ROUNDED_DIV 802 libswscale/utils.c c->input_rgb2yuv_table[BY_IDX] = -ROUNDED_DIV((1 << RGB2YUV_SHIFT)*W , Cy); ROUNDED_DIV 804 libswscale/utils.c c->input_rgb2yuv_table[RU_IDX] = ROUNDED_DIV((1 << RGB2YUV_SHIFT)*V , Cu); ROUNDED_DIV 805 libswscale/utils.c c->input_rgb2yuv_table[GU_IDX] = -ROUNDED_DIV((1 << RGB2YUV_SHIFT)*ONE*ONE , Cu); ROUNDED_DIV 806 libswscale/utils.c c->input_rgb2yuv_table[BU_IDX] = ROUNDED_DIV((1 << RGB2YUV_SHIFT)*(Z+W) , Cu); ROUNDED_DIV 808 libswscale/utils.c c->input_rgb2yuv_table[RV_IDX] = ROUNDED_DIV((1 << RGB2YUV_SHIFT)*(V+Z) , Cv); ROUNDED_DIV 809 libswscale/utils.c c->input_rgb2yuv_table[GV_IDX] = -ROUNDED_DIV((1 << RGB2YUV_SHIFT)*ONE*ONE , Cv); ROUNDED_DIV 810 libswscale/utils.c c->input_rgb2yuv_table[BV_IDX] = ROUNDED_DIV((1 << RGB2YUV_SHIFT)*W , Cv);