Mercurial > libavcodec.hg
comparison arm/dsputil_neon.S @ 11807:659f16d04776 libavcodec
ARM: NEON clear_block[s]
author | mru |
---|---|
date | Tue, 01 Jun 2010 17:21:16 +0000 |
parents | 361a5fcb4393 |
children |
comparison
equal
deleted
inserted
replaced
11806:8d8ca3eb8389 | 11807:659f16d04776 |
---|---|
22 #include "config.h" | 22 #include "config.h" |
23 #include "asm.S" | 23 #include "asm.S" |
24 | 24 |
25 preserve8 | 25 preserve8 |
26 .text | 26 .text |
27 | |
28 function ff_clear_block_neon, export=1 | |
29 vmov.i16 q0, #0 | |
30 .rept 8 | |
31 vst1.16 {q0}, [r0,:128]! | |
32 .endr | |
33 bx lr | |
34 endfunc | |
35 | |
36 function ff_clear_blocks_neon, export=1 | |
37 vmov.i16 q0, #0 | |
38 .rept 8*6 | |
39 vst1.16 {q0}, [r0,:128]! | |
40 .endr | |
41 bx lr | |
42 endfunc | |
27 | 43 |
28 .macro pixels16 avg=0 | 44 .macro pixels16 avg=0 |
29 .if \avg | 45 .if \avg |
30 mov ip, r0 | 46 mov ip, r0 |
31 .endif | 47 .endif |