Mercurial > libavcodec.hg
comparison arm/simple_idct_arm.S @ 10374:a6ff6fb10ff5 libavcodec
ARM: make function names all-lowercase
author | mru |
---|---|
date | Tue, 06 Oct 2009 21:55:41 +0000 |
parents | 08573f5f587d |
children |
comparison
equal
deleted
inserted
replaced
10373:9a46f75a47ee | 10374:a6ff6fb10ff5 |
---|---|
54 #define COL_SHIFTED_1 524288 /* 1<< (COL_SHIFT-1) */ | 54 #define COL_SHIFTED_1 524288 /* 1<< (COL_SHIFT-1) */ |
55 | 55 |
56 | 56 |
57 .text | 57 .text |
58 | 58 |
59 function ff_simple_idct_ARM, export=1 | 59 function ff_simple_idct_arm, export=1 |
60 @@ void simple_idct_ARM(int16_t *block) | 60 @@ void simple_idct_arm(int16_t *block) |
61 @@ save stack for reg needed (take all of them), | 61 @@ save stack for reg needed (take all of them), |
62 @@ R0-R3 are scratch regs, so no need to save them, but R0 contains the pointer to block | 62 @@ R0-R3 are scratch regs, so no need to save them, but R0 contains the pointer to block |
63 @@ so it must not be overwritten, if it is not saved!! | 63 @@ so it must not be overwritten, if it is not saved!! |
64 @@ R12 is another scratch register, so it should not be saved too | 64 @@ R12 is another scratch register, so it should not be saved too |
65 @@ save all registers | 65 @@ save all registers |
456 bne __col_loop | 456 bne __col_loop |
457 | 457 |
458 | 458 |
459 | 459 |
460 | 460 |
461 __end_simple_idct_ARM: | 461 __end_simple_idct_arm: |
462 @@ restore registers to previous status! | 462 @@ restore registers to previous status! |
463 add sp, sp, #8 @@ the local variables! | 463 add sp, sp, #8 @@ the local variables! |
464 ldmfd sp!, {r4-r11, r15} @@ update PC with LR content. | 464 ldmfd sp!, {r4-r11, r15} @@ update PC with LR content. |
465 | 465 |
466 | 466 |