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

Side by Side Diff: media/base/simd/convert_yuva_to_argb_mmx.inc

Issue 15151002: Streamline SIMD targets in media.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix exports. Created 7 years, 7 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 ; Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 ; Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 ; Use of this source code is governed by a BSD-style license that can be 2 ; Use of this source code is governed by a BSD-style license that can be
3 ; found in the LICENSE file. 3 ; found in the LICENSE file.
4 4
5 global mangle(SYMBOL) PRIVATE 5 EXPORT SYMBOL
6 align function_align 6 align function_align
7 7
8 ; Non-PIC code is the fastest so use this if possible. 8 ; Non-PIC code is the fastest so use this if possible.
9 %ifndef PIC 9 %ifndef PIC
10 mangle(SYMBOL): 10 mangle(SYMBOL):
11 %assign stack_offset 0 11 %assign stack_offset 0
12 PROLOGUE 6, 7, 3, Y, U, V, A, ARGB, WIDTH, TEMP 12 PROLOGUE 6, 7, 3, Y, U, V, A, ARGB, WIDTH, TEMP
13 extern mangle(kCoefficientsRgbY) 13 extern mangle(kCoefficientsRgbY)
14 jmp .convertend 14 jmp .convertend
15 15
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 pmullw mm1, mm0 165 pmullw mm1, mm0
166 psrlw mm1, 8 166 psrlw mm1, 8
167 packuswb mm1, mm1 167 packuswb mm1, mm1
168 168
169 movd [ARGBq], mm1 169 movd [ARGBq], mm1
170 170
171 .convertdone: 171 .convertdone:
172 POP TABLEq 172 POP TABLEq
173 RET 173 RET
174 %endif 174 %endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698