| Index: remoting/base/decoder_row_based.h
|
| diff --git a/remoting/base/decoder_row_based.h b/remoting/base/decoder_row_based.h
|
| index 2deb897dd1bdc5a4ff97e8af1f290651437f5ab7..8e1aab6c4bc4796ad96087820c31c0f09a86cef6 100644
|
| --- a/remoting/base/decoder_row_based.h
|
| +++ b/remoting/base/decoder_row_based.h
|
| @@ -19,12 +19,12 @@ class DecoderRowBased : public Decoder {
|
| static DecoderRowBased* CreateVerbatimDecoder();
|
|
|
| // Decoder implementation.
|
| - virtual void Reset();
|
| virtual bool IsReadyForData();
|
| - virtual void Initialize(scoped_refptr<media::VideoFrame> frame,
|
| - const gfx::Rect& clip, int bytes_per_src_pixel);
|
| - virtual void DecodeBytes(const std::string& encoded_bytes);
|
| - virtual VideoPacketFormat::Encoding Encoding() { return encoding_; }
|
| + virtual void Initialize(scoped_refptr<media::VideoFrame> frame);
|
| + virtual DecodeResult DecodePacket(const VideoPacket* packet);
|
| + virtual UpdatedRects* GetUpdatedRects();
|
| + virtual void Reset();
|
| + virtual VideoPacketFormat::Encoding Encoding();
|
|
|
| // TODO(hclam): Should make this into the Decoder interface.
|
| // TODO(ajwong): Before putting into the interface, we should decide if the
|
| @@ -38,6 +38,8 @@ class DecoderRowBased : public Decoder {
|
| enum State {
|
| kUninitialized,
|
| kReady,
|
| + kProcessing,
|
| + kDone,
|
| kError,
|
| };
|
|
|
| @@ -56,9 +58,6 @@ class DecoderRowBased : public Decoder {
|
| // The encoding of the incoming stream.
|
| VideoPacketFormat::Encoding encoding_;
|
|
|
| - // Number of bytes per pixel from source stream.
|
| - int bytes_per_src_pixel_;
|
| -
|
| // The position in the row that we are updating.
|
| int row_pos_;
|
|
|
|
|