Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dfirstpass.c54 #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()
862 DOUBLE_DIVIDE_CHECK(cpi->twopass.this_frame_stats.coded_error)) > in vp8_first_pass()
1141 DOUBLE_DIVIDE_CHECK(cpi->twopass.total_stats.coded_error); in estimate_cq()
1379 IIRatio = this_frame.intra_error / DOUBLE_DIVIDE_CHECK(this_frame.coded_error); in vp8_init_second_pass()
1384 …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 …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_firstpass.c53 #define DOUBLE_DIVIDE_CHECK(x) ((x) < 0 ? (x) - 0.000001 : (x) + 0.000001) macro
271 DOUBLE_DIVIDE_CHECK(av_err), in calculate_modified_err()
842 DOUBLE_DIVIDE_CHECK(twopass->this_frame_stats.coded_error)) > 2.0))) { in vp9_first_pass()
1007 DOUBLE_DIVIDE_CHECK(this_frame.coded_error); in vp9_init_second_pass()
1012 DOUBLE_DIVIDE_CHECK((double)twopass->total_stats.count); in vp9_init_second_pass()
1021 DOUBLE_DIVIDE_CHECK(twopass->total_stats.count); in vp9_init_second_pass()
1139 DOUBLE_DIVIDE_CHECK(fabs(this_frame->MVr)); in accumulate_frame_motion_stats()
1142 DOUBLE_DIVIDE_CHECK(fabs(this_frame->MVc)); in accumulate_frame_motion_stats()
1162 DOUBLE_DIVIDE_CHECK(this_frame->coded_error)); in calc_frame_boost()
1165 DOUBLE_DIVIDE_CHECK(this_frame->coded_error)); in calc_frame_boost()
[all …]