Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c53 #define DOUBLE_DIVIDE_CHECK(X) ((X)<0?(X)-.000001:(X)+.000001) macro
272 modified_err = av_err * pow((this_err / DOUBLE_DIVIDE_CHECK(av_err)), POW1); in calculate_modified_err()
274 modified_err = av_err * pow((this_err / DOUBLE_DIVIDE_CHECK(av_err)), POW2); in calculate_modified_err()
357 …double buffer_fullness_ratio = (double)cpi->buffer_level / DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.o… in frame_max_bits()
863 DOUBLE_DIVIDE_CHECK(cpi->twopass.this_frame_stats.coded_error)) > in vp8_first_pass()
1142 DOUBLE_DIVIDE_CHECK(cpi->twopass.total_stats.coded_error); in estimate_cq()
1378 IIRatio = this_frame.intra_error / DOUBLE_DIVIDE_CHECK(this_frame.coded_error); in vp8_init_second_pass()
1383 …cpi->twopass.avg_iiratio = sum_iiratio / DOUBLE_DIVIDE_CHECK((double)cpi->twopass.total_stats.coun… in vp8_init_second_pass()
1568 DOUBLE_DIVIDE_CHECK(fabs(this_frame->MVr)); in accumulate_frame_motion_stats()
1571 DOUBLE_DIVIDE_CHECK(fabs(this_frame->MVc)); in accumulate_frame_motion_stats()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c70 #define DOUBLE_DIVIDE_CHECK(x) ((x) < 0 ? (x) - 0.000001 : (x) + 0.000001) macro
262 DOUBLE_DIVIDE_CHECK(av_err), oxcf->two_pass_vbrbias / 100.0); in calculate_modified_err()
894 DOUBLE_DIVIDE_CHECK((double)this_error); in vp9_first_pass()
1106 DOUBLE_DIVIDE_CHECK(twopass->this_frame_stats.coded_error)) > 2.0))) { in vp9_first_pass()
1314 DOUBLE_DIVIDE_CHECK(stats->count); in vp9_init_second_pass()
1363 if ((frame->intra_error / DOUBLE_DIVIDE_CHECK(frame->coded_error)) < in get_sr_decay_rate()
1470 DOUBLE_DIVIDE_CHECK(fabs(stats->MVr)); in accumulate_frame_motion_stats()
1472 DOUBLE_DIVIDE_CHECK(fabs(stats->MVc)); in accumulate_frame_motion_stats()
1499 DOUBLE_DIVIDE_CHECK(this_frame->coded_error); in calc_frame_boost()
1621 return (int)(intra_error / DOUBLE_DIVIDE_CHECK(coded_error)); in calculate_section_intra_ratio()
[all …]