Decklink: autodetect input format
Decklink input: factor out some SDI code