Lines Matching refs:fps
118 static int input_stats(VP8_COMP *cpi, FIRSTPASS_STATS *fps) in input_stats() argument
123 *fps = *cpi->twopass.stats_in; in input_stats()
800 FIRSTPASS_STATS fps; in vp8_first_pass() local
802 fps.frame = cm->current_video_frame ; in vp8_first_pass()
803 fps.intra_error = (double)(intra_error >> 8); in vp8_first_pass()
804 fps.coded_error = (double)(coded_error >> 8); in vp8_first_pass()
811 fps.ssim_weighted_pred_err = fps.coded_error * weight; in vp8_first_pass()
813 fps.pcnt_inter = 0.0; in vp8_first_pass()
814 fps.pcnt_motion = 0.0; in vp8_first_pass()
815 fps.MVr = 0.0; in vp8_first_pass()
816 fps.mvr_abs = 0.0; in vp8_first_pass()
817 fps.MVc = 0.0; in vp8_first_pass()
818 fps.mvc_abs = 0.0; in vp8_first_pass()
819 fps.MVrv = 0.0; in vp8_first_pass()
820 fps.MVcv = 0.0; in vp8_first_pass()
821 fps.mv_in_out_count = 0.0; in vp8_first_pass()
822 fps.new_mv_count = 0.0; in vp8_first_pass()
823 fps.count = 1.0; in vp8_first_pass()
825 fps.pcnt_inter = 1.0 * (double)intercount / cm->MBs; in vp8_first_pass()
826 fps.pcnt_second_ref = 1.0 * (double)second_ref_count / cm->MBs; in vp8_first_pass()
827 fps.pcnt_neutral = 1.0 * (double)neutral_count / cm->MBs; in vp8_first_pass()
831 fps.MVr = (double)sum_mvr / (double)mvcount; in vp8_first_pass()
832 fps.mvr_abs = (double)sum_mvr_abs / (double)mvcount; in vp8_first_pass()
833 fps.MVc = (double)sum_mvc / (double)mvcount; in vp8_first_pass()
834 fps.mvc_abs = (double)sum_mvc_abs / (double)mvcount; in vp8_first_pass()
835 fps.MVrv = ((double)sum_mvrs - (fps.MVr * fps.MVr / (double)mvcount)) / (double)mvcount; in vp8_first_pass()
836 fps.MVcv = ((double)sum_mvcs - (fps.MVc * fps.MVc / (double)mvcount)) / (double)mvcount; in vp8_first_pass()
837 fps.mv_in_out_count = (double)sum_in_vectors / (double)(mvcount * 2); in vp8_first_pass()
838 fps.new_mv_count = new_mv_count; in vp8_first_pass()
840 fps.pcnt_motion = 1.0 * (double)mvcount / cpi->common.MBs; in vp8_first_pass()
846 fps.duration = (double)(cpi->source->ts_end in vp8_first_pass()
851 &fps, in vp8_first_pass()
854 accumulate_stats(&cpi->twopass.total_stats, &fps); in vp8_first_pass()