Home
last modified time | relevance | path

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

/drivers/media/v4l2-core/
Dv4l2-common.c788 struct v4l2_fract aspect, in v4l2_detect_gtf() argument
812 if (aspect.numerator == 0 || aspect.denominator == 0) { in v4l2_detect_gtf()
813 aspect.numerator = 16; in v4l2_detect_gtf()
814 aspect.denominator = 9; in v4l2_detect_gtf()
816 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf()
869 struct v4l2_fract aspect = { 16, 9 }; in v4l2_calc_aspect_ratio() local
875 return aspect; in v4l2_calc_aspect_ratio()
878 aspect.numerator = hor_landscape; in v4l2_calc_aspect_ratio()
879 aspect.denominator = vert_portrait; in v4l2_calc_aspect_ratio()
880 return aspect; in v4l2_calc_aspect_ratio()
[all …]
/drivers/video/
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/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/gpu/drm/nouveau/
Dnv50_display.c724 u32 aspect = (oY << 19) / oX; in nv50_crtc_set_scale() local
729 else oY = ((oX * aspect) + (aspect / 2)) >> 19; in nv50_crtc_set_scale()
733 else oY = ((oX * aspect) + (aspect / 2)) >> 19; in nv50_crtc_set_scale()
747 u32 aspect = (umode->hdisplay << 19) / umode->vdisplay; in nv50_crtc_set_scale() local
748 oX = ((oY * aspect) + (aspect / 2)) >> 19; in nv50_crtc_set_scale()
750 u32 aspect = (umode->vdisplay << 19) / umode->hdisplay; in nv50_crtc_set_scale() local
751 oY = ((oX * aspect) + (aspect / 2)) >> 19; in nv50_crtc_set_scale()
/drivers/staging/media/go7007/
Dgo7007.txt297 enum go7007_aspect_ratio The aspect ratio to be encoded in the
/drivers/media/platform/davinci/
Dvpbe_display.c826 cropcap->pixelaspect = vpbe_dev->current_timings.aspect; in vpbe_display_cropcap()