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 %include "vpx_ports/x86_abi_support.asm" | 12 %include "vpx_ports/x86_abi_support.asm" |
13 | 13 |
14 ; void vp8_temporal_filter_apply_sse2 | arg | 14 ; void vp8_temporal_filter_apply_sse2 | arg |
15 ; (unsigned char *frame1, | 0 | 15 ; (unsigned char *frame1, | 0 |
16 ; unsigned int stride, | 1 | 16 ; unsigned int stride, | 1 |
17 ; unsigned char *frame2, | 2 | 17 ; unsigned char *frame2, | 2 |
18 ; unsigned int block_size, | 3 | 18 ; unsigned int block_size, | 3 |
19 ; int strength, | 4 | 19 ; int strength, | 4 |
20 ; int filter_weight, | 5 | 20 ; int filter_weight, | 5 |
21 ; unsigned int *accumulator, | 6 | 21 ; unsigned int *accumulator, | 6 |
22 ; unsigned short *count) | 7 | 22 ; unsigned short *count) | 7 |
23 global sym(vp8_temporal_filter_apply_sse2) | 23 global sym(vp8_temporal_filter_apply_sse2) PRIVATE |
24 sym(vp8_temporal_filter_apply_sse2): | 24 sym(vp8_temporal_filter_apply_sse2): |
25 | 25 |
26 push rbp | 26 push rbp |
27 mov rbp, rsp | 27 mov rbp, rsp |
28 SHADOW_ARGS_TO_STACK 8 | 28 SHADOW_ARGS_TO_STACK 8 |
29 SAVE_XMM | 29 SAVE_XMM |
30 GET_GOT rbx | 30 GET_GOT rbx |
31 push rsi | 31 push rsi |
32 push rdi | 32 push rdi |
33 ALIGN_STACK 16, rax | 33 ALIGN_STACK 16, rax |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 SECTION_RODATA | 198 SECTION_RODATA |
199 align 16 | 199 align 16 |
200 _const_3w: | 200 _const_3w: |
201 times 8 dw 3 | 201 times 8 dw 3 |
202 align 16 | 202 align 16 |
203 _const_top_bit: | 203 _const_top_bit: |
204 times 8 dw 1<<15 | 204 times 8 dw 1<<15 |
205 align 16 | 205 align 16 |
206 _const_16w | 206 _const_16w |
207 times 8 dw 16 | 207 times 8 dw 16 |
OLD | NEW |