Searched refs:aspect (Results 1 – 8 of 8) sorted by relevance
788 struct v4l2_fract aspect, in v4l2_detect_gtf() argument812 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() local875 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 …]
192 u32 aspect = -1; in fb_cvt_aspect_ratio() local195 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()
340 int aspect, u32 id) in ps3av_cmd_set_av_video_cs() argument349 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()
77 u32 aspect; member528 video_mode->aspect, id); in ps3av_set_videomode_packet()
336 uint64_t scale, aspect; in ch7006_setup_properties() local349 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()
724 u32 aspect = (oY << 19) / oX; in nv50_crtc_set_scale() local729 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() local748 oX = ((oY * aspect) + (aspect / 2)) >> 19; in nv50_crtc_set_scale()750 u32 aspect = (umode->vdisplay << 19) / umode->hdisplay; in nv50_crtc_set_scale() local751 oY = ((oX * aspect) + (aspect / 2)) >> 19; in nv50_crtc_set_scale()
297 enum go7007_aspect_ratio The aspect ratio to be encoded in the
826 cropcap->pixelaspect = vpbe_dev->current_timings.aspect; in vpbe_display_cropcap()