Lines Matching refs:image_height
437 int frame_width, image_height, image_width; in v4l2_detect_cvt() local
490 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_cvt()
492 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_cvt()
494 if (image_height < 0) in v4l2_detect_cvt()
500 image_width = (image_height * 4) / 3; in v4l2_detect_cvt()
503 image_width = (image_height * 16) / 9; in v4l2_detect_cvt()
506 image_width = (image_height * 16) / 10; in v4l2_detect_cvt()
510 if (image_height == 1024) in v4l2_detect_cvt()
511 image_width = (image_height * 5) / 4; in v4l2_detect_cvt()
512 else if (image_height == 768) in v4l2_detect_cvt()
513 image_width = (image_height * 15) / 9; in v4l2_detect_cvt()
569 fmt->bt.height = image_height; in v4l2_detect_cvt()
577 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_cvt()
580 fmt->bt.vbackporch = (frame_height - image_height - 2 * v_fp - in v4l2_detect_cvt()
582 fmt->bt.il_vbackporch = frame_height - image_height - 2 * v_fp - in v4l2_detect_cvt()
656 int frame_width, image_height, image_width; in v4l2_detect_gtf() local
677 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_gtf()
679 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_gtf()
681 if (image_height < 0) in v4l2_detect_gtf()
688 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf()
727 fmt->bt.height = image_height; in v4l2_detect_gtf()
735 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_gtf()
738 fmt->bt.vbackporch = (frame_height - image_height - 2 * v_fp - in v4l2_detect_gtf()
740 fmt->bt.il_vbackporch = frame_height - image_height - 2 * v_fp - in v4l2_detect_gtf()