00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef AVCODEC_ARM_ASM_OFFSETS_H
00022 #define AVCODEC_ARM_ASM_OFFSETS_H
00023
00024 #ifndef __ASSEMBLER__
00025 #include <stddef.h>
00026 #define CHK_OFFS(s, m, o) struct check_##o { \
00027 int x_##o[offsetof(s, m) == o? 1: -1]; \
00028 }
00029 #endif
00030
00031
00032 #if defined(__ARM_EABI__) || defined(__eabi__)
00033 #define Y_DC_SCALE 0xab4
00034 #define C_DC_SCALE 0xab8
00035 #define AC_PRED 0xae0
00036 #define BLOCK_LAST_INDEX 0x21c0
00037 #define INTER_SCANTAB_RASTER_END 0x23c0
00038 #define H263_AIC 0x2670
00039 #elif defined(__APPLE__)
00040 #define Y_DC_SCALE 0xa70
00041 #define C_DC_SCALE 0xa74
00042 #define AC_PRED 0xa9c
00043 #define BLOCK_LAST_INDEX 0x217c
00044 #define INTER_SCANTAB_RASTER_END 0x237c
00045 #define H263_AIC 0x2620
00046 #endif
00047
00048 #endif