Searched refs:aspect (Results 1 – 12 of 12) sorted by relevance
/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 663 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/ |
D | fbcvt.c | 192 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/ |
D | adv748x-afe.c | 169 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()
|
D | adv748x-hdmi.c | 380 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/ |
D | hva-debugfs.c | 19 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()
|
D | hva.h | 91 enum v4l2_mpeg_video_aspect aspect; member
|
D | hva-v4l2.c | 633 ctx->ctrls.aspect = ctrl->val; in hva_s_ctrl()
|
/drivers/ps3/ |
D | ps3av_cmd.c | 340 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()
|
D | ps3av.c | 77 u32 aspect; member 528 video_mode->aspect, id); in ps3av_set_videomode_packet()
|
/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 336 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/ |
D | adv7180.c | 762 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/ |
D | vpbe_display.c | 770 cropcap->pixelaspect = vpbe_dev->current_timings.aspect; in vpbe_display_cropcap()
|