diff options
author | Steve Longerbeam <slongerbeam@gmail.com> | 2014-06-25 21:05:38 -0400 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2014-09-02 08:55:47 -0400 |
commit | 4cea940d34319fb5d5e2f4d554e23f766c228e90 (patch) | |
tree | 5d5a443941cedd219c01fc58c8af4504fd98a771 /include/video/imx-ipu-v3.h | |
parent | f835f386a119c3f78f5acb93e86a4f025211739a (diff) |
gpu: ipu-v3: Add helper function checking if pixfmt is planar
Add simple helper function returning true if passed pixel format is one
of supported planar ones.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include/video/imx-ipu-v3.h')
-rw-r--r-- | include/video/imx-ipu-v3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/imx-ipu-v3.h b/include/video/imx-ipu-v3.h index 3562698528bd..ecb01f843aee 100644 --- a/include/video/imx-ipu-v3.h +++ b/include/video/imx-ipu-v3.h | |||
@@ -301,6 +301,7 @@ int ipu_smfc_set_watermark(struct ipu_smfc *smfc, u32 set_level, u32 clr_level); | |||
301 | enum ipu_color_space ipu_drm_fourcc_to_colorspace(u32 drm_fourcc); | 301 | enum ipu_color_space ipu_drm_fourcc_to_colorspace(u32 drm_fourcc); |
302 | enum ipu_color_space ipu_pixelformat_to_colorspace(u32 pixelformat); | 302 | enum ipu_color_space ipu_pixelformat_to_colorspace(u32 pixelformat); |
303 | enum ipu_color_space ipu_mbus_code_to_colorspace(u32 mbus_code); | 303 | enum ipu_color_space ipu_mbus_code_to_colorspace(u32 mbus_code); |
304 | bool ipu_pixelformat_is_planar(u32 pixelformat); | ||
304 | int ipu_degrees_to_rot_mode(enum ipu_rotate_mode *mode, int degrees, | 305 | int ipu_degrees_to_rot_mode(enum ipu_rotate_mode *mode, int degrees, |
305 | bool hflip, bool vflip); | 306 | bool hflip, bool vflip); |
306 | int ipu_rot_mode_to_degrees(int *degrees, enum ipu_rotate_mode mode, | 307 | int ipu_rot_mode_to_degrees(int *degrees, enum ipu_rotate_mode mode, |