]> git.sesse.net Git - nageru/blob - decklink_util.h
Fix an issue where the mixer lagging too much behind CEF would cause us to display...
[nageru] / decklink_util.h
1 #ifndef _DECKLINK_UTIL
2 #define _DECKLINK_UTIL 1
3
4 #include <stdint.h>
5
6 #include <map>
7
8 #include "bmusb/bmusb.h"
9
10 class IDeckLinkDisplayModeIterator;
11
12 std::map<uint32_t, bmusb::VideoMode> summarize_video_modes(IDeckLinkDisplayModeIterator *mode_it, unsigned card_index);
13
14 // Picks a video connection that the card supports. Priority list: HDMI, SDI, anything else.
15 BMDVideoConnection pick_default_video_connection(IDeckLink *card, BMDDeckLinkAttributeID attribute_id, unsigned card_index);
16
17 #endif  // !defined(_DECKLINK_UTIL)