OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CODEC_VIDEO_DECODER_VERBATIM_H_ | 5 #ifndef REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_ |
6 #define REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_ | 6 #define REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "remoting/codec/video_decoder.h" | 10 #include "remoting/codec/video_decoder.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // The current row in the rect that we are updaing. | 58 // The current row in the rect that we are updaing. |
59 int row_y_; | 59 int row_y_; |
60 | 60 |
61 // The region updated that hasn't been copied to the screen yet. | 61 // The region updated that hasn't been copied to the screen yet. |
62 SkRegion updated_region_; | 62 SkRegion updated_region_; |
63 | 63 |
64 // Size of the remote screen. | 64 // Size of the remote screen. |
65 SkISize screen_size_; | 65 SkISize screen_size_; |
66 | 66 |
67 // The bitmap holding the remote screen bits. | 67 // The bitmap holding the remote screen bits. |
68 scoped_array<uint8> screen_buffer_; | 68 scoped_ptr<uint8[]> screen_buffer_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(VideoDecoderVerbatim); | 70 DISALLOW_COPY_AND_ASSIGN(VideoDecoderVerbatim); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace remoting | 73 } // namespace remoting |
74 | 74 |
75 #endif // REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_ | 75 #endif // REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_ |
OLD | NEW |