Mercurial > libavcodec.hg
comparison arm/mpegvideo_neon.S @ 11813:fda5ab5d31bb libavcodec
ARM: fail build if hardcoded struct offsets are wrong
author | mru |
---|---|
date | Wed, 02 Jun 2010 18:49:53 +0000 |
parents | 77243f47f39e |
children |
comparison
equal
deleted
inserted
replaced
11812:b7d5e6078e04 | 11813:fda5ab5d31bb |
---|---|
17 * License along with FFmpeg; if not, write to the Free Software | 17 * License along with FFmpeg; if not, write to the Free Software |
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 */ | 19 */ |
20 | 20 |
21 #include "asm.S" | 21 #include "asm.S" |
22 | 22 #include "asm-offsets.h" |
23 #define Y_DC_SCALE 0xa54 | |
24 #define C_DC_SCALE 0xa58 | |
25 #define AC_PRED 0xa80 | |
26 #define BLOCK_LAST_INDEX 0x2278 | |
27 #define INTER_SCANTAB_RASTER_END 0x2478 | |
28 #define H263_AIC 0x2728 | |
29 | 23 |
30 function ff_dct_unquantize_h263_inter_neon, export=1 | 24 function ff_dct_unquantize_h263_inter_neon, export=1 |
31 add r0, r0, #0x2200 | 25 add r0, r0, #0x2200 |
32 add r12, r0, #BLOCK_LAST_INDEX-0x2200 | 26 add r12, r0, #BLOCK_LAST_INDEX-0x2200 |
33 ldr r12, [r12, r2, lsl #2] | 27 ldr r12, [r12, r2, lsl #2] |