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

Side by Side Diff: media/capture/video/linux/v4l2_capture_delegate.h

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_LINUX_V4L2_VIDEO_CAPTURE_DELEGATE_H_ 5 #ifndef MEDIA_VIDEO_CAPTURE_LINUX_V4L2_VIDEO_CAPTURE_DELEGATE_H_
6 #define MEDIA_VIDEO_CAPTURE_LINUX_V4L2_VIDEO_CAPTURE_DELEGATE_H_ 6 #define MEDIA_VIDEO_CAPTURE_LINUX_V4L2_VIDEO_CAPTURE_DELEGATE_H_
7 7
8 #if defined(OS_OPENBSD) 8 #if defined(OS_OPENBSD)
9 #include <sys/videoio.h> 9 #include <sys/videoio.h>
10 #else 10 #else
11 #include <linux/videodev2.h> 11 #include <linux/videodev2.h>
12 #endif 12 #endif
13 13
14 #include "base/files/scoped_file.h" 14 #include "base/files/scoped_file.h"
15 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
16 #include "media/capture/video/video_capture_device.h" 17 #include "media/capture/video/video_capture_device.h"
17 18
18 namespace tracked_objects { 19 namespace tracked_objects {
19 class Location; 20 class Location;
20 } // namespace tracked_objects 21 } // namespace tracked_objects
21 22
22 namespace media { 23 namespace media {
23 24
24 // Class doing the actual Linux capture using V4L2 API. V4L2 SPLANE/MPLANE 25 // Class doing the actual Linux capture using V4L2 API. V4L2 SPLANE/MPLANE
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 164
164 // Clockwise rotation in degrees. This value should be 0, 90, 180, or 270. 165 // Clockwise rotation in degrees. This value should be 0, 90, 180, or 270.
165 int rotation_; 166 int rotation_;
166 167
167 DISALLOW_COPY_AND_ASSIGN(V4L2CaptureDelegate); 168 DISALLOW_COPY_AND_ASSIGN(V4L2CaptureDelegate);
168 }; 169 };
169 170
170 } // namespace media 171 } // namespace media
171 172
172 #endif // MEDIA_VIDEO_CAPTURE_LINUX_V4L2_VIDEO_CAPTURE_DELEGATE_H_ 173 #endif // MEDIA_VIDEO_CAPTURE_LINUX_V4L2_VIDEO_CAPTURE_DELEGATE_H_
OLDNEW
« no previous file with comments | « media/capture/video/file_video_capture_device.h ('k') | media/capture/video/linux/video_capture_device_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698