Home
last modified time | relevance | path

Searched refs:aspect_ratio (Results 1 – 15 of 15) sorted by relevance

/drivers/video/fbdev/core/
Dfbcvt.c55 u32 aspect_ratio; member
246 if (cvt->aspect_ratio == 0) in fb_cvt_print_name()
248 else if (cvt->aspect_ratio == 3) in fb_cvt_print_name()
250 else if (cvt->aspect_ratio == 1 || cvt->aspect_ratio == 4) in fb_cvt_print_name()
252 else if (cvt->aspect_ratio == 2) in fb_cvt_print_name()
359 cvt.aspect_ratio = fb_cvt_aspect_ratio(&cvt); in fb_find_mode_cvt()
362 cvt.vsync = fb_cvt_vbi_tab[cvt.aspect_ratio]; in fb_find_mode_cvt()
/drivers/media/usb/go7007/
Dgo7007-fw.c534 int i, aspect_ratio, picture_rate; in mpeg1_sequence_header() local
538 switch (go->aspect_ratio) { in mpeg1_sequence_header()
540 aspect_ratio = go->standard == GO7007_STD_NTSC ? 3 : 2; in mpeg1_sequence_header()
543 aspect_ratio = go->standard == GO7007_STD_NTSC ? 5 : 4; in mpeg1_sequence_header()
546 aspect_ratio = 1; in mpeg1_sequence_header()
550 switch (go->aspect_ratio) { in mpeg1_sequence_header()
552 aspect_ratio = 2; in mpeg1_sequence_header()
555 aspect_ratio = 3; in mpeg1_sequence_header()
558 aspect_ratio = 1; in mpeg1_sequence_header()
585 CODE_ADD(c, aspect_ratio, 4); in mpeg1_sequence_header()
[all …]
Dgo7007-v4l2.c111 go->aspect_ratio = GO7007_RATIO_1_1; in set_formatting()
173 go->aspect_ratio = GO7007_RATIO_1_1; in set_formatting()
176 go->aspect_ratio = GO7007_RATIO_4_3; in set_formatting()
179 go->aspect_ratio = GO7007_RATIO_16_9; in set_formatting()
Dgo7007-priv.h210 int aspect_ratio; member
Dgo7007-driver.c729 go->aspect_ratio = GO7007_RATIO_1_1; in go7007_alloc()
/drivers/media/dvb-core/
Ddvb_filter.c163 vi->aspect_ratio = 100;
168 vi->aspect_ratio = 133;
173 vi->aspect_ratio = 177;
178 vi->aspect_ratio = 221;
184 vi->aspect_ratio = 0;
188 vi->aspect_ratio = 0;
Ddvb_filter.h159 u32 aspect_ratio; member
/drivers/gpu/drm/i915/
Dintel_hdmi.c1381 adjusted_mode->picture_aspect_ratio = intel_hdmi->aspect_ratio; in intel_hdmi_compute_config()
1627 intel_hdmi->aspect_ratio = HDMI_PICTURE_ASPECT_NONE; in intel_hdmi_set_property()
1630 intel_hdmi->aspect_ratio = HDMI_PICTURE_ASPECT_4_3; in intel_hdmi_set_property()
1633 intel_hdmi->aspect_ratio = HDMI_PICTURE_ASPECT_16_9; in intel_hdmi_set_property()
1807 intel_hdmi->aspect_ratio = HDMI_PICTURE_ASPECT_NONE; in intel_hdmi_add_properties()
Dintel_sdvo.c112 enum hdmi_picture_aspect aspect_ratio; member
1189 adjusted_mode->picture_aspect_ratio = intel_sdvo->aspect_ratio; in intel_sdvo_compute_config()
2072 intel_sdvo->aspect_ratio = HDMI_PICTURE_ASPECT_NONE; in intel_sdvo_set_property()
2075 intel_sdvo->aspect_ratio = HDMI_PICTURE_ASPECT_4_3; in intel_sdvo_set_property()
2078 intel_sdvo->aspect_ratio = HDMI_PICTURE_ASPECT_16_9; in intel_sdvo_set_property()
2421 intel_sdvo->aspect_ratio = HDMI_PICTURE_ASPECT_NONE; in intel_sdvo_add_hdmi_properties()
Dintel_drv.h840 enum hdmi_picture_aspect aspect_ratio; member
/drivers/media/pci/ttpci/
Dav7110.c546 av7110->video_size.aspect_ratio = VIDEO_FORMAT_16_9; in gpioirq()
547 event.u.size.aspect_ratio = VIDEO_FORMAT_16_9; in gpioirq()
551 av7110->video_size.aspect_ratio = VIDEO_FORMAT_221_1; in gpioirq()
552 event.u.size.aspect_ratio = VIDEO_FORMAT_221_1; in gpioirq()
556 av7110->video_size.aspect_ratio = VIDEO_FORMAT_4_3; in gpioirq()
557 event.u.size.aspect_ratio = VIDEO_FORMAT_4_3; in gpioirq()
563 av7110->video_size.aspect_ratio); in gpioirq()
/drivers/media/platform/vivid/
Dvivid-vid-cap.c1631 struct v4l2_fract aspect_ratio; in valid_cvt_gtf_timings() local
1634 &aspect_ratio.numerator, in valid_cvt_gtf_timings()
1635 &aspect_ratio.denominator); in valid_cvt_gtf_timings()
1638 aspect_ratio, timings)) in valid_cvt_gtf_timings()
/drivers/media/i2c/
Dadv7604.c189 struct v4l2_fract aspect_ratio; member
1404 false, state->aspect_ratio, timings)) in stdi2dv_timings()
2280 state->aspect_ratio.numerator = 16; in adv76xx_set_edid()
2281 state->aspect_ratio.denominator = 9; in adv76xx_set_edid()
2349 state->aspect_ratio = v4l2_calc_aspect_ratio(edid->edid[0x15], in adv76xx_set_edid()
Dadv7842.c121 struct v4l2_fract aspect_ratio; member
1464 false, state->aspect_ratio, timings)) in stdi2dv_timings()
2515 state->aspect_ratio = v4l2_calc_aspect_ratio(e->edid[0x15], in adv7842_set_edid()
/drivers/gpu/drm/
Ddrm_edid.c1763 unsigned aspect_ratio = (t->vfreq_aspect & EDID_TIMING_ASPECT_MASK) in drm_mode_std() local
1777 if (aspect_ratio == 0) { in drm_mode_std()
1782 } else if (aspect_ratio == 1) in drm_mode_std()
1784 else if (aspect_ratio == 2) in drm_mode_std()