Chromium Code Reviews| Index: media/base/simd/yuv_convert.h |
| =================================================================== |
| --- media/base/simd/yuv_convert.h (revision 0) |
| +++ media/base/simd/yuv_convert.h (revision 0) |
| @@ -0,0 +1,59 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef MEDIA_BASE_SIMD_YUV_CONVERT_H_ |
| +#define MEDIA_BASE_SIMD_YUV_CONVERT_H_ |
| + |
| +#include "base/basictypes.h" |
| +#include "media/base/yuv_convert.h" |
| + |
| +namespace media { |
| +namespace simd { |
|
Alpha Left Google
2011/08/22 14:16:59
I'd put them in yuv_convert_internal.h and name th
|
| + |
| +void ConvertRGB32toYUV(const uint8* rgbframe, |
|
Alpha Left Google
2011/08/22 14:16:59
Add a _SSE2 suffix.
|
| + uint8* yplane, |
| + uint8* uplane, |
| + uint8* vplane, |
| + int width, |
| + int height, |
| + int rgbstride, |
| + int ystride, |
| + int uvstride); |
| + |
| +void ConvertRGB24toYUV(const uint8* rgbframe, |
|
Alpha Left Google
2011/08/22 14:16:59
Add a _SSE2 suffix.
|
| + uint8* yplane, |
| + uint8* uplane, |
| + uint8* vplane, |
| + int width, |
| + int height, |
| + int rgbstride, |
| + int ystride, |
| + int uvstride); |
| + |
| +void ConvertYUVtoRGB32(const uint8* y_buf, |
|
Alpha Left Google
2011/08/22 14:16:59
Add a _SSE2 suffix.
|
| + const uint8* u_buf, |
| + const uint8* v_buf, |
| + uint8* rgb_buf, |
| + int width, |
| + int height, |
| + int y_pitch, |
| + int uv_pitch, |
| + int rgb_pitch, |
| + YUVType yuv_type); |
| + |
| +void ConvertYUVtoRGB24(const uint8* y_buf, |
|
Alpha Left Google
2011/08/22 14:16:59
Add a _SSE2 suffix.
|
| + const uint8* u_buf, |
| + const uint8* v_buf, |
| + uint8* rgb_buf, |
| + int width, |
| + int height, |
| + int y_pitch, |
| + int uv_pitch, |
| + int rgb_pitch, |
| + YUVType yuv_type); |
| + |
| +} // namespace simd |
| +} // namespace media |
| + |
| +#endif // MEDIA_BASE_SIMD_YUV_CONVERT_H_ |
| Property changes on: media\base\simd\yuv_convert.h |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |