| /kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
| D | v4l2-dv-timings.c | 346 pr_info("%s: picture aspect (hor:vert): %u:%u\n", dev_prefix, in v4l2_print_dv_timings() 537 /* Aspect ratio based on vsync */ in v4l2_detect_cvt() 675 * @aspect - preferred aspect ratio. GTF has no method of determining the 676 * aspect ratio in order to derive the image width from the 678 * the native screen aspect ratio is used for this. If it 691 struct v4l2_fract aspect, in v4l2_detect_gtf() argument 724 if (aspect.numerator == 0 || aspect.denominator == 0) { in v4l2_detect_gtf() 725 aspect.numerator = 16; in v4l2_detect_gtf() 726 aspect.denominator = 9; in v4l2_detect_gtf() 728 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/v4l2-core/ |
| D | v4l2-dv-timings.c | 346 pr_info("%s: picture aspect (hor:vert): %u:%u\n", dev_prefix, in v4l2_print_dv_timings() 498 /* Aspect ratio based on vsync */ in v4l2_detect_cvt() 636 * @aspect - preferred aspect ratio. GTF has no method of determining the 637 * aspect ratio in order to derive the image width from the 639 * the native screen aspect ratio is used for this. If it 652 struct v4l2_fract aspect, in v4l2_detect_gtf() argument 685 if (aspect.numerator == 0 || aspect.denominator == 0) { in v4l2_detect_gtf() 686 aspect.numerator = 16; in v4l2_detect_gtf() 687 aspect.denominator = 9; in v4l2_detect_gtf() 689 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf() [all …]
|
| /kernel/linux/linux-4.19/include/media/ |
| D | v4l2-dv-timings.h | 157 * @aspect: preferred aspect ratio. GTF has no method of determining the 158 * aspect ratio in order to derive the image width from the 160 * the native screen aspect ratio is used for this. If it 169 u32 polarities, bool interlaced, struct v4l2_fract aspect, 173 * v4l2_calc_aspect_ratio - calculate the aspect ratio based on bytes 179 * Determines the aspect ratio from the EDID. 181 * "Horizontal and Vertical Screen Size or Aspect Ratio" 186 * v4l2_dv_timings_aspect_ratio - calculate the aspect ratio based on the
|
| /kernel/linux/linux-5.10/include/media/ |
| D | v4l2-dv-timings.h | 168 * @aspect: preferred aspect ratio. GTF has no method of determining the 169 * aspect ratio in order to derive the image width from the 171 * the native screen aspect ratio is used for this. If it 180 u32 polarities, bool interlaced, struct v4l2_fract aspect, 184 * v4l2_calc_aspect_ratio - calculate the aspect ratio based on bytes 190 * Determines the aspect ratio from the EDID. 192 * "Horizontal and Vertical Screen Size or Aspect Ratio" 197 * v4l2_dv_timings_aspect_ratio - calculate the aspect ratio based on the
|
| /kernel/linux/linux-4.19/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() 205 printk(KERN_INFO "fbcvt: Aspect ratio not CVT " in fb_cvt_aspect_ratio() 207 aspect = 7; in fb_cvt_aspect_ratio() 211 return aspect; in fb_cvt_aspect_ratio()
|
| /kernel/linux/linux-5.10/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() 205 printk(KERN_INFO "fbcvt: Aspect ratio not CVT " in fb_cvt_aspect_ratio() 207 aspect = 7; in fb_cvt_aspect_ratio() 211 return aspect; in fb_cvt_aspect_ratio()
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | crop.rst | 13 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;
|
| D | vidioc-cropcap.rst | 35 aspect of images and to calculate scale factors. They set the ``type`` 72 Assuming pixel aspect 1/1 this could be for example a 640 × 480 78 - This is the pixel aspect (y / x) when no scaling is applied, the
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/v4l/ |
| D | crop.rst | 13 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;
|
| D | vidioc-cropcap.rst | 36 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
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/dvb/ |
| D | video-get-size.rst | 47 - Returns the size and aspect ratio. 53 This ioctl returns the size and aspect ratio.
|
| D | video_types.rst | 27 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
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/ |
| D | video-get-size.rst | 47 - Returns the size and aspect ratio. 52 This ioctl returns the size and aspect ratio.
|
| D | video_types.rst | 27 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
|
| /kernel/linux/linux-4.19/Documentation/media/v4l-drivers/ |
| D | vivid.rst | 27 - 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 342 can be selected through the 'Standard Aspect Ratio' Vivid control. 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. 459 Aspect Ratio control setting and teletext pages 100-159, one page per frame. 645 displayed with the correct pixel and image aspect ratio corrections, [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
| D | vivid.rst | 29 - Support for various pixel aspect ratios and video aspect ratios 372 The pixel aspect ratio will depend on the TV standard. The video aspect ratio 373 can be selected through the 'Standard Aspect Ratio' Vivid control. 413 The pixel aspect ratio will depend on the HDMI timing: for 720x480 is it 415 standard, and for all others a 1:1 pixel aspect ratio is returned. 417 The video aspect ratio can be selected through the 'DV Timings Aspect Ratio' 469 The pixel aspect ratio will depend on the HDMI timing: for 720x480 is it 471 standard, and for all others a 1:1 pixel aspect ratio is returned. 490 Aspect Ratio control setting and teletext pages 100-159, one page per frame. 703 displayed with the correct pixel and image aspect ratio corrections, [all …]
|
| /kernel/linux/linux-4.19/Documentation/ABI/testing/ |
| D | configfs-usb-gadget-uvc | 167 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
|
| /kernel/linux/linux-4.19/drivers/media/platform/sti/hva/ |
| D | hva.h | 73 * @aspect: video aspect 81 * @vui_sar: pixel aspect ratio enable 82 * @vui_sar_idc: pixel aspect ratio identifier 91 enum v4l2_mpeg_video_aspect aspect; member
|
| 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() 50 " | |- video aspect=%s\n" in format_ctx() 55 v4l2_ctrl_get_menu(aspect)[ctrls->aspect], in format_ctx()
|
| /kernel/linux/linux-5.10/drivers/media/platform/sti/hva/ |
| D | hva.h | 73 * @aspect: video aspect 81 * @vui_sar: pixel aspect ratio enable 82 * @vui_sar_idc: pixel aspect ratio identifier 91 enum v4l2_mpeg_video_aspect aspect; member
|
| 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() 50 " | |- video aspect=%s\n" in format_ctx() 55 v4l2_ctrl_get_menu(aspect)[ctrls->aspect], in format_ctx()
|
| /kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/ |
| D | vdec_helpers.h | 63 * amvdec_set_par_from_dar() - Set Pixel Aspect Ratio from Display Aspect Ratio
|
| /kernel/linux/linux-4.19/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()
|
| /kernel/linux/linux-5.10/drivers/media/i2c/adv748x/ |
| D | adv748x-afe.c | 165 struct v4l2_fract *aspect) in adv748x_afe_g_pixelaspect() argument 170 aspect->numerator = 11; in adv748x_afe_g_pixelaspect() 171 aspect->denominator = 10; in adv748x_afe_g_pixelaspect() 173 aspect->numerator = 54; in adv748x_afe_g_pixelaspect() 174 aspect->denominator = 59; in adv748x_afe_g_pixelaspect()
|
| /kernel/linux/linux-4.19/Documentation/fb/ |
| D | modedb.txt | 78 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
|