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 // Implement a DirectShow sink filter used for receiving captured frames from | 5 // Implement a DirectShow sink filter used for receiving captured frames from |
6 // a DirectShow Capture filter. | 6 // a DirectShow Capture filter. |
7 | 7 |
8 #ifndef MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_WIN_H_ | 8 #ifndef MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_WIN_H_ |
9 #define MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_WIN_H_ | 9 #define MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_WIN_H_ |
10 | 10 |
11 #include <windows.h> | 11 #include <windows.h> |
| 12 #include <stddef.h> |
12 | 13 |
13 #include "base/macros.h" | 14 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
15 #include "media/base/video_capture_types.h" | 16 #include "media/base/video_capture_types.h" |
16 #include "media/capture/video/video_capture_device.h" | 17 #include "media/capture/video/video_capture_device.h" |
17 #include "media/capture/video/win/filter_base_win.h" | 18 #include "media/capture/video/win/filter_base_win.h" |
18 #include "media/capture/video/win/sink_filter_observer_win.h" | 19 #include "media/capture/video/win/sink_filter_observer_win.h" |
19 | 20 |
20 namespace media { | 21 namespace media { |
21 | 22 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 ~SinkFilter() override; | 55 ~SinkFilter() override; |
55 | 56 |
56 scoped_refptr<SinkInputPin> input_pin_; | 57 scoped_refptr<SinkInputPin> input_pin_; |
57 | 58 |
58 DISALLOW_IMPLICIT_CONSTRUCTORS(SinkFilter); | 59 DISALLOW_IMPLICIT_CONSTRUCTORS(SinkFilter); |
59 }; | 60 }; |
60 | 61 |
61 } // namespace media | 62 } // namespace media |
62 | 63 |
63 #endif // MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_WIN_H_ | 64 #endif // MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_WIN_H_ |
OLD | NEW |