Lines Matching refs:image_height
499 int frame_width, image_height, image_width; in v4l2_detect_cvt() local
552 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_cvt()
554 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_cvt()
556 if (image_height < 0) in v4l2_detect_cvt()
562 image_width = (image_height * 4) / 3; in v4l2_detect_cvt()
565 image_width = (image_height * 16) / 9; in v4l2_detect_cvt()
568 image_width = (image_height * 16) / 10; in v4l2_detect_cvt()
572 if (image_height == 1024) in v4l2_detect_cvt()
573 image_width = (image_height * 5) / 4; in v4l2_detect_cvt()
574 else if (image_height == 768) in v4l2_detect_cvt()
575 image_width = (image_height * 15) / 9; in v4l2_detect_cvt()
631 fmt->bt.height = image_height; in v4l2_detect_cvt()
639 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_cvt()
642 fmt->bt.vbackporch = (frame_height - image_height - 2 * v_fp - in v4l2_detect_cvt()
644 fmt->bt.il_vbackporch = frame_height - image_height - 2 * v_fp - in v4l2_detect_cvt()
718 int frame_width, image_height, image_width; in v4l2_detect_gtf() local
739 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_gtf()
741 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_gtf()
743 if (image_height < 0) in v4l2_detect_gtf()
750 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf()
789 fmt->bt.height = image_height; in v4l2_detect_gtf()
797 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_gtf()
800 fmt->bt.vbackporch = (frame_height - image_height - 2 * v_fp - in v4l2_detect_gtf()
802 fmt->bt.il_vbackporch = frame_height - image_height - 2 * v_fp - in v4l2_detect_gtf()