Lines Matching refs:image_height
378 int frame_width, image_height, image_width; in v4l2_detect_cvt() local
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()
435 if (image_height < 0) in v4l2_detect_cvt()
441 image_width = (image_height * 4) / 3; in v4l2_detect_cvt()
444 image_width = (image_height * 16) / 9; in v4l2_detect_cvt()
447 image_width = (image_height * 16) / 10; in v4l2_detect_cvt()
451 if (image_height == 1024) in v4l2_detect_cvt()
452 image_width = (image_height * 5) / 4; in v4l2_detect_cvt()
453 else if (image_height == 768) in v4l2_detect_cvt()
454 image_width = (image_height * 15) / 9; in v4l2_detect_cvt()
510 fmt->bt.height = image_height; 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()
597 int frame_width, image_height, image_width; in v4l2_detect_gtf() local
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()
622 if (image_height < 0) in v4l2_detect_gtf()
629 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf()
668 fmt->bt.height = image_height; 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()