Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(688)

Side by Side Diff: source/libvpx/vp9/common/x86/vp9_copy_sse2.asm

Issue 232133009: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_systemdependent.h ('k') | source/libvpx/vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698