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

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

Issue 2523773002: [Mojo Video Capture] Move SharedMem Tracker/BufferHandle/Factory from content to media (Closed)
Patch Set: mcasas comments Created 4 years 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_CAPTURE_VIDEO_VIDEO_CAPTURE_BUFFER_TRACKER_H_
6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_TRACKER_H_ 6 #define MEDIA_CAPTURE_VIDEO_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/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" 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
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Indicates whether this VideoCaptureBufferTracker is currently referenced by 64 // Indicates whether this VideoCaptureBufferTracker is currently referenced by
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_CAPTURE_VIDEO_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