diff options
author | Steve Longerbeam <slongerbeam@gmail.com> | 2014-06-25 18:05:36 -0700 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2014-09-02 14:55:45 +0200 |
commit | ae0e9708b30b3eebe5a58e4d055eb49a73d641dd (patch) | |
tree | 481633a20ef82599178bd97b963ca55bce7ad2a6 /include | |
parent | a2be35e3320b27c84488729e9fb56a62e74d65fa (diff) | |
download | linux-ae0e9708b30b3eebe5a58e4d055eb49a73d641dd.tar.gz linux-ae0e9708b30b3eebe5a58e4d055eb49a73d641dd.tar.bz2 linux-ae0e9708b30b3eebe5a58e4d055eb49a73d641dd.zip |
gpu: ipu-v3: Add ipu_mbus_code_to_colorspace()
Add ipu_mbus_code_to_colorspace() to find ipu_color_space from a
media bus pixel format code.
Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include')
-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 49e5954ac033..7c97ccaf39f6 100644 --- a/include/video/imx-ipu-v3.h +++ b/include/video/imx-ipu-v3.h @@ -300,6 +300,7 @@ int ipu_smfc_set_watermark(struct ipu_smfc *smfc, u32 set_level, u32 clr_level); enum ipu_color_space ipu_drm_fourcc_to_colorspace(u32 drm_fourcc); enum ipu_color_space ipu_pixelformat_to_colorspace(u32 pixelformat); +enum ipu_color_space ipu_mbus_code_to_colorspace(u32 mbus_code); struct ipu_client_platformdata { int csi; |