Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_firstpass.c496 int mvcount = 0; in vp9_first_pass() local
730 ++mvcount; in vp9_first_pass()
803 if (mvcount > 0) { in vp9_first_pass()
804 fps.MVr = (double)sum_mvr / mvcount; in vp9_first_pass()
805 fps.mvr_abs = (double)sum_mvr_abs / mvcount; in vp9_first_pass()
806 fps.MVc = (double)sum_mvc / mvcount; in vp9_first_pass()
807 fps.mvc_abs = (double)sum_mvc_abs / mvcount; in vp9_first_pass()
808 fps.MVrv = ((double)sum_mvrs - (fps.MVr * fps.MVr / mvcount)) / mvcount; in vp9_first_pass()
809 fps.MVcv = ((double)sum_mvcs - (fps.MVc * fps.MVc / mvcount)) / mvcount; in vp9_first_pass()
810 fps.mv_in_out_count = (double)sum_in_vectors / (mvcount * 2); in vp9_first_pass()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dfirstpass.c526 int mvcount = 0; in vp8_first_pass() local
732 mvcount++; in vp8_first_pass()
828 if (mvcount > 0) in vp8_first_pass()
830 fps.MVr = (double)sum_mvr / (double)mvcount; in vp8_first_pass()
831 fps.mvr_abs = (double)sum_mvr_abs / (double)mvcount; in vp8_first_pass()
832 fps.MVc = (double)sum_mvc / (double)mvcount; in vp8_first_pass()
833 fps.mvc_abs = (double)sum_mvc_abs / (double)mvcount; in vp8_first_pass()
834 fps.MVrv = ((double)sum_mvrs - (fps.MVr * fps.MVr / (double)mvcount)) / (double)mvcount; in vp8_first_pass()
835 fps.MVcv = ((double)sum_mvcs - (fps.MVc * fps.MVc / (double)mvcount)) / (double)mvcount; in vp8_first_pass()
836 fps.mv_in_out_count = (double)sum_in_vectors / (double)(mvcount * 2); in vp8_first_pass()
[all …]