Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1034)

Unified Diff: media/base/simd/convert_yuv_to_rgb_x86.cc

Issue 12082087: Replace or exclude MMX intrinsics in yuv_convert_simd_x86 due to lack of VS2010 support for them in… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some lint errors Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/base/simd/empty_register_state.h » ('j') | media/base/simd/empty_register_state.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/simd/convert_yuv_to_rgb_x86.cc
diff --git a/media/base/simd/convert_yuv_to_rgb_x86.cc b/media/base/simd/convert_yuv_to_rgb_x86.cc
index 3825bdb7a0e16f938636cc7e1f5bdd1b2f4ca8ed..d7e0c0bbaa46abd5ab5d0fe5ccf4ebe62196b40d 100644
--- a/media/base/simd/convert_yuv_to_rgb_x86.cc
+++ b/media/base/simd/convert_yuv_to_rgb_x86.cc
@@ -9,6 +9,7 @@
#endif
#include "media/base/simd/convert_yuv_to_rgb.h"
+#include "media/base/simd/empty_register_state.h"
#include "media/base/yuv_convert.h"
namespace media {
@@ -37,7 +38,7 @@ void ConvertYUVToRGB32_MMX(const uint8* yplane,
width);
}
- _mm_empty();
+ EmptyRegisterState_MMX();
Alpha Left Google 2013/01/31 19:43:15 Use the MEDIA_DO_NOT_USE_MMX_INTRINSICS macro.
wolenetz 2013/01/31 22:13:45 Done.
}
void ConvertYUVToRGB32_SSE(const uint8* yplane,
@@ -64,7 +65,7 @@ void ConvertYUVToRGB32_SSE(const uint8* yplane,
width);
}
- _mm_empty();
+ EmptyRegisterState_MMX();
Alpha Left Google 2013/01/31 19:43:15 Use the MEDIA_DO_NOT_USE_MMX_INTRINSICS macro.
wolenetz 2013/01/31 22:13:45 Done.
}
} // namespace media
« no previous file with comments | « no previous file | media/base/simd/empty_register_state.h » ('j') | media/base/simd/empty_register_state.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698