| Index: media/base/simd/convert_yuv_to_rgb.h
|
| diff --git a/media/base/simd/convert_yuv_to_rgb.h b/media/base/simd/convert_yuv_to_rgb.h
|
| index 164ad11a83a5e1e40881b6d83b9c73661cef01f3..e41ab1c53752b617311ea7b28a3fc53a191f8456 100644
|
| --- a/media/base/simd/convert_yuv_to_rgb.h
|
| +++ b/media/base/simd/convert_yuv_to_rgb.h
|
| @@ -21,6 +21,19 @@ typedef void (*ConvertYUVToRGB32Proc)(const uint8*,
|
| int,
|
| YUVType);
|
|
|
| +typedef void (*ConvertYUVAToARGBProc)(const uint8*,
|
| + const uint8*,
|
| + const uint8*,
|
| + const uint8*,
|
| + uint8*,
|
| + int,
|
| + int,
|
| + int,
|
| + int,
|
| + int,
|
| + int,
|
| + YUVType);
|
| +
|
| void ConvertYUVToRGB32_C(const uint8* yplane,
|
| const uint8* uplane,
|
| const uint8* vplane,
|
| @@ -32,6 +45,19 @@ void ConvertYUVToRGB32_C(const uint8* yplane,
|
| int rgbstride,
|
| YUVType yuv_type);
|
|
|
| +void ConvertYUVAToARGB_C(const uint8* yplane,
|
| + const uint8* uplane,
|
| + const uint8* vplane,
|
| + const uint8* aplane,
|
| + uint8* rgbframe,
|
| + int width,
|
| + int height,
|
| + int ystride,
|
| + int uvstride,
|
| + int avstride,
|
| + int rgbstride,
|
| + YUVType yuv_type);
|
| +
|
| void ConvertYUVToRGB32_SSE(const uint8* yplane,
|
| const uint8* uplane,
|
| const uint8* vplane,
|
| @@ -54,6 +80,19 @@ void ConvertYUVToRGB32_MMX(const uint8* yplane,
|
| int rgbstride,
|
| YUVType yuv_type);
|
|
|
| +void ConvertYUVAToARGB_MMX(const uint8* yplane,
|
| + const uint8* uplane,
|
| + const uint8* vplane,
|
| + const uint8* aplane,
|
| + uint8* rgbframe,
|
| + int width,
|
| + int height,
|
| + int ystride,
|
| + int uvstride,
|
| + int avstride,
|
| + int rgbstride,
|
| + YUVType yuv_type);
|
| +
|
| } // namespace media
|
|
|
| // Assembly functions are declared without namespace.
|
| @@ -64,6 +103,12 @@ typedef void (*ConvertYUVToRGB32RowProc)(const uint8*,
|
| const uint8*,
|
| uint8*,
|
| int);
|
| +typedef void (*ConvertYUVAToARGBRowProc)(const uint8*,
|
| + const uint8*,
|
| + const uint8*,
|
| + const uint8*,
|
| + uint8*,
|
| + int);
|
| typedef void (*ScaleYUVToRGB32RowProc)(const uint8*,
|
| const uint8*,
|
| const uint8*,
|
| @@ -77,12 +122,26 @@ void ConvertYUVToRGB32Row_C(const uint8* yplane,
|
| uint8* rgbframe,
|
| int width);
|
|
|
| +void ConvertYUVAToARGBRow_C(const uint8* yplane,
|
| + const uint8* uplane,
|
| + const uint8* vplane,
|
| + const uint8* aplane,
|
| + uint8* rgbframe,
|
| + int width);
|
| +
|
| void ConvertYUVToRGB32Row_MMX(const uint8* yplane,
|
| const uint8* uplane,
|
| const uint8* vplane,
|
| uint8* rgbframe,
|
| int width);
|
|
|
| +void ConvertYUVAToARGBRow_MMX(const uint8* yplane,
|
| + const uint8* uplane,
|
| + const uint8* vplane,
|
| + const uint8* aplane,
|
| + uint8* rgbframe,
|
| + int width);
|
| +
|
| void ConvertYUVToRGB32Row_SSE(const uint8* yplane,
|
| const uint8* uplane,
|
| const uint8* vplane,
|
|
|