| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Windows specific implementation of VideoCaptureDevice. | 5 // Windows specific implementation of VideoCaptureDevice. |
| 6 // DirectShow is used for capturing. DirectShow provide it's own threads | 6 // DirectShow is used for capturing. DirectShow provide its own threads |
| 7 // for capturing. | 7 // for capturing. |
| 8 | 8 |
| 9 #ifndef MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_ | 9 #ifndef MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_ |
| 10 #define MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_ | 10 #define MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_ |
| 11 #pragma once | 11 #pragma once |
| 12 | 12 |
| 13 // Avoid including strsafe.h via dshow as it will cause build warnings. | 13 // Avoid including strsafe.h via dshow as it will cause build warnings. |
| 14 #define NO_DSHOW_STRSAFE | 14 #define NO_DSHOW_STRSAFE |
| 15 #include <dshow.h> | 15 #include <dshow.h> |
| 16 | 16 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 // Map of all capabilities this device support. | 84 // Map of all capabilities this device support. |
| 85 CapabilityMap capabilities_; | 85 CapabilityMap capabilities_; |
| 86 | 86 |
| 87 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceWin); | 87 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceWin); |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 } // namespace media | 90 } // namespace media |
| 91 | 91 |
| 92 #endif // MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_ | 92 #endif // MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_ |
| OLD | NEW |