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 #ifndef MEDIA_BASE_SIMD_FILTER_YUV_H_ | 5 #ifndef MEDIA_BASE_SIMD_FILTER_YUV_H_ |
6 #define MEDIA_BASE_SIMD_FILTER_YUV_H_ | 6 #define MEDIA_BASE_SIMD_FILTER_YUV_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "media/base/media_export.h" | |
9 | 10 |
10 namespace media { | 11 namespace media { |
Ami GONE FROM CHROMIUM
2013/05/18 02:22:04
ditto comment about doco'ing this is ForTesting
| |
11 | 12 |
12 typedef void (*FilterYUVRowsProc)(uint8*, | 13 typedef void (*FilterYUVRowsProc)(uint8*, const uint8*, const uint8*, int, int); |
Ami GONE FROM CHROMIUM
2013/05/18 02:22:04
Could live in the .cc file?
DaleCurtis
2013/05/23 23:43:23
Moved all typedef's into yuv_convert.cc.
| |
13 const uint8*, | |
14 const uint8*, | |
15 int, | |
16 int); | |
17 | 14 |
18 void FilterYUVRows_C(uint8* ybuf, const uint8* y0_ptr, const uint8* y1_ptr, | 15 MEDIA_EXPORT void FilterYUVRows_C(uint8* ybuf, |
19 int source_width, int source_y_fraction); | 16 const uint8* y0_ptr, |
17 const uint8* y1_ptr, | |
18 int source_width, | |
19 int source_y_fraction); | |
20 | 20 |
21 void FilterYUVRows_MMX(uint8* ybuf, const uint8* y0_ptr, const uint8* y1_ptr, | 21 MEDIA_EXPORT void FilterYUVRows_MMX(uint8* ybuf, |
22 int source_width, int source_y_fraction); | 22 const uint8* y0_ptr, |
23 const uint8* y1_ptr, | |
24 int source_width, | |
25 int source_y_fraction); | |
23 | 26 |
24 void FilterYUVRows_SSE2(uint8* ybuf, const uint8* y0_ptr, const uint8* y1_ptr, | 27 MEDIA_EXPORT void FilterYUVRows_SSE2(uint8* ybuf, |
25 int source_width, int source_y_fraction); | 28 const uint8* y0_ptr, |
29 const uint8* y1_ptr, | |
30 int source_width, | |
31 int source_y_fraction); | |
26 | 32 |
27 } // namespace media | 33 } // namespace media |
28 | 34 |
29 #endif // MEDIA_BASE_SIMD_FILTER_YUV_H_ | 35 #endif // MEDIA_BASE_SIMD_FILTER_YUV_H_ |
OLD | NEW |