Mercurial > libavcodec.hg
comparison arm/dsputil_arm.S @ 10363:08573f5f587d libavcodec
ARM: add ff_ prefix to lots of functions
author | mru |
---|---|
date | Sun, 04 Oct 2009 13:13:12 +0000 |
parents | b72bb442a775 |
children | e1cddc20418c |
comparison
equal
deleted
inserted
replaced
10362:838b42ccd65e | 10363:08573f5f587d |
---|---|
101 b 4f | 101 b 4f |
102 .endm | 102 .endm |
103 | 103 |
104 @ ---------------------------------------------------------------- | 104 @ ---------------------------------------------------------------- |
105 .align 5 | 105 .align 5 |
106 function put_pixels16_arm, export=1 | 106 function ff_put_pixels16_arm, export=1 |
107 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) | 107 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) |
108 @ block = word aligned, pixles = unaligned | 108 @ block = word aligned, pixles = unaligned |
109 pld [r1] | 109 pld [r1] |
110 push {r4-r11, lr} | 110 push {r4-r11, lr} |
111 JMP_ALIGN r5, r1 | 111 JMP_ALIGN r5, r1 |
153 pop {r4-r11,pc} | 153 pop {r4-r11,pc} |
154 .endfunc | 154 .endfunc |
155 | 155 |
156 @ ---------------------------------------------------------------- | 156 @ ---------------------------------------------------------------- |
157 .align 5 | 157 .align 5 |
158 function put_pixels8_arm, export=1 | 158 function ff_put_pixels8_arm, export=1 |
159 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) | 159 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) |
160 @ block = word aligned, pixles = unaligned | 160 @ block = word aligned, pixles = unaligned |
161 pld [r1] | 161 pld [r1] |
162 push {r4-r5,lr} | 162 push {r4-r5,lr} |
163 JMP_ALIGN r5, r1 | 163 JMP_ALIGN r5, r1 |
205 pop {r4-r5,pc} | 205 pop {r4-r5,pc} |
206 .endfunc | 206 .endfunc |
207 | 207 |
208 @ ---------------------------------------------------------------- | 208 @ ---------------------------------------------------------------- |
209 .align 5 | 209 .align 5 |
210 function put_pixels8_x2_arm, export=1 | 210 function ff_put_pixels8_x2_arm, export=1 |
211 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) | 211 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) |
212 @ block = word aligned, pixles = unaligned | 212 @ block = word aligned, pixles = unaligned |
213 pld [r1] | 213 pld [r1] |
214 push {r4-r10,lr} | 214 push {r4-r10,lr} |
215 ldr r12, =0xfefefefe | 215 ldr r12, =0xfefefefe |
264 bne 4b | 264 bne 4b |
265 pop {r4-r10,pc} | 265 pop {r4-r10,pc} |
266 .endfunc | 266 .endfunc |
267 | 267 |
268 .align 5 | 268 .align 5 |
269 function put_no_rnd_pixels8_x2_arm, export=1 | 269 function ff_put_no_rnd_pixels8_x2_arm, export=1 |
270 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) | 270 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) |
271 @ block = word aligned, pixles = unaligned | 271 @ block = word aligned, pixles = unaligned |
272 pld [r1] | 272 pld [r1] |
273 push {r4-r10,lr} | 273 push {r4-r10,lr} |
274 ldr r12, =0xfefefefe | 274 ldr r12, =0xfefefefe |
325 .endfunc | 325 .endfunc |
326 | 326 |
327 | 327 |
328 @ ---------------------------------------------------------------- | 328 @ ---------------------------------------------------------------- |
329 .align 5 | 329 .align 5 |
330 function put_pixels8_y2_arm, export=1 | 330 function ff_put_pixels8_y2_arm, export=1 |
331 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) | 331 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) |
332 @ block = word aligned, pixles = unaligned | 332 @ block = word aligned, pixles = unaligned |
333 pld [r1] | 333 pld [r1] |
334 push {r4-r11,lr} | 334 push {r4-r11,lr} |
335 mov r3, r3, lsr #1 | 335 mov r3, r3, lsr #1 |
423 bne 6b | 423 bne 6b |
424 pop {r4-r11,pc} | 424 pop {r4-r11,pc} |
425 .endfunc | 425 .endfunc |
426 | 426 |
427 .align 5 | 427 .align 5 |
428 function put_no_rnd_pixels8_y2_arm, export=1 | 428 function ff_put_no_rnd_pixels8_y2_arm, export=1 |
429 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) | 429 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) |
430 @ block = word aligned, pixles = unaligned | 430 @ block = word aligned, pixles = unaligned |
431 pld [r1] | 431 pld [r1] |
432 push {r4-r11,lr} | 432 push {r4-r11,lr} |
433 mov r3, r3, lsr #1 | 433 mov r3, r3, lsr #1 |
588 bge 6b | 588 bge 6b |
589 pop {r4-r11,pc} | 589 pop {r4-r11,pc} |
590 .endm | 590 .endm |
591 | 591 |
592 .align 5 | 592 .align 5 |
593 function put_pixels8_xy2_arm, export=1 | 593 function ff_put_pixels8_xy2_arm, export=1 |
594 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) | 594 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) |
595 @ block = word aligned, pixles = unaligned | 595 @ block = word aligned, pixles = unaligned |
596 pld [r1] | 596 pld [r1] |
597 push {r4-r11,lr} @ R14 is also called LR | 597 push {r4-r11,lr} @ R14 is also called LR |
598 JMP_ALIGN r5, r1 | 598 JMP_ALIGN r5, r1 |
611 4: | 611 4: |
612 RND_XY2_EXPAND 3, lsl | 612 RND_XY2_EXPAND 3, lsl |
613 .endfunc | 613 .endfunc |
614 | 614 |
615 .align 5 | 615 .align 5 |
616 function put_no_rnd_pixels8_xy2_arm, export=1 | 616 function ff_put_no_rnd_pixels8_xy2_arm, export=1 |
617 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) | 617 @ void func(uint8_t *block, const uint8_t *pixels, int line_size, int h) |
618 @ block = word aligned, pixles = unaligned | 618 @ block = word aligned, pixles = unaligned |
619 pld [r1] | 619 pld [r1] |
620 push {r4-r11,lr} | 620 push {r4-r11,lr} |
621 JMP_ALIGN r5, r1 | 621 JMP_ALIGN r5, r1 |