| OLD | NEW | 
|---|
| 1 @ This file was created from a .asm file | 1 @ This file was created from a .asm file | 
| 2 @  using the ads2gas.pl script. | 2 @  using the ads2gas.pl script. | 
| 3         .equ DO1STROUNDING, 0 | 3         .equ DO1STROUNDING, 0 | 
| 4 @ | 4 @ | 
| 5 @  Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 5 @  Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 
| 6 @ | 6 @ | 
| 7 @  Use of this source code is governed by a BSD-style license | 7 @  Use of this source code is governed by a BSD-style license | 
| 8 @  that can be found in the LICENSE file in the root of the source | 8 @  that can be found in the LICENSE file in the root of the source | 
| 9 @  tree. An additional intellectual property rights grant can be found | 9 @  tree. An additional intellectual property rights grant can be found | 
| 10 @  in the file PATENTS.  All contributing project authors may | 10 @  in the file PATENTS.  All contributing project authors may | 
| 11 @  be found in the AUTHORS file in the root of the source tree. | 11 @  be found in the AUTHORS file in the root of the source tree. | 
| 12 @ | 12 @ | 
| 13 | 13 | 
| 14 | 14 | 
| 15     .global vp8_yv12_copy_frame_yonly_neon | 15     .global vp8_yv12_copy_frame_yonly_neon | 
| 16         .type vp8_yv12_copy_frame_yonly_neon, function | 16         .type vp8_yv12_copy_frame_yonly_neon, function | 
| 17     .global vp8_yv12_copy_frame_yonly_no_extend_frame_borders_neon | 17     .global vp8_yv12_copy_frame_yonly_no_extend_frame_borders_neon | 
| 18         .type vp8_yv12_copy_frame_yonly_no_extend_frame_borders_neon, function | 18         .type vp8_yv12_copy_frame_yonly_no_extend_frame_borders_neon, function | 
| 19 | 19 | 
| 20    @ ARM | 20    @ ARM | 
| 21    @ | 21    @ | 
| 22    @ PRESERVE8 | 22    @ PRESERVE8 | 
| 23 | 23 | 
| 24     .include  "asm_com_offsets.asm" | 24     .include  "asm_com_offsets.asm" | 
| 25 | 25 | 
| 26 .text | 26 .text | 
|  | 27 .p2align 2 | 
| 27 @void vpxyv12_copy_frame_yonly(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *
     dst_ybc)@ | 28 @void vpxyv12_copy_frame_yonly(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *
     dst_ybc)@ | 
| 28 @ Note: this is VP8 function, which has border=32 and 16. Internal y_width and y
     _height | 29 @ Note: this is VP8 function, which has border=32 and 16. Internal y_width and y
     _height | 
