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. |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "base/memory/ref_counted.h" | 25 #include "base/memory/ref_counted.h" |
26 #include "base/single_thread_task_runner.h" | 26 #include "base/single_thread_task_runner.h" |
27 #include "base/time/time.h" | 27 #include "base/time/time.h" |
28 #include "build/build_config.h" | 28 #include "build/build_config.h" |
29 #include "media/base/video_frame.h" | 29 #include "media/base/video_frame.h" |
30 #include "media/capture/capture_export.h" | 30 #include "media/capture/capture_export.h" |
31 #include "media/capture/mojo/image_capture.mojom.h" | 31 #include "media/capture/mojo/image_capture.mojom.h" |
32 #include "media/capture/video/scoped_result_callback.h" | 32 #include "media/capture/video/scoped_result_callback.h" |
33 #include "media/capture/video/video_capture_device_descriptor.h" | 33 #include "media/capture/video/video_capture_device_descriptor.h" |
34 #include "media/capture/video_capture_types.h" | 34 #include "media/capture/video_capture_types.h" |
35 #include "mojo/public/cpp/bindings/array.h" | |
36 #include "ui/gfx/gpu_memory_buffer.h" | 35 #include "ui/gfx/gpu_memory_buffer.h" |
37 | 36 |
38 namespace tracked_objects { | 37 namespace tracked_objects { |
39 class Location; | 38 class Location; |
40 } // namespace tracked_objects | 39 } // namespace tracked_objects |
41 | 40 |
42 namespace media { | 41 namespace media { |
43 | 42 |
44 class CAPTURE_EXPORT FrameBufferPool { | 43 class CAPTURE_EXPORT FrameBufferPool { |
45 public: | 44 public: |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 | 276 |
278 private: | 277 private: |
279 // Gets the power line frequency from the current system time zone if this is | 278 // Gets the power line frequency from the current system time zone if this is |
280 // defined, otherwise returns 0. | 279 // defined, otherwise returns 0. |
281 PowerLineFrequency GetPowerLineFrequencyForLocation() const; | 280 PowerLineFrequency GetPowerLineFrequencyForLocation() const; |
282 }; | 281 }; |
283 | 282 |
284 } // namespace media | 283 } // namespace media |
285 | 284 |
286 #endif // MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_H_ | 285 #endif // MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_H_ |
OLD | NEW |