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_VIDEO_CAPTURE_LINUX_V4L2_CAPTURE_DELEGATE_SINGLE_PLANE_H_ | 5 #ifndef MEDIA_VIDEO_CAPTURE_LINUX_V4L2_CAPTURE_DELEGATE_SINGLE_PLANE_H_ |
6 #define MEDIA_VIDEO_CAPTURE_LINUX_V4L2_CAPTURE_DELEGATE_SINGLE_PLANE_H_ | 6 #define MEDIA_VIDEO_CAPTURE_LINUX_V4L2_CAPTURE_DELEGATE_SINGLE_PLANE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
9 #include "media/capture/video/linux/v4l2_capture_delegate.h" | 11 #include "media/capture/video/linux/v4l2_capture_delegate.h" |
10 #include "media/capture/video/video_capture_device.h" | 12 #include "media/capture/video/video_capture_device.h" |
11 | 13 |
12 namespace base { | 14 namespace base { |
13 class SingleThreadTaskRunner; | 15 class SingleThreadTaskRunner; |
14 } // namespace base | 16 } // namespace base |
15 | 17 |
16 namespace media { | 18 namespace media { |
17 | 19 |
(...skipping 29 matching lines...) Expand all Loading... |
47 void FinishFillingV4L2Buffer(v4l2_buffer* buffer) const override; | 49 void FinishFillingV4L2Buffer(v4l2_buffer* buffer) const override; |
48 void SetPayloadSize(const scoped_refptr<BufferTracker>& buffer_tracker, | 50 void SetPayloadSize(const scoped_refptr<BufferTracker>& buffer_tracker, |
49 const v4l2_buffer& buffer) const override; | 51 const v4l2_buffer& buffer) const override; |
50 void SendBuffer(const scoped_refptr<BufferTracker>& buffer_tracker, | 52 void SendBuffer(const scoped_refptr<BufferTracker>& buffer_tracker, |
51 const v4l2_format& format) const override; | 53 const v4l2_format& format) const override; |
52 }; | 54 }; |
53 | 55 |
54 } // namespace media | 56 } // namespace media |
55 | 57 |
56 #endif // MEDIA_VIDEO_CAPTURE_LINUX_V4L2_CAPTURE_DELEGATE_MULTI_PLANE_H_ | 58 #endif // MEDIA_VIDEO_CAPTURE_LINUX_V4L2_CAPTURE_DELEGATE_MULTI_PLANE_H_ |
OLD | NEW |