PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
DeckLinkAPIWrapper.h
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2 Program: Plus
3 Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
4 See License.txt for details.
5 =========================================================Plus=header=end*/
6 
7 #ifndef __DeckLinkAPIWrapper_h__
8 #define __DeckLinkAPIWrapper_h__
9 
10 #if WIN32
11  // Windows includes
12  #include <comutil.h>
13 #endif
14 
15 // DeckLink includes
16 #include <DeckLinkAPI.h>
17 
18 // STL includes
19 #include <string>
20 
21 #ifndef BMD_PUBLIC
22  #define BMD_PUBLIC
23 #endif
24 
26 {
27 public:
28  static IDeckLinkIterator* BMD_PUBLIC CreateDeckLinkIterator();
29  static IDeckLinkDiscovery* BMD_PUBLIC CreateDeckLinkDiscovery();
30  static IDeckLinkAPIInformation* BMD_PUBLIC CreateDeckLinkAPIInformation();
31  static IDeckLinkGLScreenPreviewHelper* BMD_PUBLIC CreateOpenGLScreenPreviewHelper();
32  static IDeckLinkVideoConversion* BMD_PUBLIC CreateVideoConversion();
33  static IDeckLinkVideoFrameAncillaryPackets* BMD_PUBLIC CreateVideoFrameAncillaryPackets();
34 
35  static BMDPixelFormat PixelFormatFromString(const std::string&);
36  static BMDVideoConnection VideoConnectionFromString(const std::string&);
37  static BMDDisplayMode DisplayModeFromString(const std::string&);
38 };
39 
40 #endif
static IDeckLinkGLScreenPreviewHelper *BMD_PUBLIC CreateOpenGLScreenPreviewHelper()
static IDeckLinkDiscovery *BMD_PUBLIC CreateDeckLinkDiscovery()
static IDeckLinkIterator *BMD_PUBLIC CreateDeckLinkIterator()
static BMDVideoConnection VideoConnectionFromString(const std::string &)
static IDeckLinkAPIInformation *BMD_PUBLIC CreateDeckLinkAPIInformation()
static IDeckLinkVideoConversion *BMD_PUBLIC CreateVideoConversion()
static IDeckLinkVideoFrameAncillaryPackets *BMD_PUBLIC CreateVideoFrameAncillaryPackets()
#define BMD_PUBLIC
static BMDDisplayMode DisplayModeFromString(const std::string &)
static BMDPixelFormat PixelFormatFromString(const std::string &)