| 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_predict8x8_neon| | 12 EXPORT |vp8_sixtap_predict8x8_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 ; stack(r4) unsigned char *dst_ptr, | 33 ; stack(r4) unsigned char *dst_ptr, |
| 23 ; stack(r5) int dst_pitch | 34 ; stack(r5) int dst_pitch |
| 24 | 35 |
| 25 |vp8_sixtap_predict8x8_neon| PROC | 36 |vp8_sixtap_predict8x8_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 | 40 |
| 30 ldr r4, [sp, #12] ;load parameters from stack | 41 ldr r4, [sp, #12] ;load parameters from stack |
| 31 ldr r5, [sp, #16] ;load parameters from stack | 42 ldr r5, [sp, #16] ;load parameters from stack |
| 32 | 43 |
| 33 cmp r2, #0 ;skip first_pass filter if xoffset=0 | 44 cmp r2, #0 ;skip first_pass filter if xoffset=0 |
| 34 beq secondpass_filter8x8_only | 45 beq secondpass_filter8x8_only |
| 35 | 46 |
| 36 add r2, r12, r2, lsl #5 ;calculate filter location | 47 add r2, r12, r2, lsl #5 ;calculate filter location |
| 37 | 48 |
| 38 cmp r3, #0 ;skip second_pass filter if yoffset=
0 | 49 cmp r3, #0 ;skip second_pass filter if yoffset=
0 |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 vmov d26, d30 | 514 vmov d26, d30 |
| 504 | 515 |
| 505 bne filt_blk2d_spo8x8_loop_neon | 516 bne filt_blk2d_spo8x8_loop_neon |
| 506 | 517 |
| 507 pop {r4-r5,pc} | 518 pop {r4-r5,pc} |
| 508 | 519 |
| 509 ENDP | 520 ENDP |
| 510 | 521 |
| 511 ;----------------- | 522 ;----------------- |
| 512 | 523 |
| 513 _filter8_coeff_ | |
| 514 DCD filter8_coeff | |
| 515 filter8_coeff | |
| 516 DCD 0, 0, 128, 0, 0, 0, 0, 0 | |
| 517 DCD 0, -6, 123, 12, -1, 0, 0, 0 | |
| 518 DCD 2, -11, 108, 36, -8, 1, 0, 0 | |
| 519 DCD 0, -9, 93, 50, -6, 0, 0, 0 | |
| 520 DCD 3, -16, 77, 77, -16, 3, 0, 0 | |
| 521 DCD 0, -6, 50, 93, -9, 0, 0, 0 | |
| 522 DCD 1, -8, 36, 108, -11, 2, 0, 0 | |
| 523 DCD 0, -1, 12, 123, -6, 0, 0, 0 | |
| 524 | |
| 525 END | 524 END |
| OLD | NEW |