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

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: clean up 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..af9c60cca9985588f4e20ce64388d57201b07408 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);
+ Vp8Decoder(scoped_refptr<CastEnvironment> cast_environment);
pwestin 2013/11/21 19:10:42 should be explicit
mikhal 2013/11/21 19:27:00 Done.
~Vp8Decoder();
// Decode frame - The decoded frame will be passed via the callback.
@@ -33,10 +32,10 @@ class Vp8Decoder : public base::NonThreadSafe {
const base::TimeTicks render_time,
const VideoFrameDecodedCallback& frame_decoded_cb);
- private:
// Initialize the decoder.
- void InitDecode(int number_of_cores);
+ void InitDecoder();
+ private:
scoped_ptr<vpx_dec_ctx_t> decoder_;
scoped_refptr<CastEnvironment> cast_environment_;
};

Powered by Google App Engine
This is Rietveld 408576698