Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c55 #define DOUBLE_DIVIDE_CHECK(X) ((X) < 0 ? (X)-.000001 : (X) + .000001) macro
242 modified_err = av_err * pow((this_err / DOUBLE_DIVIDE_CHECK(av_err)), POW1); in calculate_modified_err()
244 modified_err = av_err * pow((this_err / DOUBLE_DIVIDE_CHECK(av_err)), POW2); in calculate_modified_err()
329 DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.optimal_buffer_level); in frame_max_bits()
811 DOUBLE_DIVIDE_CHECK(cpi->twopass.this_frame_stats.coded_error)) > in vp8_first_pass()
1073 DOUBLE_DIVIDE_CHECK(cpi->twopass.total_stats.coded_error); in estimate_cq()
1303 this_frame.intra_error / DOUBLE_DIVIDE_CHECK(this_frame.coded_error); in vp8_init_second_pass()
1310 DOUBLE_DIVIDE_CHECK((double)cpi->twopass.total_stats.count); in vp8_init_second_pass()
1477 fabs(this_frame->mvr_abs) / DOUBLE_DIVIDE_CHECK(fabs(this_frame->MVr)); in accumulate_frame_motion_stats()
1480 fabs(this_frame->mvc_abs) / DOUBLE_DIVIDE_CHECK(fabs(this_frame->MVc)); in accumulate_frame_motion_stats()
[all …]
/external/libaom/libaom/av1/encoder/
Dpass2_strategy.c54 DOUBLE_DIVIDE_CHECK(av_err), in calculate_modified_err()
260 if ((frame->intra_error / DOUBLE_DIVIDE_CHECK(frame->coded_error)) < in get_sr_decay_rate()
362 fabs(stats->mvr_abs) / DOUBLE_DIVIDE_CHECK(fabs(stats->MVr)); in accumulate_frame_motion_stats()
364 fabs(stats->mvc_abs) / DOUBLE_DIVIDE_CHECK(fabs(stats->MVc)); in accumulate_frame_motion_stats()
390 DOUBLE_DIVIDE_CHECK(this_frame->coded_error); in calc_frame_boost()
513 return (int)(intra_error / DOUBLE_DIVIDE_CHECK(coded_error)); in calculate_section_intra_ratio()
644 (group_error > 0) ? modified_err / DOUBLE_DIVIDE_CHECK(group_error) in allocate_gf_group_bits()
1148 DOUBLE_DIVIDE_CHECK(this_frame->coded_error)) < in test_candidate_kf()
1151 DOUBLE_DIVIDE_CHECK(this_frame->coded_error) > in test_candidate_kf()
1154 DOUBLE_DIVIDE_CHECK(this_frame->intra_error) > in test_candidate_kf()
[all …]
Dfirstpass.h24 #define DOUBLE_DIVIDE_CHECK(x) ((x) < 0 ? (x)-0.000001 : (x) + 0.000001) macro
Dfirstpass.c647 (double)motion_error / DOUBLE_DIVIDE_CHECK((double)this_error); in av1_first_pass()
817 DOUBLE_DIVIDE_CHECK(twopass->this_frame_stats.coded_error)) > 2.0))) { in av1_first_pass()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c58 #define DOUBLE_DIVIDE_CHECK(x) ((x) < 0 ? (x)-0.000001 : (x) + 0.000001) macro
256 DOUBLE_DIVIDE_CHECK(av_err), in calculate_mod_frame_score()
277 DOUBLE_DIVIDE_CHECK(av_err), in calculate_norm_frame_score()
292 modified_score /= DOUBLE_DIVIDE_CHECK(twopass->mean_mod_score); in calculate_norm_frame_score()
1189 (double)motion_error / DOUBLE_DIVIDE_CHECK((double)this_error); in vp9_first_pass_encode_tile_mb_row()
1442 DOUBLE_DIVIDE_CHECK(twopass->this_frame_stats.coded_error)) > 2.0))) { in vp9_first_pass()
1491 const double error_term = err_per_mb / DOUBLE_DIVIDE_CHECK(err_divisor); in calc_correction_factor()
1551 DOUBLE_DIVIDE_CHECK((double)twopass->rolling_arf_group_target_bits); in get_twopass_worst_quality()
1577 DOUBLE_DIVIDE_CHECK((double)twopass->rolling_arf_group_target_bits); in get_twopass_worst_quality()
1673 modified_score_total / DOUBLE_DIVIDE_CHECK(stats->count); in vp9_init_second_pass()
[all …]