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

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

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 4 years, 12 months 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Linux specific implementation of VideoCaptureDevice. 5 // Linux specific implementation of VideoCaptureDevice.
6 // V4L2 is used for capturing. V4L2 does not provide its own thread for 6 // V4L2 is used for capturing. V4L2 does not provide its own thread for
7 // capturing so this implementation uses a Chromium thread for fetching frames 7 // capturing so this implementation uses a Chromium thread for fetching frames
8 // from V4L2. 8 // from V4L2.
9 9
10 #ifndef MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_LINUX_H_ 10 #ifndef MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_LINUX_H_
11 #define MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_LINUX_H_ 11 #define MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_LINUX_H_
12 12
13 #include <stdint.h>
14
13 #include <string> 15 #include <string>
14 16
15 #include "base/files/file_util.h" 17 #include "base/files/file_util.h"
16 #include "base/files/scoped_file.h" 18 #include "base/files/scoped_file.h"
17 #include "base/macros.h" 19 #include "base/macros.h"
18 #include "base/threading/thread.h" 20 #include "base/threading/thread.h"
19 #include "media/base/video_capture_types.h" 21 #include "media/base/video_capture_types.h"
20 #include "media/capture/video/video_capture_device.h" 22 #include "media/capture/video/video_capture_device.h"
21 23
22 namespace media { 24 namespace media {
(...skipping 28 matching lines...) Expand all
51 base::Thread v4l2_thread_; // Thread used for reading data from the device. 53 base::Thread v4l2_thread_; // Thread used for reading data from the device.
52 54
53 const Name device_name_; 55 const Name device_name_;
54 56
55 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceLinux); 57 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceLinux);
56 }; 58 };
57 59
58 } // namespace media 60 } // namespace media
59 61
60 #endif // MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_LINUX_H_ 62 #endif // MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698