diff h264.h @ 8207:2f35f9781c31 libavcodec

Move #defines that are mostly used in h264.c out of h264data.h and into h264.h.
author diego
date Mon, 24 Nov 2008 16:08:21 +0000
parents e61f76efc9f3
children add1a0d65370
line wrap: on
line diff
--- a/h264.h	Mon Nov 24 15:53:16 2008 +0000
+++ b/h264.h	Mon Nov 24 16:08:21 2008 +0000
@@ -92,6 +92,11 @@
 
 #define EXTENDED_SAR          255
 
+#define MB_TYPE_REF0       MB_TYPE_ACPRED //dirty but it fits in 16 bit
+#define MB_TYPE_8x8DCT     0x01000000
+#define IS_REF0(a)         ((a) & MB_TYPE_REF0)
+#define IS_8x8DCT(a)       ((a) & MB_TYPE_8x8DCT)
+
 /* NAL unit types */
 enum {
     NAL_SLICE=1,