Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/video/fbdev/core/
Dfbcvt.c55 u32 aspect_ratio; member
242 if (cvt->aspect_ratio == 0) in fb_cvt_print_name()
244 else if (cvt->aspect_ratio == 3) in fb_cvt_print_name()
246 else if (cvt->aspect_ratio == 1 || cvt->aspect_ratio == 4) in fb_cvt_print_name()
248 else if (cvt->aspect_ratio == 2) in fb_cvt_print_name()
348 cvt.aspect_ratio = fb_cvt_aspect_ratio(&cvt); in fb_find_mode_cvt()
351 cvt.vsync = fb_cvt_vbi_tab[cvt.aspect_ratio]; in fb_find_mode_cvt()
/linux-6.1.9/drivers/media/usb/go7007/
Dgo7007-fw.c526 int i, aspect_ratio, picture_rate; in mpeg1_sequence_header() local
530 switch (go->aspect_ratio) { in mpeg1_sequence_header()
532 aspect_ratio = go->standard == GO7007_STD_NTSC ? 3 : 2; in mpeg1_sequence_header()
535 aspect_ratio = go->standard == GO7007_STD_NTSC ? 5 : 4; in mpeg1_sequence_header()
538 aspect_ratio = 1; in mpeg1_sequence_header()
542 switch (go->aspect_ratio) { in mpeg1_sequence_header()
544 aspect_ratio = 2; in mpeg1_sequence_header()
547 aspect_ratio = 3; in mpeg1_sequence_header()
550 aspect_ratio = 1; in mpeg1_sequence_header()
577 CODE_ADD(c, aspect_ratio, 4); in mpeg1_sequence_header()
[all …]
Dgo7007-v4l2.c103 go->aspect_ratio = GO7007_RATIO_1_1; in set_formatting()
165 go->aspect_ratio = GO7007_RATIO_1_1; in set_formatting()
168 go->aspect_ratio = GO7007_RATIO_4_3; in set_formatting()
171 go->aspect_ratio = GO7007_RATIO_16_9; in set_formatting()
Dgo7007-priv.h202 int aspect_ratio; member
Dgo7007-driver.c710 go->aspect_ratio = GO7007_RATIO_1_1; in go7007_alloc()
/linux-6.1.9/drivers/media/i2c/adv748x/
Dadv748x-hdmi.c529 hdmi->aspect_ratio.numerator = 16; in adv748x_hdmi_set_edid()
530 hdmi->aspect_ratio.denominator = 9; in adv748x_hdmi_set_edid()
550 hdmi->aspect_ratio = v4l2_calc_aspect_ratio(edid->edid[0x15], in adv748x_hdmi_set_edid()
731 hdmi->aspect_ratio.numerator = 16; in adv748x_hdmi_init()
732 hdmi->aspect_ratio.denominator = 9; in adv748x_hdmi_init()
Dadv748x.h123 struct v4l2_fract aspect_ratio; member
/linux-6.1.9/drivers/gpu/drm/msm/dp/
Ddp_debug.h22 int aspect_ratio; member
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/
Dvideo-get-size.rst61 video_format_t aspect_ratio;
Ddvb_filter.h155 u32 aspect_ratio; member
Dav7110.c516 av7110->video_size.aspect_ratio = VIDEO_FORMAT_16_9; in gpioirq()
517 event.u.size.aspect_ratio = VIDEO_FORMAT_16_9; in gpioirq()
521 av7110->video_size.aspect_ratio = VIDEO_FORMAT_221_1; in gpioirq()
522 event.u.size.aspect_ratio = VIDEO_FORMAT_221_1; in gpioirq()
526 av7110->video_size.aspect_ratio = VIDEO_FORMAT_4_3; in gpioirq()
527 event.u.size.aspect_ratio = VIDEO_FORMAT_4_3; in gpioirq()
533 av7110->video_size.aspect_ratio); in gpioirq()
Dvideo_types.rst145 video_format_t aspect_ratio;
/linux-6.1.9/include/uapi/linux/dvb/
Dvideo.h51 video_format_t aspect_ratio; member
/linux-6.1.9/drivers/media/platform/amphion/
Dvpu_windsor.c211 u32 aspect_ratio; member
1059 expert->config_param.aspect_ratio = WINDSOR_H264_EXTENDED_SAR; in vpu_windsor_set_sar()
1061 expert->config_param.aspect_ratio = params->sar.idc; in vpu_windsor_set_sar()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h926 enum dc_aspect_ratio aspect_ratio; member
/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-vid-cap.c1727 struct v4l2_fract aspect_ratio; in valid_cvt_gtf_timings() local
1730 &aspect_ratio.numerator, in valid_cvt_gtf_timings()
1731 &aspect_ratio.denominator); in valid_cvt_gtf_timings()
1734 aspect_ratio, timings)) in valid_cvt_gtf_timings()
/linux-6.1.9/drivers/media/i2c/
Dadv7604.c191 struct v4l2_fract aspect_ratio; member
1413 false, state->aspect_ratio, timings)) in stdi2dv_timings()
2332 state->aspect_ratio.numerator = 16; in adv76xx_set_edid()
2333 state->aspect_ratio.denominator = 9; in adv76xx_set_edid()
2405 state->aspect_ratio = v4l2_calc_aspect_ratio(edid->edid[0x15], in adv76xx_set_edid()
Dadv7842.c110 struct v4l2_fract aspect_ratio; member
1441 false, state->aspect_ratio, timings)) in stdi2dv_timings()
2519 state->aspect_ratio = v4l2_calc_aspect_ratio(e->edid[0x15], in adv7842_set_edid()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_edid.c3136 unsigned aspect_ratio = (t->vfreq_aspect & EDID_TIMING_ASPECT_MASK) in drm_mode_std() local
3150 if (aspect_ratio == 0) { in drm_mode_std()
3155 } else if (aspect_ratio == 1) in drm_mode_std()
3157 else if (aspect_ratio == 2) in drm_mode_std()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c2793 aspect = stream->timing.aspect_ratio; in set_avi_info_frame()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c5278 timing_out->aspect_ratio = get_aspect_ratio(mode_in); in fill_stream_properties_from_drm_display_mode()