CVT_MIN_VSYNC_BP
CVT_MIN_VSYNC_BP * HV_FACTOR * vfieldrate;
tmp1 = CVT_MIN_VSYNC_BP * HV_FACTOR / hperiod + 1;