diff options
Diffstat (limited to 'bufferinfo/legacy/BufferInfoLibdrm.cpp')
-rw-r--r-- | bufferinfo/legacy/BufferInfoLibdrm.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bufferinfo/legacy/BufferInfoLibdrm.cpp b/bufferinfo/legacy/BufferInfoLibdrm.cpp index 4f942fe..6baf6bb 100644 --- a/bufferinfo/legacy/BufferInfoLibdrm.cpp +++ b/bufferinfo/legacy/BufferInfoLibdrm.cpp @@ -47,6 +47,11 @@ struct DroidYuvFormat { int fourcc; /* DRM_FORMAT_ */ }; +#ifndef DRM_FORMAT_XYUV8888 +#define DRM_FORMAT_XYUV8888 \ + fourcc_code('X', 'Y', 'U', 'V') /* [31:0] X:Y:Cb:Cr 8:8:8:8 little endian */ +#endif + /* The following table is used to look up a DRI image FourCC based * on native format and information contained in android_ycbcr struct. */ static const struct DroidYuvFormat kDroidYuvFormats[] = { |