comparison arm/asm-offsets.h @ 11818:fd38b5438c26 libavcodec

ARM: struct offsets for Apple ABI
author mru
date Wed, 02 Jun 2010 22:41:32 +0000
parents fda5ab5d31bb
children 7c0b1b1593d6
comparison
equal deleted inserted replaced
11817:21566c95834c 11818:fd38b5438c26
27 int x_##o[offsetof(s, m) == o? 1: -1]; \ 27 int x_##o[offsetof(s, m) == o? 1: -1]; \
28 } 28 }
29 #endif 29 #endif
30 30
31 /* MpegEncContext */ 31 /* MpegEncContext */
32 #ifdef __ARM_EABI__
32 #define Y_DC_SCALE 0xa54 33 #define Y_DC_SCALE 0xa54
33 #define C_DC_SCALE 0xa58 34 #define C_DC_SCALE 0xa58
34 #define AC_PRED 0xa80 35 #define AC_PRED 0xa80
35 #define BLOCK_LAST_INDEX 0x2278 36 #define BLOCK_LAST_INDEX 0x2278
36 #define INTER_SCANTAB_RASTER_END 0x2478 37 #define INTER_SCANTAB_RASTER_END 0x2478
37 #define H263_AIC 0x2728 38 #define H263_AIC 0x2728
39 #elif defined(__APPLE__)
40 #define Y_DC_SCALE 0xa30
41 #define C_DC_SCALE 0xa34
42 #define AC_PRED 0xa5c
43 #define BLOCK_LAST_INDEX 0x2254
44 #define INTER_SCANTAB_RASTER_END 0x2454
45 #define H263_AIC 0x26f8
46 #endif
38 47
39 #endif 48 #endif