Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c527 int mvcount = 0; in vp8_first_pass() local
733 mvcount++; in vp8_first_pass()
829 if (mvcount > 0) 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()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c514 int mvcount = 0; in vp9_first_pass() local
934 ++mvcount; in vp9_first_pass()
1059 if (mvcount > 0) { in vp9_first_pass()
1060 fps.MVr = (double)sum_mvr / mvcount; in vp9_first_pass()
1061 fps.mvr_abs = (double)sum_mvr_abs / mvcount; in vp9_first_pass()
1062 fps.MVc = (double)sum_mvc / mvcount; in vp9_first_pass()
1063 fps.mvc_abs = (double)sum_mvc_abs / mvcount; in vp9_first_pass()
1065 ((double)sum_mvr * sum_mvr / mvcount)) / mvcount; in vp9_first_pass()
1067 ((double)sum_mvc * sum_mvc / mvcount)) / mvcount; in vp9_first_pass()
1068 fps.mv_in_out_count = (double)sum_in_vectors / (mvcount * 2); in vp9_first_pass()
[all …]