Lines Matching refs:fmt

375 		     struct v4l2_dv_timings *fmt)  in v4l2_detect_cvt()  argument
507 fmt->type = V4L2_DV_BT_656_1120; in v4l2_detect_cvt()
508 fmt->bt.polarities = polarities; in v4l2_detect_cvt()
509 fmt->bt.width = image_width; in v4l2_detect_cvt()
510 fmt->bt.height = image_height; in v4l2_detect_cvt()
511 fmt->bt.hfrontporch = h_fp; in v4l2_detect_cvt()
512 fmt->bt.vfrontporch = v_fp; in v4l2_detect_cvt()
513 fmt->bt.hsync = hsync; in v4l2_detect_cvt()
514 fmt->bt.vsync = vsync; in v4l2_detect_cvt()
515 fmt->bt.hbackporch = frame_width - image_width - h_fp - hsync; in v4l2_detect_cvt()
518 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_cvt()
519 fmt->bt.interlaced = V4L2_DV_PROGRESSIVE; 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()
524 2 * vsync - fmt->bt.vbackporch; in v4l2_detect_cvt()
525 fmt->bt.il_vfrontporch = v_fp; in v4l2_detect_cvt()
526 fmt->bt.il_vsync = vsync; in v4l2_detect_cvt()
527 fmt->bt.flags |= V4L2_DV_FL_HALF_LINE; in v4l2_detect_cvt()
528 fmt->bt.interlaced = V4L2_DV_INTERLACED; in v4l2_detect_cvt()
531 fmt->bt.pixelclock = pix_clk; in v4l2_detect_cvt()
532 fmt->bt.standards = V4L2_DV_BT_STD_CVT; in v4l2_detect_cvt()
535 fmt->bt.flags |= V4L2_DV_FL_REDUCED_BLANKING; in v4l2_detect_cvt()
593 struct v4l2_dv_timings *fmt) in v4l2_detect_gtf() argument
665 fmt->type = V4L2_DV_BT_656_1120; in v4l2_detect_gtf()
666 fmt->bt.polarities = polarities; in v4l2_detect_gtf()
667 fmt->bt.width = image_width; in v4l2_detect_gtf()
668 fmt->bt.height = image_height; in v4l2_detect_gtf()
669 fmt->bt.hfrontporch = h_fp; in v4l2_detect_gtf()
670 fmt->bt.vfrontporch = v_fp; in v4l2_detect_gtf()
671 fmt->bt.hsync = hsync; in v4l2_detect_gtf()
672 fmt->bt.vsync = vsync; in v4l2_detect_gtf()
673 fmt->bt.hbackporch = frame_width - image_width - h_fp - hsync; in v4l2_detect_gtf()
676 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_gtf()
677 fmt->bt.interlaced = V4L2_DV_PROGRESSIVE; 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()
682 2 * vsync - fmt->bt.vbackporch; in v4l2_detect_gtf()
683 fmt->bt.il_vfrontporch = v_fp; in v4l2_detect_gtf()
684 fmt->bt.il_vsync = vsync; in v4l2_detect_gtf()
685 fmt->bt.flags |= V4L2_DV_FL_HALF_LINE; in v4l2_detect_gtf()
686 fmt->bt.interlaced = V4L2_DV_INTERLACED; in v4l2_detect_gtf()
689 fmt->bt.pixelclock = pix_clk; in v4l2_detect_gtf()
690 fmt->bt.standards = V4L2_DV_BT_STD_GTF; in v4l2_detect_gtf()
693 fmt->bt.flags |= V4L2_DV_FL_REDUCED_BLANKING; in v4l2_detect_gtf()