All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats
@ 2012-03-30  2:54 Seung-Woo Kim
  2012-03-30 10:12 ` Ville Syrjälä
  0 siblings, 1 reply; 13+ messages in thread
From: Seung-Woo Kim @ 2012-03-30  2:54 UTC (permalink / raw)
  To: dri-devel; +Cc: inki.dae, kyungmin.park, sw0312.kim

Multi buffer plane pixel formats are added as like kernel header.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
---
 include/drm/drm_fourcc.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h
index 85facb0..7cfd95a 100644
--- a/include/drm/drm_fourcc.h
+++ b/include/drm/drm_fourcc.h
@@ -107,6 +107,10 @@
 #define DRM_FORMAT_NV16		fourcc_code('N', 'V', '1', '6') /* 2x1 subsampled Cr:Cb plane */
 #define DRM_FORMAT_NV61		fourcc_code('N', 'V', '6', '1') /* 2x1 subsampled Cb:Cr plane */
 
+/* 2 non contiguous plane YCbCr */
+#define DRM_FORMAT_NV12M	fourcc_code('N', 'M', '1', '2') /* 2x2 subsampled Cr:Cb plane */
+#define DRM_FORMAT_NV12MT	fourcc_code('T', 'M', '1', '2') /* 2x2 subsampled Cr:Cb plane 64x32 macroblocks */
+
 /*
  * 3 plane YCbCr
  * index 0: Y plane, [7:0] Y
@@ -127,4 +131,7 @@
 #define DRM_FORMAT_YUV444	fourcc_code('Y', 'U', '2', '4') /* non-subsampled Cb (1) and Cr (2) planes */
 #define DRM_FORMAT_YVU444	fourcc_code('Y', 'V', '2', '4') /* non-subsampled Cr (1) and Cb (2) planes */
 
+/* 3 non contiguous plane YCbCr */
+#define DRM_FORMAT_YUV420M	fourcc_code('Y', 'M', '1', '2') /* 2x2 subsampled Cb (1) and Cr (2) planes */
+
 #endif /* DRM_FOURCC_H */
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-04-07  6:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-30  2:54 [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to add multi plane formats Seung-Woo Kim
2012-03-30 10:12 ` Ville Syrjälä
2012-03-30 11:07   ` 김승우
2012-03-30 12:13     ` Ville Syrjälä
2012-03-30 11:09   ` Marcus Lorentzon
2012-04-06 20:04     ` Sylwester Nawrocki
2012-04-05 18:13   ` Ville Syrjälä
2012-04-06  0:13     ` Rob Clark
2012-04-06  6:05     ` Inki Dae
2012-04-06  7:43       ` Ville Syrjälä
2012-04-06  9:22         ` Kyungmin Park
2012-04-06 11:22           ` Sylwester Nawrocki
2012-04-07  6:01         ` daeinki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.