Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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.c712 go->aspect_ratio = GO7007_RATIO_1_1; in go7007_alloc()
/linux-6.12.1/drivers/media/i2c/adv748x/
Dadv748x-hdmi.c536 hdmi->aspect_ratio.numerator = 16; in adv748x_hdmi_set_edid()
537 hdmi->aspect_ratio.denominator = 9; in adv748x_hdmi_set_edid()
557 hdmi->aspect_ratio = v4l2_calc_aspect_ratio(edid->edid[0x15], in adv748x_hdmi_set_edid()
740 hdmi->aspect_ratio.numerator = 16; in adv748x_hdmi_init()
741 hdmi->aspect_ratio.denominator = 9; in adv748x_hdmi_init()
Dadv748x.h122 struct v4l2_fract aspect_ratio; member
/linux-6.12.1/include/uapi/linux/dvb/
Dvideo.h36 video_format_t aspect_ratio; member
/linux-6.12.1/drivers/staging/media/av7110/
Ddvb_filter.h151 u32 aspect_ratio; member
Dav7110.c502 av7110->video_size.aspect_ratio = VIDEO_FORMAT_16_9; in gpioirq()
503 event.u.size.aspect_ratio = VIDEO_FORMAT_16_9; in gpioirq()
507 av7110->video_size.aspect_ratio = VIDEO_FORMAT_221_1; in gpioirq()
508 event.u.size.aspect_ratio = VIDEO_FORMAT_221_1; in gpioirq()
512 av7110->video_size.aspect_ratio = VIDEO_FORMAT_4_3; in gpioirq()
513 event.u.size.aspect_ratio = VIDEO_FORMAT_4_3; in gpioirq()
519 av7110->video_size.aspect_ratio); in gpioirq()
/linux-6.12.1/drivers/media/platform/amphion/
Dvpu_windsor.c209 u32 aspect_ratio; member
1065 expert->config_param.aspect_ratio = WINDSOR_H264_EXTENDED_SAR; in vpu_windsor_set_sar()
1067 expert->config_param.aspect_ratio = params->sar.idc; in vpu_windsor_set_sar()
/linux-6.12.1/drivers/media/test-drivers/vivid/
Dvivid-vid-cap.c1468 struct v4l2_fract aspect_ratio; in valid_cvt_gtf_timings() local
1471 &aspect_ratio.numerator, in valid_cvt_gtf_timings()
1472 &aspect_ratio.denominator); in valid_cvt_gtf_timings()
1475 aspect_ratio, timings)) in valid_cvt_gtf_timings()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h972 enum dc_aspect_ratio aspect_ratio; member
/linux-6.12.1/drivers/media/i2c/
Dadv7604.c191 struct v4l2_fract aspect_ratio; member
1413 false, state->aspect_ratio, timings)) in stdi2dv_timings()
2335 state->aspect_ratio.numerator = 16; in adv76xx_set_edid()
2336 state->aspect_ratio.denominator = 9; in adv76xx_set_edid()
2408 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()
2528 state->aspect_ratio = v4l2_calc_aspect_ratio(e->edid[0x15], in adv7842_set_edid()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_edid.c3340 unsigned aspect_ratio = (t->vfreq_aspect & EDID_TIMING_ASPECT_MASK) in drm_mode_std() local
3354 if (aspect_ratio == 0) { in drm_mode_std()
3359 } else if (aspect_ratio == 1) in drm_mode_std()
3361 else if (aspect_ratio == 2) in drm_mode_std()
/linux-6.12.1/Documentation/userspace-api/media/dvb/
Dlegacy_dvb_video.rst154 video_format_t aspect_ratio;
178 - `video_format_t`_ ``aspect_ratio``
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c4230 aspect = stream->timing.aspect_ratio; in set_avi_info_frame()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c6128 timing_out->aspect_ratio = get_aspect_ratio(mode_in); in fill_stream_properties_from_drm_display_mode()