| 29 @ are always multiples of 16. | 30 @ are always multiples of 16. | 
| 30 | 31 | 
| 31 _vp8_yv12_copy_frame_yonly_neon: | 32 _vp8_yv12_copy_frame_yonly_neon: | 
| 32 »       vp8_yv12_copy_frame_yonly_neon:@ | 33 »       vp8_yv12_copy_frame_yonly_neon: @ PROC | 
| 33     push            {r4 - r11, lr} | 34     push            {r4 - r11, lr} | 
| 34     vpush           {d8 - d15} | 35     vpush           {d8 - d15} | 
| 35 | 36 | 
| 36     ldr             r4, [r0, #yv12_buffer_config_y_height] | 37     ldr             r4, [r0, #yv12_buffer_config_y_height] | 
| 37     ldr             r5, [r0, #yv12_buffer_config_y_width] | 38     ldr             r5, [r0, #yv12_buffer_config_y_width] | 
| 38     ldr             r6, [r0, #yv12_buffer_config_y_stride] | 39     ldr             r6, [r0, #yv12_buffer_config_y_stride] | 
| 39     ldr             r7, [r1, #yv12_buffer_config_y_stride] | 40     ldr             r7, [r1, #yv12_buffer_config_y_stride] | 
| 40     ldr             r2, [r0, #yv12_buffer_config_y_buffer]       @srcptr1 | 41     ldr             r2, [r0, #yv12_buffer_config_y_buffer]       @srcptr1 | 
| 41     ldr             r3, [r1, #yv12_buffer_config_y_buffer]       @dstptr1 | 42     ldr             r3, [r1, #yv12_buffer_config_y_buffer]       @dstptr1 | 
| 42 | 43 | 
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 394 | 395 | 
| 395     subs            lr, lr, #1 | 396     subs            lr, lr, #1 | 
| 396 | 397 | 
| 397     add             r2, r2, r6, lsl #1 | 398     add             r2, r2, r6, lsl #1 | 
| 398     add             r3, r3, r7, lsl #1 | 399     add             r3, r3, r7, lsl #1 | 
| 399 | 400 | 
| 400     bne             extra_cp_src_to_dst_height_loop | 401     bne             extra_cp_src_to_dst_height_loop | 
| 401 | 402 | 
| 402     b               end_of_cp_src_to_dst | 403     b               end_of_cp_src_to_dst | 
| 403 | 404 | 
| 404    @ | 405 »       .size vp8_yv12_copy_frame_yonly_neon, .-vp8_yv12_copy_frame_yonly_neon  
       @ ENDP | 
| 405 | 406 | 
| 406 @=========================================================== | 407 @=========================================================== | 
| 407 @In vp8cx_pick_filter_level(), call vp8_yv12_copy_frame_yonly | 408 @In vp8cx_pick_filter_level(), call vp8_yv12_copy_frame_yonly | 
| 408 @without extend_frame_borders. | 409 @without extend_frame_borders. | 
| 409 _vp8_yv12_copy_frame_yonly_no_extend_frame_borders_neon: | 410 _vp8_yv12_copy_frame_yonly_no_extend_frame_borders_neon: | 
| 410 »       vp8_yv12_copy_frame_yonly_no_extend_frame_borders_neon:@ | 411 »       vp8_yv12_copy_frame_yonly_no_extend_frame_borders_neon: @ PROC | 
| 411     push            {r4 - r11, lr} | 412     push            {r4 - r11, lr} | 
| 412     vpush           {d8-d15} | 413     vpush           {d8-d15} | 
| 413 | 414 | 
| 414     ldr             r4, [r0, #yv12_buffer_config_y_height] | 415     ldr             r4, [r0, #yv12_buffer_config_y_height] | 
| 415     ldr             r5, [r0, #yv12_buffer_config_y_width] | 416     ldr             r5, [r0, #yv12_buffer_config_y_width] | 
| 416     ldr             r6, [r0, #yv12_buffer_config_y_stride] | 417     ldr             r6, [r0, #yv12_buffer_config_y_stride] | 
| 417     ldr             r7, [r1, #yv12_buffer_config_y_stride] | 418     ldr             r7, [r1, #yv12_buffer_config_y_stride] | 
| 418     ldr             r2, [r0, #yv12_buffer_config_y_buffer]       @srcptr1 | 419     ldr             r2, [r0, #yv12_buffer_config_y_buffer]       @srcptr1 | 
| 419     ldr             r3, [r1, #yv12_buffer_config_y_buffer]       @dstptr1 | 420     ldr             r3, [r1, #yv12_buffer_config_y_buffer]       @dstptr1 | 
| 420 | 421 | 
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 495 | 496 | 
| 496     subs            lr, lr, #1 | 497     subs            lr, lr, #1 | 
| 497 | 498 | 
| 498     add             r2, r2, r6, lsl #1 | 499     add             r2, r2, r6, lsl #1 | 
| 499     add             r3, r3, r7, lsl #1 | 500     add             r3, r3, r7, lsl #1 | 
| 500 | 501 | 
| 501     bne             extra_cp_src_to_dst_height_loop1 | 502     bne             extra_cp_src_to_dst_height_loop1 | 
| 502 | 503 | 
| 503     b               end_of_cp_src_to_dst1 | 504     b               end_of_cp_src_to_dst1 | 
| 504 | 505 | 
| 505    @ | 506 »       .size vp8_yv12_copy_frame_yonly_no_extend_frame_borders_neon, .-vp8_yv12
     _copy_frame_yonly_no_extend_frame_borders_neon    @ ENDP | 
| 506 | 507 | 
|  | 508         .section        .note.GNU-stack,"",%progbits | 
| OLD | NEW | 
|---|