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

Side by Side Diff: media/capture/video/video_capture_buffer_tracker.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_TRACKER_H_ 5 #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_TRACKER_H_
6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_TRACKER_H_ 6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_TRACKER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
11 #include "media/base/video_capture_types.h"
12 #include "media/capture/video/video_capture_buffer_handle.h" 11 #include "media/capture/video/video_capture_buffer_handle.h"
12 #include "media/capture/video_capture_types.h"
13 #include "mojo/public/cpp/system/buffer.h" 13 #include "mojo/public/cpp/system/buffer.h"
14 14
15 namespace media { 15 namespace media {
16 16
17 // Keeps track of the state of a given mappable resource. Each 17 // Keeps track of the state of a given mappable resource. Each
18 // VideoCaptureBufferTracker carries indication of pixel format and storage 18 // VideoCaptureBufferTracker carries indication of pixel format and storage
19 // type. This is a base class for implementations using different kinds of 19 // type. This is a base class for implementations using different kinds of
20 // storage. 20 // storage.
21 class CAPTURE_EXPORT VideoCaptureBufferTracker { 21 class CAPTURE_EXPORT VideoCaptureBufferTracker {
22 public: 22 public:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // the producer. 65 // the producer.
66 bool held_by_producer_; 66 bool held_by_producer_;
67 67
68 // Number of consumer processes which hold this VideoCaptureBufferTracker. 68 // Number of consumer processes which hold this VideoCaptureBufferTracker.
69 int consumer_hold_count_; 69 int consumer_hold_count_;
70 }; 70 };
71 71
72 } // namespace content 72 } // namespace content
73 73
74 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_TRACKER_H_ 74 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_TRACKER_H_
OLDNEW
« no previous file with comments | « media/capture/video/video_capture_buffer_pool_impl.h ('k') | media/capture/video/video_capture_buffer_tracker_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698