lavu: add CHK_OFFS as AV_CHECK_OFFSET to check struct member offsets
[ffmpeg.git] / libavcodec / arm / asm-offsets.h
index 4864a9b..fdc33ce 100644 (file)
 #ifndef AVCODEC_ARM_ASM_OFFSETS_H
 #define AVCODEC_ARM_ASM_OFFSETS_H
 
-#ifndef __ASSEMBLER__
-#include <stddef.h>
-#define CHK_OFFS(s, m, o) struct check_##o {    \
-        int x_##o[offsetof(s, m) == o? 1: -1];  \
-    }
-#endif
-
 /* MpegEncContext */
-#define Y_DC_SCALE               0xac
-#define C_DC_SCALE               0xb0
-#define AC_PRED                  0xb4
-#define BLOCK_LAST_INDEX         0xb8
-#define H263_AIC                 0xe8
-#define INTER_SCANTAB_RASTER_END 0x130
+#define Y_DC_SCALE               0xa8
+#define C_DC_SCALE               0xac
+#define AC_PRED                  0xb0
+#define BLOCK_LAST_INDEX         0xb4
+#define H263_AIC                 0xe4
+#define INTER_SCANTAB_RASTER_END 0x12c
 
 #endif /* AVCODEC_ARM_ASM_OFFSETS_H */