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

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

Issue 80383006: Cast: Forcing codec initialization on a designated thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years 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/cast/test/encode_decode_test.cc ('k') | media/cast/video_receiver/codecs/vp8/vp8_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2a0dc992f145d69fef84e5892b45edac10fb5774 100644
--- a/media/cast/video_receiver/codecs/vp8/vp8_decoder.h
+++ b/media/cast/video_receiver/codecs/vp8/vp8_decoder.h
@@ -21,8 +21,7 @@ namespace cast {
// thread.
class Vp8Decoder : public base::NonThreadSafe {
public:
- Vp8Decoder(int number_of_cores,
- scoped_refptr<CastEnvironment> cast_environment);
+ explicit Vp8Decoder(scoped_refptr<CastEnvironment> cast_environment);
~Vp8Decoder();
// Decode frame - The decoded frame will be passed via the callback.
@@ -35,8 +34,7 @@ class Vp8Decoder : public base::NonThreadSafe {
private:
// Initialize the decoder.
- void InitDecode(int number_of_cores);
-
+ void InitDecoder();
scoped_ptr<vpx_dec_ctx_t> decoder_;
scoped_refptr<CastEnvironment> cast_environment_;
};
« no previous file with comments | « media/cast/test/encode_decode_test.cc ('k') | media/cast/video_receiver/codecs/vp8/vp8_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698