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

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

Issue 15151002: Streamline SIMD targets in media.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add Win64 hack. 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
« no previous file with comments | « media/base/simd/filter_yuv.h ('k') | media/base/simd/linear_scale_yuv_to_rgb_mmx_x64.asm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 %include "media/base/simd/media_export.asm"
6
7 EXPORT SYMBOL
6 align function_align 8 align function_align
7 9
8 mangle(SYMBOL): 10 mangle(SYMBOL):
9 %assign stack_offset 0 11 %assign stack_offset 0
10 12
11 extern mangle(kCoefficientsRgbY) 13 extern mangle(kCoefficientsRgbY)
12 14
13 ; Parameters are in the following order: 15 ; Parameters are in the following order:
14 ; 1. Y plane 16 ; 1. Y plane
15 ; 2. U plane 17 ; 2. U plane
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 EPILOGUE 159 EPILOGUE
158 RET 160 RET
159 161
160 .lscalelastpixel: 162 .lscalelastpixel:
161 paddsw mm1, mm0 163 paddsw mm1, mm0
162 psraw mm1, 6 164 psraw mm1, 6
163 packuswb mm1, mm1 165 packuswb mm1, mm1
164 movd [ARGBq], mm1 166 movd [ARGBq], mm1
165 EPILOGUE 167 EPILOGUE
166 RET 168 RET
OLDNEW
« no previous file with comments | « media/base/simd/filter_yuv.h ('k') | media/base/simd/linear_scale_yuv_to_rgb_mmx_x64.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698