comparison 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
comparison
equal deleted inserted replaced
8206:5f399949a6a6 8207:2f35f9781c31
89 #ifndef ENABLE_H264_ENCODER 89 #ifndef ENABLE_H264_ENCODER
90 #define ENABLE_H264_ENCODER 0 90 #define ENABLE_H264_ENCODER 0
91 #endif 91 #endif
92 92
93 #define EXTENDED_SAR 255 93 #define EXTENDED_SAR 255
94
95 #define MB_TYPE_REF0 MB_TYPE_ACPRED //dirty but it fits in 16 bit
96 #define MB_TYPE_8x8DCT 0x01000000
97 #define IS_REF0(a) ((a) & MB_TYPE_REF0)
98 #define IS_8x8DCT(a) ((a) & MB_TYPE_8x8DCT)
94 99
95 /* NAL unit types */ 100 /* NAL unit types */
96 enum { 101 enum {
97 NAL_SLICE=1, 102 NAL_SLICE=1,
98 NAL_DPA, 103 NAL_DPA,