| Index: media/base/simd/convert_row.h
|
| ===================================================================
|
| --- media/base/simd/convert_row.h (revision 0)
|
| +++ media/base/simd/convert_row.h (revision 0)
|
| @@ -0,0 +1,46 @@
|
| +// 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_CONVERT_ROW_H_
|
| +#define MEDIA_BASE_SIMD_CONVERT_ROW_H_
|
| +
|
| +namespace media {
|
| +namespace simd {
|
| +
|
| +// The header file for ASM functions that convert a row of pixels with SIMD
|
| +// instructions so we can call them from C++ code. These functions are
|
| +// implemented in "convert_row.asm".
|
| +
|
| +// Convert a row of 24-bit RGB pixels to YV12 pixels.
|
| +void ConvertRGBtoYUVRow(const uint8* rgba,
|
| + uint8* y,
|
| + uint8* u,
|
| + uint8* v,
|
| + int width);
|
| +
|
| +// Convert a row of 32-bit RGB pixels to YV12 pixels.
|
| +void ConvertRGBAtoYUVRow(const uint8* rgba,
|
| + uint8* y,
|
| + uint8* u,
|
| + uint8* v,
|
| + int width);
|
| +
|
| +// Convert a row of YV12 pixels to 24-bit RGB pixels.
|
| +void ConvertYUVtoRGBRow(const uint8* y,
|
| + const uint8* u,
|
| + const uint8* v,
|
| + uint8* rgba,
|
| + int width);
|
| +
|
| +// Convert a row of YV12 pixels to 32-bit RGB pixels.
|
| +void ConvertYUVtoRGBARow(const uint8* y,
|
| + const uint8* u,
|
| + const uint8* v,
|
| + uint8* rgba,
|
| + int width);
|
| +
|
| +} // namespace simd
|
| +} // namespace media
|
| +
|
| +#endif // MEDIA_BASE_SIMD_CONVERT_ROW_H_
|
|
|
| Property changes on: media\base\simd\convert_row.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|