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 #pragma once | |
11 | 10 |
12 #include "media/video/capture/video_capture_device.h" | 11 #include "media/video/capture/video_capture_device.h" |
13 #include "media/video/capture/video_capture_types.h" | 12 #include "media/video/capture/video_capture_types.h" |
14 #include "media/video/capture/win/pin_base_win.h" | 13 #include "media/video/capture/win/pin_base_win.h" |
15 #include "media/video/capture/win/sink_filter_win.h" | 14 #include "media/video/capture/win/sink_filter_win.h" |
16 | 15 |
17 namespace media { | 16 namespace media { |
18 | 17 |
19 // Const used for converting Seconds to REFERENCE_TIME. | 18 // Const used for converting Seconds to REFERENCE_TIME. |
20 extern const REFERENCE_TIME kSecondsToReferenceTime; | 19 extern const REFERENCE_TIME kSecondsToReferenceTime; |
(...skipping 19 matching lines...) Expand all Loading... |
40 VideoCaptureCapability requested_capability_; | 39 VideoCaptureCapability requested_capability_; |
41 VideoCaptureCapability resulting_capability_; | 40 VideoCaptureCapability resulting_capability_; |
42 SinkFilterObserver* observer_; | 41 SinkFilterObserver* observer_; |
43 | 42 |
44 DISALLOW_IMPLICIT_CONSTRUCTORS(SinkInputPin); | 43 DISALLOW_IMPLICIT_CONSTRUCTORS(SinkInputPin); |
45 }; | 44 }; |
46 | 45 |
47 } // namespace media | 46 } // namespace media |
48 | 47 |
49 #endif // MEDIA_VIDEO_CAPTURE_WIN_SINK_INPUT_PIN_WIN_H_ | 48 #endif // MEDIA_VIDEO_CAPTURE_WIN_SINK_INPUT_PIN_WIN_H_ |
OLD | NEW |