OSDN Git Service

Remove implicit truncations from int to bit-field
[android-x86/hardware-intel-common-vaapi.git] / src / i965_fourcc.h
index 3a9f120..c440dcd 100644 (file)
 #define VA_FOURCC_YVY2 VA_FOURCC('Y','V','Y','2')
 #endif
 
+#ifndef VA_FOURCC_I010
+#define VA_FOURCC_I010 VA_FOURCC('I','0','1','0')
+#endif
+
 #define I965_MAX_PLANES         4
 #define I965_MAX_COMONENTS      4
 
@@ -42,7 +46,7 @@
 
 typedef struct {
     uint8_t plane;                      /* the plane which the pixel belongs to */
-    uint8_t offset;                     /* bits offset within a pixel in the plane */
+    uint8_t offset;                     /* bits offset within a macro-pixel for packed YUV formats or pixel for other formats in the plane */
 } i965_component_info;
 
 typedef struct {