| OLD | NEW |
| 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_CAPTURE_VIDEO_LINUX_V4L2_CAPTURE_DELEGATE_H_ | 5 #ifndef DEVICE_CAPTURE_VIDEO_LINUX_V4L2_CAPTURE_DELEGATE_H_ |
| 6 #define MEDIA_CAPTURE_VIDEO_LINUX_V4L2_CAPTURE_DELEGATE_H_ | 6 #define DEVICE_CAPTURE_VIDEO_LINUX_V4L2_CAPTURE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include "base/files/scoped_file.h" | 11 #include "base/files/scoped_file.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
| 15 #include "media/capture/video/video_capture_device.h" | 15 #include "device/capture/video/video_capture_device.h" |
| 16 | 16 |
| 17 #if defined(OS_OPENBSD) | 17 #if defined(OS_OPENBSD) |
| 18 #include <sys/videoio.h> | 18 #include <sys/videoio.h> |
| 19 #else | 19 #else |
| 20 #include <linux/videodev2.h> | 20 #include <linux/videodev2.h> |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 namespace tracked_objects { | 23 namespace tracked_objects { |
| 24 class Location; | 24 class Location; |
| 25 } // namespace tracked_objects | 25 } // namespace tracked_objects |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 int timeout_count_; | 88 int timeout_count_; |
| 89 | 89 |
| 90 // Clockwise rotation in degrees. This value should be 0, 90, 180, or 270. | 90 // Clockwise rotation in degrees. This value should be 0, 90, 180, or 270. |
| 91 int rotation_; | 91 int rotation_; |
| 92 | 92 |
| 93 DISALLOW_COPY_AND_ASSIGN(V4L2CaptureDelegate); | 93 DISALLOW_COPY_AND_ASSIGN(V4L2CaptureDelegate); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace media | 96 } // namespace media |
| 97 | 97 |
| 98 #endif // MEDIA_CAPTURE_VIDEO_LINUX_V4L2_CAPTURE_DELEGATE_H_ | 98 #endif // DEVICE_CAPTURE_VIDEO_LINUX_V4L2_CAPTURE_DELEGATE_H_ |
| OLD | NEW |