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

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

Issue 13972014: Revert 194465 "media: Add support for playback for VP8 Alpha vid..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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
Index: trunk/src/media/base/simd/convert_yuv_to_rgb_x86.cc
===================================================================
--- trunk/src/media/base/simd/convert_yuv_to_rgb_x86.cc (revision 194468)
+++ trunk/src/media/base/simd/convert_yuv_to_rgb_x86.cc (working copy)
@@ -40,37 +40,6 @@
EmptyRegisterState();
}
-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 astride,
- int rgbstride,
- YUVType yuv_type) {
- unsigned int y_shift = yuv_type;
- for (int y = 0; y < height; ++y) {
- uint8* rgb_row = rgbframe + y * rgbstride;
- const uint8* y_ptr = yplane + y * ystride;
- const uint8* u_ptr = uplane + (y >> y_shift) * uvstride;
- const uint8* v_ptr = vplane + (y >> y_shift) * uvstride;
- const uint8* a_ptr = aplane + y * astride;
-
- ConvertYUVAToARGBRow_MMX(y_ptr,
- u_ptr,
- v_ptr,
- a_ptr,
- rgb_row,
- width);
- }
-
- EmptyRegisterState();
-}
-
void ConvertYUVToRGB32_SSE(const uint8* yplane,
const uint8* uplane,
const uint8* vplane,
« no previous file with comments | « trunk/src/media/base/simd/convert_yuv_to_rgb_c.cc ('k') | trunk/src/media/base/simd/convert_yuva_to_argb_mmx.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698