Lines Matching refs:DOUBLE_DIVIDE_CHECK
54 #define DOUBLE_DIVIDE_CHECK(X) ((X)<0?(X)-.000001:(X)+.000001)
272 modified_err = av_err * pow((this_err / DOUBLE_DIVIDE_CHECK(av_err)), POW1);
274 modified_err = av_err * pow((this_err / DOUBLE_DIVIDE_CHECK(av_err)), POW2);
357 double buffer_fullness_ratio = (double)cpi->buffer_level / DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.optimal_buffer_level);
862 DOUBLE_DIVIDE_CHECK(cpi->twopass.this_frame_stats.coded_error)) >
1139 DOUBLE_DIVIDE_CHECK(cpi->twopass.total_stats.coded_error);
1377 IIRatio = this_frame.intra_error / DOUBLE_DIVIDE_CHECK(this_frame.coded_error);
1382 cpi->twopass.avg_iiratio = sum_iiratio / DOUBLE_DIVIDE_CHECK((double)cpi->twopass.total_stats.count);
1564 DOUBLE_DIVIDE_CHECK(fabs(this_frame->MVr));
1567 DOUBLE_DIVIDE_CHECK(fabs(this_frame->MVc));
1593 DOUBLE_DIVIDE_CHECK(this_frame->coded_error));
1596 DOUBLE_DIVIDE_CHECK(this_frame->coded_error));
1810 mod_frame_err / DOUBLE_DIVIDE_CHECK((double)cpi->common.MBs);
1891 max_boost = ((double)((cpi->buffer_level - df_buffer_level) * 2 / 3) * 16.0) / DOUBLE_DIVIDE_CHECK((double)cpi->av_per_frame_bandwidth);
1897 max_boost = ((double)(cpi->buffer_level * 2 / 3) * 16.0) / DOUBLE_DIVIDE_CHECK((double)cpi->av_per_frame_bandwidth);
2215 DOUBLE_DIVIDE_CHECK((double)cpi->twopass.kf_group_error_left);
2234 DOUBLE_DIVIDE_CHECK((double)cpi->twopass.kf_group_error_left));
2342 DOUBLE_DIVIDE_CHECK(sectionstats.coded_error));
2344 Ratio = sectionstats.intra_error / DOUBLE_DIVIDE_CHECK(sectionstats.coded_error);
2520 DOUBLE_DIVIDE_CHECK(this_frame_coded_error));
2526 DOUBLE_DIVIDE_CHECK(next_frame.coded_error));
2635 ((this_frame->intra_error / DOUBLE_DIVIDE_CHECK(this_frame->coded_error)) < 2.5) &&
2636 ((fabs(last_frame->coded_error - this_frame->coded_error) / DOUBLE_DIVIDE_CHECK(this_frame->coded_error) > .40) ||
2637 (fabs(last_frame->intra_error - this_frame->intra_error) / DOUBLE_DIVIDE_CHECK(this_frame->intra_error) > .40) ||
2638 ((next_frame->intra_error / DOUBLE_DIVIDE_CHECK(next_frame->coded_error)) > 3.5)
2662 next_iiratio = (IIKFACTOR1 * local_next_frame.intra_error / DOUBLE_DIVIDE_CHECK(local_next_frame.coded_error)) ;
2976 DOUBLE_DIVIDE_CHECK(next_frame.coded_error));
2979 DOUBLE_DIVIDE_CHECK(next_frame.coded_error));
3019 / DOUBLE_DIVIDE_CHECK(sectionstats.coded_error));
3021 Ratio = sectionstats.intra_error / DOUBLE_DIVIDE_CHECK(sectionstats.coded_error);
3039 max_boost = ((double)((cpi->buffer_level - df_buffer_level) * 2 / 3) * 16.0) / DOUBLE_DIVIDE_CHECK((double)cpi->av_per_frame_bandwidth);
3045 max_boost = ((double)(cpi->buffer_level * 2 / 3) * 16.0) / DOUBLE_DIVIDE_CHECK((double)cpi->av_per_frame_bandwidth);
3152 DOUBLE_DIVIDE_CHECK(cpi->twopass.modified_error_left));
3171 DOUBLE_DIVIDE_CHECK(cpi->twopass.modified_error_left)));
3227 av_bits_per_frame = cpi->oxcf.target_bandwidth / DOUBLE_DIVIDE_CHECK((double)cpi->framerate);
3302 int64_t clip_bits = (int64_t)(cpi->twopass.total_stats.count * cpi->oxcf.target_bandwidth / DOUBLE_DIVIDE_CHECK((double)cpi->framerate));