ARM: struct offsets for Apple ABI
authorMåns Rullgård <mans@mansr.com>
Wed, 2 Jun 2010 22:41:32 +0000 (22:41 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 2 Jun 2010 22:41:32 +0000 (22:41 +0000)
Originally committed as revision 23438 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/arm/asm-offsets.h

index c0cfb27..43e638d 100644 (file)
 #endif
 
 /* MpegEncContext */
+#ifdef __ARM_EABI__
 #define Y_DC_SCALE               0xa54
 #define C_DC_SCALE               0xa58
 #define AC_PRED                  0xa80
 #define BLOCK_LAST_INDEX         0x2278
 #define INTER_SCANTAB_RASTER_END 0x2478
 #define H263_AIC                 0x2728
+#elif defined(__APPLE__)
+#define Y_DC_SCALE               0xa30
+#define C_DC_SCALE               0xa34
+#define AC_PRED                  0xa5c
+#define BLOCK_LAST_INDEX         0x2254
+#define INTER_SCANTAB_RASTER_END 0x2454
+#define H263_AIC                 0x26f8
+#endif
 
 #endif