| 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_bilinear_predict16x16_neon| | 12 EXPORT |vp8_bilinear_predict16x16_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 ; r0 unsigned char *src_ptr, | 18 ; r0 unsigned char *src_ptr, |
| 19 ; r1 int src_pixels_per_line, | 19 ; r1 int src_pixels_per_line, |
| 20 ; r2 int xoffset, | 20 ; r2 int xoffset, |
| 21 ; r3 int yoffset, | 21 ; r3 int yoffset, |
| 22 ; r4 unsigned char *dst_ptr, | 22 ; r4 unsigned char *dst_ptr, |
| 23 ; stack(r5) int dst_pitch | 23 ; stack(r5) int dst_pitch |
| 24 | 24 |
| 25 |vp8_bilinear_predict16x16_neon| PROC | 25 |vp8_bilinear_predict16x16_neon| PROC |
| 26 push {r4-r5, lr} | 26 push {r4-r5, lr} |
| 27 | 27 |
| 28 ldr r12, _bifilter16_coeff_ | 28 adr r12, bifilter16_coeff |
| 29 ldr r4, [sp, #12] ;load parameters from stack | 29 ldr r4, [sp, #12] ;load parameters from stack |
| 30 ldr r5, [sp, #16] ;load parameters from stack | 30 ldr r5, [sp, #16] ;load parameters from stack |
| 31 | 31 |
| 32 cmp r2, #0 ;skip first_pass filter if xoffset=0 | 32 cmp r2, #0 ;skip first_pass filter if xoffset=0 |
| 33 beq secondpass_bfilter16x16_only | 33 beq secondpass_bfilter16x16_only |
| 34 | 34 |
| 35 add r2, r12, r2, lsl #3 ;calculate filter location | 35 add r2, r12, r2, lsl #3 ;calculate filter location |
| 36 | 36 |
| 37 cmp r3, #0 ;skip second_pass filter if yoffset=
0 | 37 cmp r3, #0 ;skip second_pass filter if yoffset=
0 |
| 38 | 38 |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 vst1.u8 {d6, d7}, [r4], r5 | 344 vst1.u8 {d6, d7}, [r4], r5 |
| 345 vst1.u8 {d8, d9}, [r4], r5 | 345 vst1.u8 {d8, d9}, [r4], r5 |
| 346 | 346 |
| 347 bne filt_blk2d_spo16x16_loop_neon | 347 bne filt_blk2d_spo16x16_loop_neon |
| 348 pop {r4-r5,pc} | 348 pop {r4-r5,pc} |
| 349 | 349 |
| 350 ENDP | 350 ENDP |
| 351 | 351 |
| 352 ;----------------- | 352 ;----------------- |
| 353 | 353 |
| 354 _bifilter16_coeff_ | |
| 355 DCD bifilter16_coeff | |
| 356 bifilter16_coeff | 354 bifilter16_coeff |
| 357 DCD 128, 0, 112, 16, 96, 32, 80, 48, 64, 64, 48, 80, 32, 96, 16, 112 | 355 DCD 128, 0, 112, 16, 96, 32, 80, 48, 64, 64, 48, 80, 32, 96, 16, 112 |
| 358 | 356 |
| 359 END | 357 END |
| OLD | NEW |