| OLD | NEW |
| 1 ; | 1 ; |
| 2 ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 ; | 3 ; |
| 4 ; Use of this source code is governed by a BSD-style license | 4 ; Use of this source code is governed by a BSD-style license |
| 5 ; that can be found in the LICENSE file in the root of the source | 5 ; that can be found in the LICENSE file in the root of the source |
| 6 ; tree. An additional intellectual property rights grant can be found | 6 ; tree. An additional intellectual property rights grant can be found |
| 7 ; in the file PATENTS. All contributing project authors may | 7 ; in the file PATENTS. All contributing project authors may |
| 8 ; be found in the AUTHORS file in the root of the source tree. | 8 ; be found in the AUTHORS file in the root of the source tree. |
| 9 ; | 9 ; |
| 10 | 10 |
| 11 | 11 |
| 12 EXPORT |vp8_sixtap_predict8x4_neon| | 12 EXPORT |vp8_sixtap_predict8x4_neon| |
| 13 ARM | 13 ARM |
| 14 REQUIRE8 | 14 REQUIRE8 |
| 15 PRESERVE8 | 15 PRESERVE8 |
| 16 | 16 |
| 17 AREA ||.text||, CODE, READONLY, ALIGN=2 | 17 AREA ||.text||, CODE, READONLY, ALIGN=2 |
| 18 |
| 19 filter8_coeff |
| 20 DCD 0, 0, 128, 0, 0, 0, 0, 0 |
| 21 DCD 0, -6, 123, 12, -1, 0, 0, 0 |
| 22 DCD 2, -11, 108, 36, -8, 1, 0, 0 |
| 23 DCD 0, -9, 93, 50, -6, 0, 0, 0 |
| 24 DCD 3, -16, 77, 77, -16, 3, 0, 0 |
| 25 DCD 0, -6, 50, 93, -9, 0, 0, 0 |
| 26 DCD 1, -8, 36, 108, -11, 2, 0, 0 |
| 27 DCD 0, -1, 12, 123, -6, 0, 0, 0 |
| 28 |
| 18 ; r0 unsigned char *src_ptr, | 29 ; r0 unsigned char *src_ptr, |
| 19 ; r1 int src_pixels_per_line, | 30 ; r1 int src_pixels_per_line, |
| 20 ; r2 int xoffset, | 31 ; r2 int xoffset, |
| 21 ; r3 int yoffset, | 32 ; r3 int yoffset, |
| 22 ; r4 unsigned char *dst_ptr, | 33 ; r4 unsigned char *dst_ptr, |
| 23 ; stack(r5) int dst_pitch | 34 ; stack(r5) int dst_pitch |
| 24 | 35 |
| 25 |vp8_sixtap_predict8x4_neon| PROC | 36 |vp8_sixtap_predict8x4_neon| PROC |
| 26 push {r4-r5, lr} | 37 push {r4-r5, lr} |
| 27 | 38 |
| 28 ldr r12, _filter8_coeff_ | 39 adr r12, filter8_coeff |
| 29 ldr r4, [sp, #12] ;load parameters from stack | 40 ldr r4, [sp, #12] ;load parameters from stack |
| 30 ldr r5, [sp, #16] ;load parameters from stack | 41 ldr r5, [sp, #16] ;load parameters from stack |
| 31 | 42 |
| 32 cmp r2, #0 ;skip first_pass filter if xoffset=0 | 43 cmp r2, #0 ;skip first_pass filter if xoffset=0 |
| 33 beq secondpass_filter8x4_only | 44 beq secondpass_filter8x4_only |
| 34 | 45 |
| 35 add r2, r12, r2, lsl #5 ;calculate filter location | 46 add r2, r12, r2, lsl #5 ;calculate filter location |
| 36 | 47 |
| 37 cmp r3, #0 ;skip second_pass filter if yoffset=
0 | 48 cmp r3, #0 ;skip second_pass filter if yoffset=
0 |
| 38 | 49 |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 vst1.u8 {d7}, [r4], r5 | 463 vst1.u8 {d7}, [r4], r5 |
| 453 vst1.u8 {d8}, [r4], r5 | 464 vst1.u8 {d8}, [r4], r5 |
| 454 vst1.u8 {d9}, [r4], r5 | 465 vst1.u8 {d9}, [r4], r5 |
| 455 | 466 |
| 456 pop {r4-r5,pc} | 467 pop {r4-r5,pc} |
| 457 | 468 |
| 458 ENDP | 469 ENDP |
| 459 | 470 |
| 460 ;----------------- | 471 ;----------------- |
| 461 | 472 |
| 462 _filter8_coeff_ | |
| 463 DCD filter8_coeff | |
| 464 filter8_coeff | |
| 465 DCD 0, 0, 128, 0, 0, 0, 0, 0 | |
| 466 DCD 0, -6, 123, 12, -1, 0, 0, 0 | |
| 467 DCD 2, -11, 108, 36, -8, 1, 0, 0 | |
| 468 DCD 0, -9, 93, 50, -6, 0, 0, 0 | |
| 469 DCD 3, -16, 77, 77, -16, 3, 0, 0 | |
| 470 DCD 0, -6, 50, 93, -9, 0, 0, 0 | |
| 471 DCD 1, -8, 36, 108, -11, 2, 0, 0 | |
| 472 DCD 0, -1, 12, 123, -6, 0, 0, 0 | |
| 473 | |
| 474 END | 473 END |
| OLD | NEW |