Lines Matching refs:v_fp

377 	int  v_fp, v_bp, h_fp, h_bp, hsync;  in v4l2_detect_cvt()  local
409 v_fp = (CVT_RB_MIN_V_BLANK * hfreq) / 1000000 + 1; in v4l2_detect_cvt()
410 v_fp -= vsync + v_bp; in v4l2_detect_cvt()
412 if (v_fp < CVT_RB_V2_MIN_V_FPORCH) in v4l2_detect_cvt()
413 v_fp = CVT_RB_V2_MIN_V_FPORCH; in v4l2_detect_cvt()
415 v_fp = CVT_RB_V_FPORCH; in v4l2_detect_cvt()
417 v_bp -= vsync + v_fp; in v4l2_detect_cvt()
423 v_fp = CVT_MIN_V_PORCH_RND; in v4l2_detect_cvt()
431 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_cvt()
433 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_cvt()
512 fmt->bt.vfrontporch = v_fp; in v4l2_detect_cvt()
518 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_cvt()
521 fmt->bt.vbackporch = (frame_height - image_height - 2 * v_fp - in v4l2_detect_cvt()
523 fmt->bt.il_vbackporch = frame_height - image_height - 2 * v_fp - in v4l2_detect_cvt()
525 fmt->bt.il_vfrontporch = v_fp; in v4l2_detect_cvt()
596 int v_fp, v_bp, h_fp, hsync; in v4l2_detect_gtf() local
615 v_fp = GTF_V_FP; in v4l2_detect_gtf()
618 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_gtf()
620 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_gtf()
670 fmt->bt.vfrontporch = v_fp; in v4l2_detect_gtf()
676 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_gtf()
679 fmt->bt.vbackporch = (frame_height - image_height - 2 * v_fp - in v4l2_detect_gtf()
681 fmt->bt.il_vbackporch = frame_height - image_height - 2 * v_fp - in v4l2_detect_gtf()
683 fmt->bt.il_vfrontporch = v_fp; in v4l2_detect_gtf()