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 ; void LinearScaleYUVToRGB32Row_MMX(const uint8* y_buf, | 16 ; void LinearScaleYUVToRGB32Row_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 ; uint8* rgb_buf, | 19 ; uint8_t* rgb_buf, |
20 ; ptrdiff_t width, | 20 ; ptrdiff_t width, |
21 ; ptrdiff_t source_dx); | 21 ; ptrdiff_t source_dx); |
22 ; const int16* convert_table); | 22 ; const int16_t* convert_table); |
23 %define SYMBOL LinearScaleYUVToRGB32Row_MMX | 23 %define SYMBOL LinearScaleYUVToRGB32Row_MMX |
24 %include "linear_scale_yuv_to_rgb_mmx.inc" | 24 %include "linear_scale_yuv_to_rgb_mmx.inc" |
OLD | NEW |