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

Unified Diff: media/filters/vpx_video_decoder.h

Issue 13886011: media: Add support for playback of VP8 Alpha video streams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 | « media/filters/skcanvas_video_renderer.cc ('k') | media/filters/vpx_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/vpx_video_decoder.h
diff --git a/media/filters/vpx_video_decoder.h b/media/filters/vpx_video_decoder.h
index aea47bb1455cf81c6b57bb91d57352880bf2fc16..b003248f40c0d65c29065364969e7abc226320af 100644
--- a/media/filters/vpx_video_decoder.h
+++ b/media/filters/vpx_video_decoder.h
@@ -9,6 +9,7 @@
#include "base/memory/weak_ptr.h"
#include "media/base/demuxer_stream.h"
#include "media/base/video_decoder.h"
+#include "media/base/video_frame.h"
struct vpx_codec_ctx;
struct vpx_image;
@@ -61,6 +62,7 @@ class MEDIA_EXPORT VpxVideoDecoder : public VideoDecoder {
void DoReset();
void CopyVpxImageTo(const vpx_image* vpx_image,
+ const struct vpx_image* vpx_image_alpha,
scoped_refptr<VideoFrame>* video_frame);
scoped_refptr<base::MessageLoopProxy> message_loop_;
@@ -77,6 +79,7 @@ class MEDIA_EXPORT VpxVideoDecoder : public VideoDecoder {
scoped_refptr<DemuxerStream> demuxer_stream_;
vpx_codec_ctx* vpx_codec_;
+ vpx_codec_ctx* vpx_codec_alpha_;
DISALLOW_COPY_AND_ASSIGN(VpxVideoDecoder);
};
« no previous file with comments | « media/filters/skcanvas_video_renderer.cc ('k') | media/filters/vpx_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698