| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "media/capture/video/mac/video_capture_device_decklink_mac.h" | 5 #include "device/capture/video/mac/video_capture_device_decklink_mac.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/strings/sys_string_conversions.h" | 12 #include "base/strings/sys_string_conversions.h" |
| 13 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
| 14 #include "third_party/decklink/mac/include/DeckLinkAPI.h" | 14 #include "third_party/decklink/mac/include/DeckLinkAPI.h" |
| 15 | 15 |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 if (decklink_capture_delegate_.get()) | 499 if (decklink_capture_delegate_.get()) |
| 500 decklink_capture_delegate_->AllocateAndStart(params); | 500 decklink_capture_delegate_->AllocateAndStart(params); |
| 501 } | 501 } |
| 502 | 502 |
| 503 void VideoCaptureDeviceDeckLinkMac::StopAndDeAllocate() { | 503 void VideoCaptureDeviceDeckLinkMac::StopAndDeAllocate() { |
| 504 if (decklink_capture_delegate_.get()) | 504 if (decklink_capture_delegate_.get()) |
| 505 decklink_capture_delegate_->StopAndDeAllocate(); | 505 decklink_capture_delegate_->StopAndDeAllocate(); |
| 506 } | 506 } |
| 507 | 507 |
| 508 } // namespace media | 508 } // namespace media |
| OLD | NEW |