OLD | NEW |
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 mangle(SYMBOL): | 8 mangle(SYMBOL): |
9 %assign stack_offset 0 | 9 %assign stack_offset 0 |
10 | 10 |
11 extern mangle(kCoefficientsRgbY) | 11 extern mangle(kCoefficientsRgbY) |
12 | 12 |
13 ; Parameters are in the following order: | 13 ; Parameters are in the following order: |
14 ; 1. Y plane | 14 ; 1. Y plane |
15 ; 2. U plane | 15 ; 2. U plane |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 EPILOGUE | 157 EPILOGUE |
158 RET | 158 RET |
159 | 159 |
160 .lscalelastpixel: | 160 .lscalelastpixel: |
161 paddsw mm1, mm0 | 161 paddsw mm1, mm0 |
162 psraw mm1, 6 | 162 psraw mm1, 6 |
163 packuswb mm1, mm1 | 163 packuswb mm1, mm1 |
164 movd [ARGBq], mm1 | 164 movd [ARGBq], mm1 |
165 EPILOGUE | 165 EPILOGUE |
166 RET | 166 RET |
OLD | NEW |