Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: device/capture/video/mac/video_capture_device_decklink_mac.mm

Issue 2143903003: [WIP] Move media/capture to device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698