aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/drm_fourcc.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>2019-01-18 15:51:20 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-01-18 19:17:16 +0100
commit8c8152bf4db6ce1b603ebf2b001baa2e6094287c (patch)
treeaf96292753d2c3d6010bf673f1b999aafed4b461 /include/uapi/drm/drm_fourcc.h
parentdrm/sun4i: frontend: Add support for semi-planar YUV input formats (diff)
downloadlinux-dev-8c8152bf4db6ce1b603ebf2b001baa2e6094287c.tar.xz
linux-dev-8c8152bf4db6ce1b603ebf2b001baa2e6094287c.zip
drm/sun4i: frontend: Add support for planar YUV input formats
Planar YUV formats come with 3 distinct planes, which requires configuring the frontend line stride and address registers for the third plane. Our hardware only supports the YUV planes order and in order to support formats with a YVU plane order, a helper is introduced to indicate whether to invert the address of the two chroma planes. Missing definitions for YUV411 and YUV444 input format configuration are also introduced as support is added for these formats. For the input sequence part, no configuration is required for planar YUV formats so zero is returned in that case. Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190118145133.21281-11-paul.kocialkowski@bootlin.com
Diffstat (limited to 'include/uapi/drm/drm_fourcc.h')
0 files changed, 0 insertions, 0 deletions