ilo: hook up pipe context query functions
[mesa.git] / src / gallium / auxiliary / vl / vl_defines.h
index 7568db027e6be9191b973d2620d7e3e8f0957d10..6f20706c647d07cf58a01386498c06bcf6aa4228 100644 (file)
 #define vl_defines_h
 
 /* constants usually used with all known codecs */
-#define MACROBLOCK_WIDTH 16
-#define MACROBLOCK_HEIGHT 16
+#define VL_MACROBLOCK_WIDTH 16
+#define VL_MACROBLOCK_HEIGHT 16
 
-#define BLOCK_WIDTH 8
-#define BLOCK_HEIGHT 8
+#define VL_BLOCK_WIDTH 8
+#define VL_BLOCK_HEIGHT 8
 
-#define VL_MAX_PLANES 3
+#define VL_NUM_COMPONENTS 3
+#define VL_MAX_SURFACES (VL_NUM_COMPONENTS * 2)
 #define VL_MAX_REF_FRAMES 2
 
 #endif