summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>2019-01-18 17:51:11 +0300
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-01-18 21:00:06 +0300
commit41c8c210a2b4ba8b1b532cdba7ff0112ef76abb2 (patch)
tree343ea6f0723ff9ee392b8c5e4ca079a61ce8300a /tools
parent076338400db88a70958b39d3dd5754c92a8539e4 (diff)
downloadlinux-41c8c210a2b4ba8b1b532cdba7ff0112ef76abb2.tar.xz
drm/fourcc: Add format info helpers for checking YUV planes disposition
It is often useful to check whether the DRM format info retrieved from the DRM framebuffer matches a specific YUV planes disposition. This introduces helpers to quickly check that a provided format info matches a YUV format with a specific disposition, in commonly-used terminology. The intent of providing helpers taking the format info instead of the fourcc alone is to avoid the overhead of iterating through all formats when the whole format info structure is available. As a result, these helpers are very simple so they are made inline. Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Reviewed-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-2-paul.kocialkowski@bootlin.com
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions