Lines Matching refs:image_height
354 int frame_width, image_height, image_width; in v4l2_detect_cvt() local
383 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_cvt()
388 image_width = (image_height * 4) / 3; in v4l2_detect_cvt()
391 image_width = (image_height * 16) / 9; in v4l2_detect_cvt()
394 image_width = (image_height * 16) / 10; in v4l2_detect_cvt()
398 if (image_height == 1024) in v4l2_detect_cvt()
399 image_width = (image_height * 5) / 4; in v4l2_detect_cvt()
400 else if (image_height == 768) in v4l2_detect_cvt()
401 image_width = (image_height * 15) / 9; in v4l2_detect_cvt()
447 fmt->bt.height = image_height; in v4l2_detect_cvt()
453 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_cvt()
516 int frame_width, image_height, image_width; in v4l2_detect_gtf() local
533 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_gtf()
539 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf()
568 fmt->bt.height = image_height; in v4l2_detect_gtf()
574 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_gtf()