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

Unified Diff: trunk/src/media/base/video_util.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/video_util.h ('k') | trunk/src/media/base/yuv_convert.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/base/video_util.cc
===================================================================
--- trunk/src/media/base/video_util.cc (revision 194468)
+++ trunk/src/media/base/video_util.cc (working copy)
@@ -62,16 +62,6 @@
CopyPlane(VideoFrame::kVPlane, source, stride, rows, frame);
}
-void CopyAPlane(const uint8* source, int stride, int rows, VideoFrame* frame) {
- CopyPlane(VideoFrame::kAPlane, source, stride, rows, frame);
-}
-
-void MakeOpaqueAPlane(int stride, int rows, VideoFrame* frame) {
- int rows_to_clear = std::min(frame->rows(VideoFrame::kAPlane), rows);
- memset(frame->data(VideoFrame::kAPlane), 255,
- frame->stride(VideoFrame::kAPlane) * rows_to_clear);
-}
-
void FillYUV(VideoFrame* frame, uint8 y, uint8 u, uint8 v) {
// Fill the Y plane.
uint8* y_plane = frame->data(VideoFrame::kYPlane);
« no previous file with comments | « trunk/src/media/base/video_util.h ('k') | trunk/src/media/base/yuv_convert.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698