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 instructions. | 8 ; This file uses MMX instructions. |
9 ; | 9 ; |
10 SECTION_TEXT | 10 SECTION_TEXT |
11 CPU MMX | 11 CPU MMX |
12 | 12 |
13 ; Use movq to save the output. | 13 ; Use movq to save the output. |
14 %define MOVQ movq | 14 %define MOVQ movq |
15 | 15 |
16 ; extern "C" void ConvertYUVAToARGBRow_MMX(const uint8* y_buf, | 16 ; extern "C" void ConvertYUVAToARGBRow_MMX(const uint8_t* y_buf, |
17 ; const uint8* u_buf, | 17 ; const uint8_t* u_buf, |
18 ; const uint8* v_buf, | 18 ; const uint8_t* v_buf, |
19 ; const uint8* a_buf, | 19 ; const uint8_t* a_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 ConvertYUVAToARGBRow_MMX | 23 %define SYMBOL ConvertYUVAToARGBRow_MMX |
24 %include "convert_yuva_to_argb_mmx.inc" | 24 %include "convert_yuva_to_argb_mmx.inc" |
OLD | NEW |