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 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 ; this copies the last row down into the border 8 rows | 54 ; this copies the last row down into the border 8 rows |
55 mov rdi, rsi | 55 mov rdi, rsi |
56 mov rdx, arg(2) | 56 mov rdx, arg(2) |
57 sub rdx, 9 | 57 sub rdx, 9 |
58 imul rdx, rax | 58 imul rdx, rax |
59 lea rdi, [rdi+rdx] | 59 lea rdi, [rdi+rdx] |
60 movq mm1, QWORD ptr[rdi] ; first row | 60 movq mm1, QWORD ptr[rdi] ; first row |
61 mov rcx, 8 | 61 mov rcx, 8 |
62 .init_borderd ; initialize bo
rders | 62 .init_borderd ; initialize bo
rders |
63 lea rdi, [rdi + rax] | 63 lea rdi, [rdi + rax] |
64 movq [rdi], xmm1 | 64 movq [rdi], mm1 |
65 | 65 |
66 dec rcx | 66 dec rcx |
67 jne .init_borderd | 67 jne .init_borderd |
68 | 68 |
69 neg rax ; rax = -pitch | 69 neg rax ; rax = -pitch |
70 | 70 |
71 ; this copies the first row up into the border 8 rows | 71 ; this copies the first row up into the border 8 rows |
72 mov rdi, rsi | 72 mov rdi, rsi |
73 movq mm1, QWORD ptr[rdi] ; first row | 73 movq mm1, QWORD ptr[rdi] ; first row |
74 mov rcx, 8 | 74 mov rcx, 8 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 push rax | 186 push rax |
187 lea rax, [GLOBAL(sym(vp8_rv))] | 187 lea rax, [GLOBAL(sym(vp8_rv))] |
188 movq mm4, [rax + rcx*2] ;vp8_rv[rcx*2] | 188 movq mm4, [rax + rcx*2] ;vp8_rv[rcx*2] |
189 pop rax | 189 pop rax |
190 %elif ABI_IS_32BIT=0 | 190 %elif ABI_IS_32BIT=0 |
191 movq mm4, [r8 + rcx*2] ;vp8_rv[rcx*2] | 191 movq mm4, [r8 + rcx*2] ;vp8_rv[rcx*2] |
192 %else | 192 %else |
193 movq mm4, [sym(vp8_rv) + rcx*2] | 193 movq mm4, [sym(vp8_rv) + rcx*2] |
194 %endif | 194 %endif |
195 paddw mm1, mm4 | 195 paddw mm1, mm4 |
196 ;paddw xmm1, eight8s | |
197 psraw mm1, 4 | 196 psraw mm1, 4 |
198 | 197 |
199 packuswb mm1, mm0 | 198 packuswb mm1, mm0 |
200 pand mm1, mm3 | 199 pand mm1, mm3 |
201 | 200 |
202 pandn mm3, mm2 | 201 pandn mm3, mm2 |
203 por mm1, mm3 | 202 por mm1, mm3 |
204 | 203 |
205 and rcx, 15 | 204 and rcx, 15 |
206 movd DWORD PTR [rsp+rcx*4], mm1 ;d[rcx*4] | 205 movd DWORD PTR [rsp+rcx*4], mm1 ;d[rcx*4] |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 SECTION_RODATA | 304 SECTION_RODATA |
306 align 16 | 305 align 16 |
307 Blur: | 306 Blur: |
308 times 16 dw 16 | 307 times 16 dw 16 |
309 times 8 dw 64 | 308 times 8 dw 64 |
310 times 16 dw 16 | 309 times 16 dw 16 |
311 times 8 dw 0 | 310 times 8 dw 0 |
312 | 311 |
313 rd: | 312 rd: |
314 times 4 dw 0x40 | 313 times 4 dw 0x40 |
OLD | NEW |