Chromium Code Reviews| Index: media/base/yuv_convert.cc |
| diff --git a/media/base/yuv_convert.cc b/media/base/yuv_convert.cc |
| index 094fe79410cd834ffb2b078cd99b0098e2d8814e..06631fdbd46bbd93b9748b481bdff17f855a1202 100644 |
| --- a/media/base/yuv_convert.cc |
| +++ b/media/base/yuv_convert.cc |
| @@ -447,6 +447,9 @@ void ConvertRGB32ToYUV(const uint8* rgbframe, |
| // For ARM processors, always use C version. |
| // TODO(hclam): Implement a NEON version. |
| convert_proc = &ConvertRGB32ToYUV_C; |
| +#elif defined(ARCH_CPU_MIPS_FAMILY) |
| + // For MIPS processors, always use C version. |
| + convert_proc = &ConvertRGB32ToYUV_C; |
| #else |
| // TODO(hclam): Switch to SSSE3 version when the cyan problem is solved. |
| // See: crbug.com/100462 |
| @@ -474,6 +477,9 @@ void ConvertRGB24ToYUV(const uint8* rgbframe, |
| #if defined(ARCH_CPU_ARM_FAMILY) |
| ConvertRGB24ToYUV_C(rgbframe, yplane, uplane, vplane, width, height, |
|
scherkus (not reviewing)
2012/09/19 16:57:54
ditto
petarj
2012/09/20 00:18:25
Done.
|
| rgbstride, ystride, uvstride); |
| +#elif defined(ARCH_CPU_MIPS_FAMILY) |
| + ConvertRGB24ToYUV_C(rgbframe, yplane, uplane, vplane, width, height, |
| + rgbstride, ystride, uvstride); |
| #else |
| static void (*convert_proc)(const uint8*, uint8*, uint8*, uint8*, |
| int, int, int, int, int) = NULL; |
| @@ -545,6 +551,9 @@ void ConvertYUVToRGB32(const uint8* yplane, |
| #if defined(ARCH_CPU_ARM_FAMILY) |
| ConvertYUVToRGB32_C(yplane, uplane, vplane, rgbframe, |
|
scherkus (not reviewing)
2012/09/19 16:57:54
ditto
petarj
2012/09/20 00:18:25
Done.
|
| width, height, ystride, uvstride, rgbstride, yuv_type); |
| +#elif defined(ARCH_CPU_MIPS_FAMILY) |
| + ConvertYUVToRGB32_C(yplane, uplane, vplane, rgbframe, |
| + width, height, ystride, uvstride, rgbstride, yuv_type); |
| #else |
| static ConvertYUVToRGB32Proc convert_proc = NULL; |
| if (!convert_proc) { |