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

Unified Diff: media/cast/video_receiver/codecs/vp8/vp8_decoder.h

Issue 82593005: Cast: Switching recevier to use media::VideoFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding media to DEPS + rebase Created 7 years, 1 month 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: media/cast/video_receiver/codecs/vp8/vp8_decoder.h
diff --git a/media/cast/video_receiver/codecs/vp8/vp8_decoder.h b/media/cast/video_receiver/codecs/vp8/vp8_decoder.h
index 511ad37ec961ae9e80a19d33c63b3726dd906b96..1b28d3a47a078040be09a2e3695a34d08f76af0b 100644
--- a/media/cast/video_receiver/codecs/vp8/vp8_decoder.h
+++ b/media/cast/video_receiver/codecs/vp8/vp8_decoder.h
@@ -37,6 +37,10 @@ class Vp8Decoder : public base::NonThreadSafe {
// Initialize the decoder.
void InitDecode(int number_of_cores);
+ // Helper method used to copy data from a libvpx image format to a VideoFrame.
+ void CopyPlane(size_t plane, const uint8* source, int stride, int rows,
+ VideoFrame* frame);
+
scoped_ptr<vpx_dec_ctx_t> decoder_;
scoped_refptr<CastEnvironment> cast_environment_;
};

Powered by Google App Engine
This is Rietveld 408576698