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 input pin used for receiving captured frames from | 5 // Implement a DirectShow input pin 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_INPUT_PIN_WIN_H_ | 8 #ifndef MEDIA_VIDEO_CAPTURE_WIN_SINK_INPUT_PIN_WIN_H_ |
9 #define MEDIA_VIDEO_CAPTURE_WIN_SINK_INPUT_PIN_WIN_H_ | 9 #define MEDIA_VIDEO_CAPTURE_WIN_SINK_INPUT_PIN_WIN_H_ |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "media/base/video_capture_types.h" | 12 #include "media/base/video_capture_types.h" |
12 #include "media/capture/video/video_capture_device.h" | 13 #include "media/capture/video/video_capture_device.h" |
13 #include "media/capture/video/win/pin_base_win.h" | 14 #include "media/capture/video/win/pin_base_win.h" |
14 #include "media/capture/video/win/sink_filter_win.h" | 15 #include "media/capture/video/win/sink_filter_win.h" |
15 | 16 |
16 namespace media { | 17 namespace media { |
17 | 18 |
18 // Const used for converting Seconds to REFERENCE_TIME. | 19 // Const used for converting Seconds to REFERENCE_TIME. |
19 extern const REFERENCE_TIME kSecondsToReferenceTime; | 20 extern const REFERENCE_TIME kSecondsToReferenceTime; |
20 | 21 |
(...skipping 25 matching lines...) Expand all Loading... |
46 BITMAPINFOHEADER requested_info_header_; | 47 BITMAPINFOHEADER requested_info_header_; |
47 VideoCaptureFormat resulting_format_; | 48 VideoCaptureFormat resulting_format_; |
48 SinkFilterObserver* observer_; | 49 SinkFilterObserver* observer_; |
49 | 50 |
50 DISALLOW_IMPLICIT_CONSTRUCTORS(SinkInputPin); | 51 DISALLOW_IMPLICIT_CONSTRUCTORS(SinkInputPin); |
51 }; | 52 }; |
52 | 53 |
53 } // namespace media | 54 } // namespace media |
54 | 55 |
55 #endif // MEDIA_VIDEO_CAPTURE_WIN_SINK_INPUT_PIN_WIN_H_ | 56 #endif // MEDIA_VIDEO_CAPTURE_WIN_SINK_INPUT_PIN_WIN_H_ |
OLD | NEW |