Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Side by Side Diff: media/capture/video/video_capture_buffer_pool.h

Issue 2415703002: Move files video_capture*.* from media/base to media/capture (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_POOL_H_ 5 #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_POOL_H_
6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_POOL_H_ 6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_POOL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "media/base/video_capture_types.h"
10 #include "media/capture/capture_export.h" 9 #include "media/capture/capture_export.h"
10 #include "media/capture/video_capture_types.h"
11 #include "mojo/public/cpp/system/buffer.h" 11 #include "mojo/public/cpp/system/buffer.h"
12 #include "ui/gfx/geometry/size.h" 12 #include "ui/gfx/geometry/size.h"
13 #include "ui/gfx/gpu_memory_buffer.h" 13 #include "ui/gfx/gpu_memory_buffer.h"
14 14
15 namespace media { 15 namespace media {
16 16
17 class VideoCaptureBufferHandle; 17 class VideoCaptureBufferHandle;
18 18
19 // A thread-safe class that does the bookkeeping and lifetime management for a 19 // A thread-safe class that does the bookkeeping and lifetime management for a
20 // pool of pixel buffers cycled between an in-process producer (e.g. a 20 // pool of pixel buffers cycled between an in-process producer (e.g. a
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 protected: 100 protected:
101 virtual ~VideoCaptureBufferPool() {} 101 virtual ~VideoCaptureBufferPool() {}
102 102
103 private: 103 private:
104 friend class base::RefCountedThreadSafe<VideoCaptureBufferPool>; 104 friend class base::RefCountedThreadSafe<VideoCaptureBufferPool>;
105 }; 105 };
106 106
107 } // namespace media 107 } // namespace media
108 108
109 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_POOL_H_ 109 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_POOL_H_
OLDNEW
« no previous file with comments | « media/capture/video/mac/video_capture_device_mac.h ('k') | media/capture/video/video_capture_buffer_pool_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698