Searched refs:aspect (Results 1 - 19 of 19) sorted by relevance

/linux-master/tools/testing/selftests/powerpc/dexcr/
H A Dlsdexcr.c87 static void print_aspect(const struct dexcr_aspect *aspect) argument
93 mask = DEXCR_PR_BIT(aspect->index);
101 printf("%12s %c (%d): ", aspect->name, effective & mask ? '*' : ' ', aspect->index);
103 printf(" \t(%s)\n", aspect->desc);
H A Ddexcr.h16 #define DEXCR_PR_BIT(aspect) __MASK(63 - (32 + (aspect)))
/linux-master/drivers/video/fbdev/core/
H A Dfbcvt.c192 u32 aspect = -1; local
195 aspect = 0;
197 aspect = 1;
199 aspect = 2;
201 aspect = 3;
203 aspect = 4;
207 aspect = 7;
211 return aspect;
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c368 pr_info("%s: picture aspect (hor:vert): %u:%u\n", dev_prefix,
697 * @aspect - preferred aspect ratio. GTF has no method of determining the
698 * aspect ratio in order to derive the image width from the
700 * the native screen aspect ratio is used for this. If it
713 struct v4l2_fract aspect,
746 if (aspect.numerator == 0 || aspect.denominator == 0) {
747 aspect.numerator = 16;
748 aspect
708 v4l2_detect_gtf(unsigned frame_height, unsigned hfreq, unsigned vsync, u32 polarities, bool interlaced, struct v4l2_fract aspect, struct v4l2_dv_timings *fmt) argument
831 struct v4l2_fract aspect = { 16, 9 }; local
[all...]
/linux-master/include/media/
H A Dv4l2-dv-timings.h168 * @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.
197 * v4l2_dv_timings_aspect_ratio - calculate the aspect ratio based on the
H A Dv4l2-ioctl.h498 int buf_type, struct v4l2_fract *aspect);
H A Dv4l2-subdev.h492 int (*g_pixelaspect)(struct v4l2_subdev *sd, struct v4l2_fract *aspect);
/linux-master/drivers/media/platform/st/sti/hva/
H A Dhva-debugfs.c19 u32 bitrate_mode, aspect, entropy, vui_sar, sei_fp; local
45 aspect = V4L2_CID_MPEG_VIDEO_ASPECT;
50 " | |- video aspect=%s\n"
55 v4l2_ctrl_get_menu(aspect)[ctrls->aspect],
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 in struct:hva_controls
H A Dhva-v4l2.c633 ctx->ctrls.aspect = ctrl->val;
/linux-master/drivers/media/i2c/adv748x/
H A Dadv748x-afe.c165 struct v4l2_fract *aspect)
170 aspect->numerator = 11;
171 aspect->denominator = 10;
173 aspect->numerator = 54;
174 aspect->denominator = 59;
164 adv748x_afe_g_pixelaspect(struct v4l2_subdev *sd, struct v4l2_fract *aspect) argument
H A Dadv748x-hdmi.c386 struct v4l2_fract *aspect)
388 aspect->numerator = 1;
389 aspect->denominator = 1;
538 /* Fall back to a 16:9 aspect ratio */
739 /* Initialise a default 16:9 aspect ratio */
385 adv748x_hdmi_g_pixelaspect(struct v4l2_subdev *sd, struct v4l2_fract *aspect) argument
/linux-master/drivers/gpu/drm/i2c/
H A Dch7006_mode.c335 uint64_t scale, aspect; local
348 aspect = ch_mode->enc_hdisp*fixed1;
349 do_div(aspect, ch_mode->enc_vdisp);
351 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale)
/linux-master/drivers/ps3/
H A Dps3av_cmd.c328 int aspect, u32 id)
337 if (aspect == -1)
338 aspect = 0;
354 av_video_cs->aspect = aspect;
327 ps3av_cmd_set_av_video_cs(void *p, u32 avport, int video_vid, int cs_out, int aspect, u32 id) argument
H A Dps3av.c58 /* aspect */
65 u32 aspect; member in struct:avset_video_mode
516 video_mode->aspect, id);
/linux-master/drivers/media/i2c/
H A Dadv7180.c866 static int adv7180_g_pixelaspect(struct v4l2_subdev *sd, struct v4l2_fract *aspect) argument
871 aspect->numerator = 11;
872 aspect->denominator = 10;
874 aspect->numerator = 54;
875 aspect->denominator = 59;
/linux-master/arch/powerpc/include/asm/
H A Dps3av.h266 /* aspect */
455 u8 aspect; /* in: aspect ratio */ member in struct:ps3av_pkt_av_video_cs
/linux-master/arch/m68k/fpsp040/
H A Dbugfix.S185 | Test the register conflict aspect. If opclass0, check for
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c3904 enum dc_aspect_ratio aspect = ASPECT_RATIO_NO_DATA; local
3998 /* TODO: un-hardcode aspect ratio */
3999 aspect = stream->timing.aspect_ratio;
4001 switch (aspect) {
4004 hdmi_info.bits.M0_M1 = aspect;

Completed in 198 milliseconds