| 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 %include "third_party/x86inc/x86inc.asm" | 5 %include "third_party/x86inc/x86inc.asm" |
| 6 | 6 |
| 7 ; | 7 ; |
| 8 ; This file uses MMX and SSE instructions. | 8 ; This file uses MMX and SSE instructions. |
| 9 ; | 9 ; |
| 10 SECTION_TEXT | 10 SECTION_TEXT |
| 11 CPU MMX, SSE | 11 CPU MMX, SSE |
| 12 | 12 |
| 13 ; Use SSE instruction movntq can write faster. | 13 ; Use SSE instruction movntq can write faster. |
| 14 %define MOVQ movntq | 14 %define MOVQ movntq |
| 15 | 15 |
| 16 ; | 16 ; |
| 17 ; extern "C" void ConvertYUVToRGB32Row_SSE(const uint8* y_buf, | 17 ; extern "C" void ConvertYUVToRGB32Row_SSE(const uint8_t* y_buf, |
| 18 ; const uint8* u_buf, | 18 ; const uint8_t* u_buf, |
| 19 ; const uint8* v_buf, | 19 ; const uint8_t* v_buf, |
| 20 ; uint8* rgb_buf, | 20 ; uint8_t* rgb_buf, |
| 21 ; ptrdiff_t width); | 21 ; ptrdiff_t width); |
| 22 ; const int16* convert_table); | 22 ; const int16_t* convert_table); |
| 23 %define SYMBOL ConvertYUVToRGB32Row_SSE | 23 %define SYMBOL ConvertYUVToRGB32Row_SSE |
| 24 %include "convert_yuv_to_rgb_mmx.inc" | 24 %include "convert_yuv_to_rgb_mmx.inc" |
| OLD | NEW |