Chromium Code Reviews| Index: remoting/codec/video_encoder_vpx.h |
| diff --git a/remoting/codec/video_encoder_vpx.h b/remoting/codec/video_encoder_vpx.h |
| index dbfefeb150b73e2c898e28cf9697303a502e9820..7d80592b0302ef3b7b5be596475c560354474f79 100644 |
| --- a/remoting/codec/video_encoder_vpx.h |
| +++ b/remoting/codec/video_encoder_vpx.h |
| @@ -73,12 +73,10 @@ class VideoEncoderVpx : public VideoEncoder { |
| // Active map used to optimize out processing of un-changed macroblocks. |
| scoped_ptr<uint8[]> active_map_; |
| - int active_map_width_ = 0; |
| - int active_map_height_ = 0; |
| + webrtc::DesktopSize active_map_size_; |
| - // Number of "top-off" frames we've encoded since we were last passed a |
| - // frame containing an actual change. Used only when encoding with top-off. |
| - int topoff_frame_count_ = 0; |
| + // True if the codec wants unchanged frames to finish topping-off with. |
| + bool encode_unchanged_frame_; |
|
Sergey Ulanov
2015/07/06 17:58:28
maybe call it encode_next_unchanged_frame_ to make
Sergey Ulanov
2015/07/06 17:58:29
= false; and remove initializer in the constructor
|
| // Used to help initialize VideoPackets from DesktopFrames. |
| VideoEncoderHelper helper_; |