From c0f8ee0fd73ad4f672855a0b083155172fe20c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Wed, 2 Jun 2010 22:41:32 +0000 Subject: [PATCH] ARM: struct offsets for Apple ABI Originally committed as revision 23438 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/arm/asm-offsets.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libavcodec/arm/asm-offsets.h b/libavcodec/arm/asm-offsets.h index c0cfb276f1..43e638d3a5 100644 --- a/libavcodec/arm/asm-offsets.h +++ b/libavcodec/arm/asm-offsets.h @@ -29,11 +29,20 @@ #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