OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_BUFFER_POOL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_BUFFER_POOL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_BUFFER_POOL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_BUFFER_POOL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
14 #include "base/process/process.h" | 14 #include "base/process/process.h" |
15 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
17 #include "ui/gfx/size.h" | 17 #include "ui/gfx/geometry/size.h" |
18 | 18 |
19 namespace media { | 19 namespace media { |
20 | 20 |
21 class VideoFrame; | 21 class VideoFrame; |
22 | 22 |
23 } // namespace media | 23 } // namespace media |
24 | 24 |
25 namespace content { | 25 namespace content { |
26 | 26 |
27 // A thread-safe class that does the bookkeeping and lifetime management for a | 27 // A thread-safe class that does the bookkeeping and lifetime management for a |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 128 |
129 // The buffers, indexed by |buffer_id|. | 129 // The buffers, indexed by |buffer_id|. |
130 BufferMap buffers_; | 130 BufferMap buffers_; |
131 | 131 |
132 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureBufferPool); | 132 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureBufferPool); |
133 }; | 133 }; |
134 | 134 |
135 } // namespace content | 135 } // namespace content |
136 | 136 |
137 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_BUFFER_POOL_H_ | 137 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_BUFFER_POOL_H_ |
OLD | NEW |