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

Unified Diff: media/base/yuv_convert.cc

Issue 1389753003: Remove unused ConvertNV21ToYUV function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « media/base/yuv_convert.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/yuv_convert.cc
diff --git a/media/base/yuv_convert.cc b/media/base/yuv_convert.cc
index 9bc9a93197c042112c587ced34806a9601346647..fd428730f6a2c25756bf6c17e52d11274a59826f 100644
--- a/media/base/yuv_convert.cc
+++ b/media/base/yuv_convert.cc
@@ -719,23 +719,6 @@ void ConvertYUY2ToYUV(const uint8* src,
}
}
-void ConvertNV21ToYUV(const uint8* src,
- uint8* yplane,
- uint8* uplane,
- uint8* vplane,
- int width,
- int height) {
- int y_plane_size = width * height;
- memcpy(yplane, src, y_plane_size);
-
- src += y_plane_size;
- int u_plane_size = y_plane_size >> 2;
- for (int i = 0; i < u_plane_size; ++i) {
- *vplane++ = *src++;
- *uplane++ = *src++;
- }
-}
-
void ConvertYUVToRGB32(const uint8* yplane,
const uint8* uplane,
const uint8* vplane,
« no previous file with comments | « media/base/yuv_convert.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698