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
3 // found in the LICENSE file.
5 #ifndef MEDIA_BASE_SIMD_CONVERT_RGB_TO_YUV_H_
6 #define MEDIA_BASE_SIMD_CONVERT_RGB_TO_YUV_H_
8 #include "base/basictypes.h"
9 #include "media/base/yuv_convert.h"
13 // These methods are exported for testing purposes only. Library users should
14 // only call the methods listed in yuv_convert.h.
16 MEDIA_EXPORT
void ConvertRGB32ToYUV_SSSE3(const uint8
* rgbframe
,
26 MEDIA_EXPORT
void ConvertRGB24ToYUV_SSSE3(const uint8
* rgbframe
,
36 MEDIA_EXPORT
void ConvertRGB32ToYUV_SSE2(const uint8
* rgbframe
,
46 MEDIA_EXPORT
void ConvertRGB32ToYUV_SSE2_Reference(const uint8
* rgbframe
,
56 MEDIA_EXPORT
void ConvertRGB32ToYUV_C(const uint8
* rgbframe
,
66 MEDIA_EXPORT
void ConvertRGB24ToYUV_C(const uint8
* rgbframe
,
78 #endif // MEDIA_BASE_SIMD_CONVERT_RGB_TO_YUV_H_