summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>2016-04-27 15:00:54 -0700
committerKristian Høgsberg Kristensen <krh@bitplanet.net>2016-05-24 10:14:57 -0700
commit2bb935be2e9f503a9d8ee88aebff782ec3473f70 (patch)
treea672615d0df5ec6b9034c730c63d8b01f63633c7 /include
parent1be1114e6b977ef70cc8bba9485adbaace4ecde4 (diff)
downloadexternal_mesa3d-2bb935be2e9f503a9d8ee88aebff782ec3473f70.zip
external_mesa3d-2bb935be2e9f503a9d8ee88aebff782ec3473f70.tar.gz
external_mesa3d-2bb935be2e9f503a9d8ee88aebff782ec3473f70.tar.bz2
dri: Add YVU formats
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/GL/internal/dri_interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index 5cf34a4..4008658 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -1163,6 +1163,11 @@ struct __DRIdri2ExtensionRec {
#define __DRI_IMAGE_FOURCC_NV16 0x3631564e
#define __DRI_IMAGE_FOURCC_YUYV 0x56595559
+#define __DRI_IMAGE_FOURCC_YVU410 0x39555659
+#define __DRI_IMAGE_FOURCC_YVU411 0x31315659
+#define __DRI_IMAGE_FOURCC_YVU420 0x32315659
+#define __DRI_IMAGE_FOURCC_YVU422 0x36315659
+#define __DRI_IMAGE_FOURCC_YVU444 0x34325659
/**
* Queryable on images created by createImageFromNames.