Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-dv-timings.c651 struct v4l2_fract aspect, in v4l2_detect_gtf() argument
684 if (aspect.numerator == 0 || aspect.denominator == 0) { in v4l2_detect_gtf()
685 aspect.numerator = 16; in v4l2_detect_gtf()
686 aspect.denominator = 9; in v4l2_detect_gtf()
688 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf()
769 struct v4l2_fract aspect = { 16, 9 }; in v4l2_calc_aspect_ratio() local
774 return aspect; in v4l2_calc_aspect_ratio()
777 aspect.numerator = hor_landscape; in v4l2_calc_aspect_ratio()
778 aspect.denominator = vert_portrait; in v4l2_calc_aspect_ratio()
779 return aspect; in v4l2_calc_aspect_ratio()
[all …]
/Linux-v4.19/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()
/Linux-v4.19/Documentation/media/uapi/dvb/
Dvideo-get-size.rst47 - Returns the size and aspect ratio.
53 This ioctl returns the size and aspect ratio.
Dvideo_types.rst27 aspect ratio the output hardware (e.g. TV) has. It is also used in the
190 video_format_t video_format; /* current aspect ratio of stream */
199 demultiplexer or from memory. The video_format indicates the aspect
Dvideo-get-status.rst64 video_format_t video_format; /* current aspect ratio of stream*/
Dvideo-set-format.rst53 This ioctl sets the screen format (aspect ratio) of the connected output
/Linux-v4.19/arch/arm/mach-davinci/
Dboard-dm365-evm.c418 .aspect = {11, 10},
430 .aspect = {54, 59},
446 .aspect = {1, 1},
458 .aspect = {1, 1},
470 .aspect = {1, 1},
486 .aspect = {1, 1},
Dboard-dm644x-evm.c677 .aspect = {11, 10},
689 .aspect = {54, 59},
705 .aspect = {1, 1},
717 .aspect = {1, 1},
Dboard-dm355-evm.c275 .aspect = {11, 10},
287 .aspect = {54, 59},
/Linux-v4.19/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()
/Linux-v4.19/Documentation/media/uapi/v4l/
Dcrop.rst13 with the exception of pixel aspect ratio detection, which is
145 aspect ratio closer to the original request, so it asks for a cropping
260 Example: Current scaling factor and pixel aspect
271 double aspect;
308 aspect = cropcap.pixelaspect.numerator /
310 aspect = aspect * hscale / vscale;
316 dwidth = format.fmt.pix.width / aspect;
Dvidioc-cropcap.rst36 aspect of images and to calculate scale factors. They set the ``type``
73 Assuming pixel aspect 1/1 this could be for example a 640 × 480
79 - This is the pixel aspect (y / x) when no scaling is applied, the
Dvidioc-g-dv-timings.rst152 - The picture aspect if the pixels are not square. Only valid if the
288 the pixels are square, so the picture aspect ratio is the same as the
/Linux-v4.19/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
/Linux-v4.19/include/media/davinci/
Dvpbe_types.h71 struct v4l2_fract aspect; member
/Linux-v4.19/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.c76 u32 aspect; member
527 video_mode->aspect, id); in ps3av_set_videomode_packet()
/Linux-v4.19/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()
/Linux-v4.19/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uvc167 bAspectRatioY - the X dimension of the picture aspect
169 bAspectRatioX - the Y dimension of the picture aspect
211 bAspectRatioY - the X dimension of the picture aspect
213 bAspectRatioX - the Y dimension of the picture aspect
/Linux-v4.19/include/media/
Dv4l2-dv-timings.h169 u32 polarities, bool interlaced, struct v4l2_fract aspect,
/Linux-v4.19/Documentation/fb/
Dmodedb.txt78 Also, GTF does not take into account the aspect ratio of the display.
99 a = aspect ratio (3 - 4:3; 4 - 5:4; 9 - 15:9, 16:9; A - 16:10)
106 - aspect ratio can only be one of the above values
/Linux-v4.19/drivers/media/i2c/
Dadv7180.c781 static int adv7180_g_pixelaspect(struct v4l2_subdev *sd, struct v4l2_fract *aspect) in adv7180_g_pixelaspect() argument
786 aspect->numerator = 11; in adv7180_g_pixelaspect()
787 aspect->denominator = 10; in adv7180_g_pixelaspect()
789 aspect->numerator = 54; in adv7180_g_pixelaspect()
790 aspect->denominator = 59; in adv7180_g_pixelaspect()
/Linux-v4.19/Documentation/media/v4l-drivers/
Dvivid.rst27 - Support for various pixel aspect ratios and video aspect ratios
341 The pixel aspect ratio will depend on the TV standard. The video aspect ratio
382 The pixel aspect ratio will depend on the HDMI timing: for 720x480 is it
384 standard, and for all others a 1:1 pixel aspect ratio is returned.
386 The video aspect ratio can be selected through the 'DV Timings Aspect Ratio'
438 The pixel aspect ratio will depend on the HDMI timing: for 720x480 is it
440 standard, and for all others a 1:1 pixel aspect ratio is returned.
645 displayed with the correct pixel and image aspect ratio corrections,
679 selects if the image aspect ratio as used for the TV or
685 selects if the image aspect ratio as used for the HDMI
[all …]

123