| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 mov r4d, dword hm | 126 mov r4d, dword hm |
| 127 lea r5q, [src_strideq*3] | 127 lea r5q, [src_strideq*3] |
| 128 lea r6q, [dst_strideq*3] | 128 lea r6q, [dst_strideq*3] |
| 129 .loop4: | 129 .loop4: |
| 130 movh m0, [srcq] | 130 movh m0, [srcq] |
| 131 movh m1, [srcq+src_strideq] | 131 movh m1, [srcq+src_strideq] |
| 132 movh m2, [srcq+src_strideq*2] | 132 movh m2, [srcq+src_strideq*2] |
| 133 movh m3, [srcq+r5q] | 133 movh m3, [srcq+r5q] |
| 134 lea srcq, [srcq+src_strideq*4] | 134 lea srcq, [srcq+src_strideq*4] |
| 135 %ifidn %1, avg | 135 %ifidn %1, avg |
| 136 pavgb m0, [dstq] | 136 movh m4, [dstq] |
| 137 pavgb m1, [dstq+dst_strideq] | 137 movh m5, [dstq+dst_strideq] |
| 138 pavgb m2, [dstq+dst_strideq*2] | 138 movh m6, [dstq+dst_strideq*2] |
| 139 pavgb m3, [dstq+r6q] | 139 movh m7, [dstq+r6q] |
| 140 pavgb m0, m4 |
| 141 pavgb m1, m5 |
| 142 pavgb m2, m6 |
| 143 pavgb m3, m7 |
| 140 %endif | 144 %endif |
| 141 movh [dstq ], m0 | 145 movh [dstq ], m0 |
| 142 movh [dstq+dst_strideq ], m1 | 146 movh [dstq+dst_strideq ], m1 |
| 143 movh [dstq+dst_strideq*2], m2 | 147 movh [dstq+dst_strideq*2], m2 |
| 144 movh [dstq+r6q ], m3 | 148 movh [dstq+r6q ], m3 |
| 145 lea dstq, [dstq+dst_strideq*4] | 149 lea dstq, [dstq+dst_strideq*4] |
| 146 sub r4d, 4 | 150 sub r4d, 4 |
| 147 jnz .loop4 | 151 jnz .loop4 |
| 148 RET | 152 RET |
| 149 %endmacro | 153 %endmacro |
| 150 | 154 |
| 151 convolve_fn copy | 155 convolve_fn copy |
| 152 convolve_fn avg | 156 convolve_fn avg |
| OLD | NEW |