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_HOST_VIDEO_FRAME_QUEUE_H_ | 5 #ifndef REMOTING_CAPTURER_VIDEO_FRAME_QUEUE_H_ |
6 #define REMOTING_HOST_VIDEO_FRAME_QUEUE_H_ | 6 #define REMOTING_CAPTURER_VIDEO_FRAME_QUEUE_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 | 10 |
11 namespace remoting { | 11 namespace remoting { |
12 | 12 |
13 class VideoFrame; | 13 class VideoFrame; |
14 | 14 |
15 // Represents a queue of reusable video frames. Provides access to the 'current' | 15 // Represents a queue of reusable video frames. Provides access to the 'current' |
16 // frame - the frame that the caller is working with at the moment, and to | 16 // frame - the frame that the caller is working with at the moment, and to |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 bool needs_update_[kQueueLength]; | 59 bool needs_update_[kQueueLength]; |
60 | 60 |
61 // Points to the previous frame if any. | 61 // Points to the previous frame if any. |
62 VideoFrame* previous_; | 62 VideoFrame* previous_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(VideoFrameQueue); | 64 DISALLOW_COPY_AND_ASSIGN(VideoFrameQueue); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace remoting | 67 } // namespace remoting |
68 | 68 |
69 #endif // REMOTING_HOST_VIDEO_FRAME_QUEUE_H_ | 69 #endif // REMOTING_CAPTURER_VIDEO_FRAME_QUEUE_H_ |
OLD | NEW |