OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_CLIENT_DECODER_VERBATIM_H_ | 5 #ifndef REMOTING_CLIENT_DECODER_VERBATIM_H_ |
6 #define REMOTING_CLIENT_DECODER_VERBATIM_H_ | 6 #define REMOTING_CLIENT_DECODER_VERBATIM_H_ |
7 | 7 |
8 #include "remoting/client/decoder.h" | 8 #include "remoting/client/decoder.h" |
9 | 9 |
10 namespace remoting { | 10 namespace remoting { |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 private: | 24 private: |
25 // Tasks to call when decode is done. | 25 // Tasks to call when decode is done. |
26 scoped_ptr<Task> partial_decode_done_; | 26 scoped_ptr<Task> partial_decode_done_; |
27 scoped_ptr<Task> decode_done_; | 27 scoped_ptr<Task> decode_done_; |
28 | 28 |
29 // The video frame to write to. | 29 // The video frame to write to. |
30 scoped_refptr<media::VideoFrame> frame_; | 30 scoped_refptr<media::VideoFrame> frame_; |
31 UpdatedRects* updated_rects_; | 31 UpdatedRects* updated_rects_; |
32 | 32 |
| 33 // True if we should reverse the rows when copying data into the target |
| 34 // frame buffer. |
| 35 bool reverse_rows_; |
| 36 |
33 DISALLOW_COPY_AND_ASSIGN(DecoderVerbatim); | 37 DISALLOW_COPY_AND_ASSIGN(DecoderVerbatim); |
34 }; | 38 }; |
35 | 39 |
36 } // namespace remoting | 40 } // namespace remoting |
37 | 41 |
38 #endif // REMOTING_CLIENT_DECODER_VERBATIM_H_ | 42 #endif // REMOTING_CLIENT_DECODER_VERBATIM_H_ |
OLD | NEW |