• Home
  • Raw
  • Download

Lines Matching refs:next_frame

86 static int lookup_next_frame_stats(VP8_COMP *cpi, FIRSTPASS_STATS *next_frame)  in lookup_next_frame_stats()  argument
91 *next_frame = *cpi->twopass.stats_in; in lookup_next_frame_stats()
1417 static double get_prediction_decay_rate(VP8_COMP *cpi, FIRSTPASS_STATS *next_frame) in get_prediction_decay_rate() argument
1421 double motion_pct = next_frame->pcnt_motion; in get_prediction_decay_rate()
1425 prediction_decay_rate = next_frame->pcnt_inter; in get_prediction_decay_rate()
1438 this_mv_rabs = fabs(next_frame->mvr_abs * motion_pct); in get_prediction_decay_rate()
1439 this_mv_cabs = fabs(next_frame->mvc_abs * motion_pct); in get_prediction_decay_rate()
1505 FIRSTPASS_STATS next_frame; in detect_flash() local
1511 if ( read_frame_stats(cpi, &next_frame, offset) != EOF ) in detect_flash()
1519 if ( (next_frame.pcnt_second_ref > next_frame.pcnt_inter) && in detect_flash()
1520 (next_frame.pcnt_second_ref >= 0.5 ) ) in detect_flash()
1742 FIRSTPASS_STATS next_frame; in define_gf_group() local
1779 memset(&next_frame, 0, sizeof(next_frame)); /* assure clean */ in define_gf_group()
1816 if (EOF == input_stats(cpi, &next_frame)) in define_gf_group()
1825 accumulate_frame_motion_stats( cpi, &next_frame, in define_gf_group()
1830 r = calc_frame_boost( cpi, &next_frame, this_frame_mv_in_out ); in define_gf_group()
1835 loop_decay_rate = get_prediction_decay_rate(cpi, &next_frame); in define_gf_group()
1863 ((boost_score > 20.0) || (next_frame.pcnt_inter < 0.75)) && in define_gf_group()
1875 memcpy(this_frame, &next_frame, sizeof(*this_frame)); in define_gf_group()
1943 ((next_frame.pcnt_inter > 0.75) || in define_gf_group()
1944 (next_frame.pcnt_second_ref > 0.5)) && in define_gf_group()
1950 (next_frame.pcnt_inter > 0.75) && in define_gf_group()
2338 input_stats(cpi, &next_frame); in define_gf_group()
2339 accumulate_stats(&sectionstats, &next_frame); in define_gf_group()
2526 FIRSTPASS_STATS next_frame; in vp8_second_pass() local
2527 if ( lookup_next_frame_stats(cpi, &next_frame) != EOF ) in vp8_second_pass()
2529 cpi->twopass.next_iiratio = (unsigned int)(next_frame.intra_error / in vp8_second_pass()
2530 DOUBLE_DIVIDE_CHECK(next_frame.coded_error)); in vp8_second_pass()
2627 …_COMP *cpi, FIRSTPASS_STATS *last_frame, FIRSTPASS_STATS *this_frame, FIRSTPASS_STATS *next_frame) in test_candidate_kf() argument
2635 (next_frame->pcnt_second_ref < 0.10) && in test_candidate_kf()
2642 ((next_frame->intra_error / DOUBLE_DIVIDE_CHECK(next_frame->coded_error)) > 3.5) in test_candidate_kf()
2658 memcpy(&local_next_frame, next_frame, sizeof(*next_frame)); in test_candidate_kf()
2721 FIRSTPASS_STATS next_frame; in find_next_key_frame() local
2735 memset(&next_frame, 0, sizeof(next_frame)); in find_next_key_frame()
2784 && lookup_next_frame_stats(cpi, &next_frame) != EOF) in find_next_key_frame()
2788 test_candidate_kf(cpi, &last_frame, this_frame, &next_frame) ) in find_next_key_frame()
2794 loop_decay_rate = get_prediction_decay_rate(cpi, &next_frame); in find_next_key_frame()
2974 if (EOF == input_stats(cpi, &next_frame)) in find_next_key_frame()
2977 if (next_frame.intra_error > cpi->twopass.kf_intra_err_min) in find_next_key_frame()
2978 r = (IIKFACTOR2 * next_frame.intra_error / in find_next_key_frame()
2979 DOUBLE_DIVIDE_CHECK(next_frame.coded_error)); in find_next_key_frame()
2982 DOUBLE_DIVIDE_CHECK(next_frame.coded_error)); in find_next_key_frame()
2988 loop_decay_rate = get_prediction_decay_rate(cpi, &next_frame); in find_next_key_frame()
3014 input_stats(cpi, &next_frame); in find_next_key_frame()
3015 accumulate_stats(&sectionstats, &next_frame); in find_next_key_frame()