video: tegra: dc: expose new color formats
Antoine Chauveau [Sun, 30 Jun 2013 00:18:01 +0000 (17:18 -0700)]
Expose new planar and semi-planar color formats.
These formats have already been added to dc.h.

Bug 1311740

Change-Id: I26be6148acbacaadf8525e24e7d30bcd93eaf7b4
Signed-off-by: Antoine Chauveau <achauveau@nvidia.com>
Reviewed-on: http://git-master/r/243704
Tested-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

include/video/tegra_dc_ext.h

index 06ad144..d2a79a1 100644 (file)
 #define TEGRA_DC_EXT_FMT_YUV422R       23
 #define TEGRA_DC_EXT_FMT_YCbCr422RA    24
 #define TEGRA_DC_EXT_FMT_YUV422RA      25
+#define TEGRA_DC_EXT_FMT_YCbCr444P     41
+#define TEGRA_DC_EXT_FMT_YUV444P       52
+#define TEGRA_DC_EXT_FMT_YCrCb420SP    42
+#define TEGRA_DC_EXT_FMT_YCbCr420SP    43
+#define TEGRA_DC_EXT_FMT_YCrCb422SP    44
+#define TEGRA_DC_EXT_FMT_YCbCr422SP    45
+#define TEGRA_DC_EXT_FMT_YVU420SP      53
+#define TEGRA_DC_EXT_FMT_YUV420SP      54
+#define TEGRA_DC_EXT_FMT_YVU422SP      55
+#define TEGRA_DC_EXT_FMT_YUV422SP      56
+#define TEGRA_DC_EXT_FMT_YVU444SP      59
+#define TEGRA_DC_EXT_FMT_YUV444SP      60
 /* color format type field is 8-bits */
 #define TEGRA_DC_EXT_FMT_SHIFT         0
 #define TEGRA_DC_EXT_FMT_MASK          (0xff << TEGRA_DC_EXT_FMT_SHIFT)