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

Unified Diff: trunk/src/media/base/yuv_convert.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
« no previous file with comments | « trunk/src/media/base/yuv_convert.h ('k') | trunk/src/media/ffmpeg/ffmpeg_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/base/yuv_convert.cc
===================================================================
--- trunk/src/media/base/yuv_convert.cc (revision 194468)
+++ trunk/src/media/base/yuv_convert.cc (working copy)
@@ -603,34 +603,4 @@
#endif
}
-void ConvertYUVAToARGB(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) {
-#if defined(ARCH_CPU_ARM_FAMILY) || defined(ARCH_CPU_MIPS_FAMILY)
- ConvertYUVAToARGB_C(yplane, uplane, vplane, aplane, rgbframe,
- width, height, ystride, uvstride, astride, rgbstride,
- yuv_type);
-#else
- static ConvertYUVAToARGBProc convert_proc = NULL;
- if (!convert_proc) {
- base::CPU cpu;
- if (cpu.has_mmx())
- convert_proc = &ConvertYUVAToARGB_MMX;
- else
- convert_proc = &ConvertYUVAToARGB_C;
- }
- convert_proc(yplane, uplane, vplane, aplane, rgbframe,
- width, height, ystride, uvstride, astride, rgbstride, yuv_type);
-#endif
-}
-
} // namespace media
« no previous file with comments | « trunk/src/media/base/yuv_convert.h ('k') | trunk/src/media/ffmpeg/ffmpeg_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698