summaryrefslogtreecommitdiffstats
path: root/remoting/codec/video_decoder_verbatim.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-13 22:43:41 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-13 22:43:41 +0000
commit8b6d3d07dc51f52f3079f300262c4e3c58645ee5 (patch)
tree3e1bcc9f51197d784222cbc35874882559a990b9 /remoting/codec/video_decoder_verbatim.h
parentf6fad5a315506ff9d8fc49743917df8b201591c8 (diff)
downloadchromium_src-8b6d3d07dc51f52f3079f300262c4e3c58645ee5.zip
chromium_src-8b6d3d07dc51f52f3079f300262c4e3c58645ee5.tar.gz
chromium_src-8b6d3d07dc51f52f3079f300262c4e3c58645ee5.tar.bz2
Simplify VideoEncoder interface.
This should also avoid assert in the linked bug. BUG=284775 R=wez@chromium.org Review URL: https://codereview.chromium.org/23477059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223152 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/codec/video_decoder_verbatim.h')
-rw-r--r--remoting/codec/video_decoder_verbatim.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/remoting/codec/video_decoder_verbatim.h b/remoting/codec/video_decoder_verbatim.h
index f058a7e..96b75e21 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_;