Home
last modified time | relevance | path

Searched refs:aspect (Results 1 – 12 of 12) sorted by relevance

/drivers/media/v4l2-core/
Dv4l2-dv-timings.c663 struct v4l2_fract aspect, in v4l2_detect_gtf() argument
696 if (aspect.numerator == 0 || aspect.denominator == 0) { in v4l2_detect_gtf()
697 aspect.numerator = 16; in v4l2_detect_gtf()
698 aspect.denominator = 9; in v4l2_detect_gtf()
700 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf()
781 struct v4l2_fract aspect = { 16, 9 }; in v4l2_calc_aspect_ratio() local
786 return aspect; in v4l2_calc_aspect_ratio()
789 aspect.numerator = hor_landscape; in v4l2_calc_aspect_ratio()
790 aspect.denominator = vert_portrait; in v4l2_calc_aspect_ratio()
791 return aspect; in v4l2_calc_aspect_ratio()
[all …]
/drivers/video/fbdev/core/
Dfbcvt.c192 u32 aspect = -1; in fb_cvt_aspect_ratio() local
195 aspect = 0; in fb_cvt_aspect_ratio()
197 aspect = 1; in fb_cvt_aspect_ratio()
199 aspect = 2; in fb_cvt_aspect_ratio()
201 aspect = 3; in fb_cvt_aspect_ratio()
203 aspect = 4; in fb_cvt_aspect_ratio()
207 aspect = 7; in fb_cvt_aspect_ratio()
211 return aspect; in fb_cvt_aspect_ratio()
/drivers/media/i2c/adv748x/
Dadv748x-afe.c169 struct v4l2_fract *aspect) in adv748x_afe_g_pixelaspect() argument
174 aspect->numerator = 11; in adv748x_afe_g_pixelaspect()
175 aspect->denominator = 10; in adv748x_afe_g_pixelaspect()
177 aspect->numerator = 54; in adv748x_afe_g_pixelaspect()
178 aspect->denominator = 59; in adv748x_afe_g_pixelaspect()
Dadv748x-hdmi.c380 struct v4l2_fract *aspect) in adv748x_hdmi_g_pixelaspect() argument
382 aspect->numerator = 1; in adv748x_hdmi_g_pixelaspect()
383 aspect->denominator = 1; in adv748x_hdmi_g_pixelaspect()
/drivers/media/platform/sti/hva/
Dhva-debugfs.c19 u32 bitrate_mode, aspect, entropy, vui_sar, sei_fp; in format_ctx() local
45 aspect = V4L2_CID_MPEG_VIDEO_ASPECT; in format_ctx()
55 v4l2_ctrl_get_menu(aspect)[ctrls->aspect], in format_ctx()
Dhva.h91 enum v4l2_mpeg_video_aspect aspect; member
Dhva-v4l2.c633 ctx->ctrls.aspect = ctrl->val; in hva_s_ctrl()
/drivers/ps3/
Dps3av_cmd.c340 int aspect, u32 id) in ps3av_cmd_set_av_video_cs() argument
349 if (aspect == -1) in ps3av_cmd_set_av_video_cs()
350 aspect = 0; in ps3av_cmd_set_av_video_cs()
366 av_video_cs->aspect = aspect; in ps3av_cmd_set_av_video_cs()
Dps3av.c77 u32 aspect; member
528 video_mode->aspect, id); in ps3av_set_videomode_packet()
/drivers/gpu/drm/i2c/
Dch7006_mode.c336 uint64_t scale, aspect; in ch7006_setup_properties() local
349 aspect = ch_mode->enc_hdisp*fixed1; in ch7006_setup_properties()
350 do_div(aspect, ch_mode->enc_vdisp); in ch7006_setup_properties()
352 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale) in ch7006_setup_properties()
/drivers/media/i2c/
Dadv7180.c762 static int adv7180_g_pixelaspect(struct v4l2_subdev *sd, struct v4l2_fract *aspect) in adv7180_g_pixelaspect() argument
767 aspect->numerator = 11; in adv7180_g_pixelaspect()
768 aspect->denominator = 10; in adv7180_g_pixelaspect()
770 aspect->numerator = 54; in adv7180_g_pixelaspect()
771 aspect->denominator = 59; in adv7180_g_pixelaspect()
/drivers/media/platform/davinci/
Dvpbe_display.c770 cropcap->pixelaspect = vpbe_dev->current_timings.aspect; in vpbe_display_cropcap()