OLD | NEW |
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 // VideoCaptureDevice is the abstract base class for realizing video capture | 5 // VideoCaptureDevice is the abstract base class for realizing video capture |
6 // device support in Chromium. It provides the interface for OS dependent | 6 // device support in Chromium. It provides the interface for OS dependent |
7 // implementations. | 7 // implementations. |
8 // The class is created and functions are invoked on a thread owned by | 8 // The class is created and functions are invoked on a thread owned by |
9 // VideoCaptureManager. Capturing is done on other threads, depending on the OS | 9 // VideoCaptureManager. Capturing is done on other threads, depending on the OS |
10 // specific implementation. | 10 // specific implementation. |
11 | 11 |
12 #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_H_ | 12 #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_H_ |
13 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_H_ | 13 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_H_ |
14 | 14 |
| 15 #include <stddef.h> |
| 16 #include <stdint.h> |
| 17 |
15 #include <list> | 18 #include <list> |
16 #include <string> | 19 #include <string> |
17 | 20 |
18 #include "base/files/file.h" | 21 #include "base/files/file.h" |
19 #include "base/logging.h" | 22 #include "base/logging.h" |
20 #include "base/memory/ref_counted.h" | 23 #include "base/memory/ref_counted.h" |
21 #include "base/memory/scoped_ptr.h" | 24 #include "base/memory/scoped_ptr.h" |
22 #include "base/single_thread_task_runner.h" | 25 #include "base/single_thread_task_runner.h" |
23 #include "base/time/time.h" | 26 #include "base/time/time.h" |
| 27 #include "build/build_config.h" |
24 #include "media/base/media_export.h" | 28 #include "media/base/media_export.h" |
25 #include "media/base/video_capture_types.h" | 29 #include "media/base/video_capture_types.h" |
26 #include "media/base/video_frame.h" | 30 #include "media/base/video_frame.h" |
27 #include "ui/gfx/gpu_memory_buffer.h" | 31 #include "ui/gfx/gpu_memory_buffer.h" |
28 | 32 |
29 namespace tracked_objects { | 33 namespace tracked_objects { |
30 class Location; | 34 class Location; |
31 } // namespace tracked_objects | 35 } // namespace tracked_objects |
32 | 36 |
33 namespace media { | 37 namespace media { |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 | 297 |
294 private: | 298 private: |
295 // Gets the power line frequency from the current system time zone if this is | 299 // Gets the power line frequency from the current system time zone if this is |
296 // defined, otherwise returns 0. | 300 // defined, otherwise returns 0. |
297 PowerLineFrequency GetPowerLineFrequencyForLocation() const; | 301 PowerLineFrequency GetPowerLineFrequencyForLocation() const; |
298 }; | 302 }; |
299 | 303 |
300 } // namespace media | 304 } // namespace media |
301 | 305 |
302 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_H_ | 306 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_H_ |
OLD | NEW |