OSDN Git Service

DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master
[android-x86/external-minigbm.git] / drv.h
diff --git a/drv.h b/drv.h
index 876f13a..d27e845 100644 (file)
--- a/drv.h
+++ b/drv.h
@@ -37,6 +37,8 @@ extern "C" {
 #define BO_USE_CAMERA_READ             (1ull << 14)
 #define BO_USE_RENDERSCRIPT            (1ull << 16)
 #define BO_USE_TEXTURE                 (1ull << 17)
+#define BO_USE_HW_VIDEO_DECODER                (1ull << 18)
+
 
 /* Map flags */
 #define BO_MAP_NONE 0
@@ -50,7 +52,6 @@ extern "C" {
  */
 
 #define DRM_FORMAT_NONE                                fourcc_code('0', '0', '0', '0')
-#define DRM_FORMAT_XBGR16161616                        fourcc_code('9', '9', '9', '6')
 #define DRM_FORMAT_YVU420_ANDROID              fourcc_code('9', '9', '9', '7')
 #define DRM_FORMAT_FLEX_IMPLEMENTATION_DEFINED fourcc_code('9', '9', '9', '8')
 #define DRM_FORMAT_FLEX_YCbCr_420_888          fourcc_code('9', '9', '9', '9')
@@ -85,6 +86,7 @@ struct vma {
        uint32_t handle;
        uint32_t map_flags;
        int32_t refcount;
+       uint32_t map_strides[DRV_MAX_PLANES];
        void *priv;
 };