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

Unified Diff: remoting/codec/video_decoder_verbatim.h

Issue 23477059: Simplify VideoEncoder interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
Index: remoting/codec/video_decoder_verbatim.h
diff --git a/remoting/codec/video_decoder_verbatim.h b/remoting/codec/video_decoder_verbatim.h
index f058a7eb26a1d0b4c37cdc66e0bd00dc8b80cfc3..96b75e21f7e01a9ce1790da168ebfde76a72ad88 100644
--- a/remoting/codec/video_decoder_verbatim.h
+++ b/remoting/codec/video_decoder_verbatim.h
@@ -35,30 +35,6 @@ class VideoDecoderVerbatim : public VideoDecoder {
virtual const SkRegion* GetImageShape() OVERRIDE;
private:
- enum State {
- kUninitialized,
- kReady,
- kProcessing,
- kPartitionDone,
- kDone,
- kError,
- };
-
- // Helper method. Called from DecodePacket to updated state of the decoder.
- void UpdateStateForPacket(const VideoPacket* packet);
-
- // The internal state of the decoder.
- State state_;
-
- // Keeps track of the updating rect.
- SkIRect clip_;
-
- // The position in the row that we are updating.
- int row_pos_;
-
- // The current row in the rect that we are updaing.
- int row_y_;
-
// The region updated that hasn't been copied to the screen yet.
SkRegion updated_region_;

Powered by Google App Engine
This is Rietveld 408576698