| 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 <stdint.h> |
| 9 |
| 9 #include "media/base/media_export.h" | 10 #include "media/base/media_export.h" |
| 10 | 11 |
| 11 namespace media { | 12 namespace media { |
| 12 | 13 |
| 13 // These methods are exported for testing purposes only. Library users should | 14 // These methods are exported for testing purposes only. Library users should |
| 14 // only call the methods listed in yuv_convert.h. | 15 // only call the methods listed in yuv_convert.h. |
| 15 | 16 |
| 16 MEDIA_EXPORT void FilterYUVRows_C(uint8* ybuf, | 17 MEDIA_EXPORT void FilterYUVRows_C(uint8_t* ybuf, |
| 17 const uint8* y0_ptr, | 18 const uint8_t* y0_ptr, |
| 18 const uint8* y1_ptr, | 19 const uint8_t* y1_ptr, |
| 19 int source_width, | 20 int source_width, |
| 20 uint8 source_y_fraction); | 21 uint8_t source_y_fraction); |
| 21 | 22 |
| 22 MEDIA_EXPORT void FilterYUVRows_SSE2(uint8* ybuf, | 23 MEDIA_EXPORT void FilterYUVRows_SSE2(uint8_t* ybuf, |
| 23 const uint8* y0_ptr, | 24 const uint8_t* y0_ptr, |
| 24 const uint8* y1_ptr, | 25 const uint8_t* y1_ptr, |
| 25 int source_width, | 26 int source_width, |
| 26 uint8 source_y_fraction); | 27 uint8_t source_y_fraction); |
| 27 | 28 |
| 28 } // namespace media | 29 } // namespace media |
| 29 | 30 |
| 30 #endif // MEDIA_BASE_SIMD_FILTER_YUV_H_ | 31 #endif // MEDIA_BASE_SIMD_FILTER_YUV_H_ |
| OLD | NEW |