Home
last modified time | relevance | path

Searched full:aspect (Results 1 – 25 of 201) sorted by relevance

123456789

/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c368 pr_info("%s: picture aspect (hor:vert): %u:%u\n", dev_prefix, in v4l2_print_dv_timings()
562 /* Aspect ratio based on vsync */ in v4l2_detect_cvt()
703 * @aspect - preferred aspect ratio. GTF has no method of determining the
704 * aspect ratio in order to derive the image width from the
706 * the native screen aspect ratio is used for this. If it
720 struct v4l2_fract aspect, in v4l2_detect_gtf() argument
755 if (aspect.numerator == 0 || aspect.denominator == 0) { in v4l2_detect_gtf()
756 aspect.numerator = 16; in v4l2_detect_gtf()
757 aspect.denominator = 9; in v4l2_detect_gtf()
759 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf()
[all …]
/openbmc/linux/include/media/
H A Dv4l2-dv-timings.h171 * @aspect: preferred aspect ratio. GTF has no method of determining the
172 * aspect ratio in order to derive the image width from the
174 * the native screen aspect ratio is used for this. If it
185 struct v4l2_fract aspect,
190 * v4l2_calc_aspect_ratio - calculate the aspect ratio based on bytes
196 * Determines the aspect ratio from the EDID.
198 * "Horizontal and Vertical Screen Size or Aspect Ratio"
203 * v4l2_dv_timings_aspect_ratio - calculate the aspect ratio based on the
/openbmc/linux/tools/testing/selftests/powerpc/dexcr/
H A Dlsdexcr.c87 static void print_aspect(const struct dexcr_aspect *aspect) in print_aspect() argument
93 mask = DEXCR_PR_BIT(aspect->index); in print_aspect()
101 printf("%12s %c (%d): ", aspect->name, effective & mask ? '*' : ' ', aspect->index); in print_aspect()
103 printf(" \t(%s)\n", aspect->desc); in print_aspect()
H A Ddexcr.h16 #define DEXCR_PR_BIT(aspect) __MASK(63 - (32 + (aspect))) argument
/openbmc/linux/drivers/video/fbdev/core/
H A 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()
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()
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A 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;
H A Dvidioc-cropcap.rst35 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
/openbmc/linux/Documentation/powerpc/
H A Ddexcr.rst17 the DEXCR. Each aspect controls a certain behaviour, and can be set or cleared
18 to enable/disable the aspect. There are several variants of the DEXCR for
40 NPHIE aspect enabled.
/openbmc/linux/drivers/staging/media/av7110/
H A Dvideo-get-size.rst47 - Returns the size and aspect ratio.
52 This ioctl returns the size and aspect ratio.
H A 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
/openbmc/linux/Documentation/admin-guide/media/
H A Dvivid.rst29 - 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 …]
/openbmc/linux/drivers/media/platform/st/sti/hva/
H A Dhva.h73 * @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
H A 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()
50 " | |- video aspect=%s\n" in format_ctx()
55 v4l2_ctrl_get_menu(aspect)[ctrls->aspect], in format_ctx()
/openbmc/u-boot/common/
H A Dedid.c421 unsigned int aspect = 10000; in edid_print_info() local
433 aspect = 6250; in edid_print_info()
436 aspect = 7500; in edid_print_info()
439 aspect = 8000; in edid_print_info()
442 aspect = 5625; in edid_print_info()
446 y = x * aspect / 10000; in edid_print_info()
/openbmc/qemu/hw/display/
H A Dedid-generate.c100 uint32_t aspect; in edid_std_mode() local
108 aspect = 0; in edid_std_mode()
110 aspect = 1; in edid_std_mode()
112 aspect = 2; in edid_std_mode()
114 aspect = 3; in edid_std_mode()
124 mode[1] = ((aspect << 6) | (60 - 60)); in edid_std_mode()
366 did[11] = 0x88; /* leave aspect ratio undefined */ in qemu_displayid_generate()
/openbmc/linux/drivers/staging/media/meson/vdec/
H A Dvdec_helpers.h64 * amvdec_set_par_from_dar() - Set Pixel Aspect Ratio from Display Aspect Ratio
/openbmc/linux/drivers/media/i2c/adv748x/
H A Dadv748x-afe.c165 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()
H A Dadv748x-hdmi.c386 struct v4l2_fract *aspect) in adv748x_hdmi_g_pixelaspect() argument
388 aspect->numerator = 1; in adv748x_hdmi_g_pixelaspect()
389 aspect->denominator = 1; in adv748x_hdmi_g_pixelaspect()
538 /* Fall back to a 16:9 aspect ratio */ in adv748x_hdmi_set_edid()
739 /* Initialise a default 16:9 aspect ratio */ in adv748x_hdmi_init()
/openbmc/openbmc/meta-nuvoton/recipes-nuvoton/program-edid/program-edid/
H A Dedid.json4 "Aspect ratio (landscape)": null,
5 "Aspect ratio (portrait)": null,
/openbmc/linux/Documentation/fb/
H A Dmodedb.rst108 Also, GTF does not take into account the aspect ratio of the display.
129 a = aspect ratio (3 - 4:3; 4 - 5:4; 9 - 15:9, 16:9; A - 16:10)
136 - aspect ratio can only be one of the above values
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-aspectlib_2.0.0.bb4 SUMMARY = "An aspect-oriented programming, monkey-patch and decorators library."
/openbmc/linux/include/uapi/linux/dvb/
H A Dvideo.h127 video_format_t video_format; /* current aspect ratio of stream*/
142 /* 11-10 Aspect ratio (0=4:3, 3=16:9) */
/openbmc/linux/drivers/ps3/
H A Dps3av_cmd.c328 int aspect, u32 id) in ps3av_cmd_set_av_video_cs() argument
337 if (aspect == -1) in ps3av_cmd_set_av_video_cs()
338 aspect = 0; in ps3av_cmd_set_av_video_cs()
354 av_video_cs->aspect = aspect; in ps3av_cmd_set_av_video_cs()
/openbmc/linux/drivers/gpu/drm/i2c/
H A Dch7006_mode.c335 uint64_t scale, aspect; in ch7006_setup_properties() local
348 aspect = ch_mode->enc_hdisp*fixed1; in ch7006_setup_properties()
349 do_div(aspect, ch_mode->enc_vdisp); in ch7006_setup_properties()
351 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale) in ch7006_setup_properties()
/openbmc/linux/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget-uvc249 bAspectRatioY the X dimension of the picture aspect
251 bAspectRatioX the Y dimension of the picture aspect
305 bAspectRatioY the X dimension of the picture aspect
307 bAspectRatioX the Y dimension of the picture aspect

123456789