11#include <promeki/config.h>
12#if PROMEKI_ENABLE_NTV2
19PROMEKI_NAMESPACE_BEGIN
59namespace Ntv2Routing {
74 bool operator==(
const Connection &o)
const {
75 return input == o.input && output == o.output;
77 bool operator!=(
const Connection &o)
const {
return !(*
this == o); }
81 using ConnectionList = ::promeki::List<Connection>;
94 SdiLinkStandard standard{SdiLinkStandard::Auto};
104 bool can12gRouting =
false;
107 bool framebufferRgb =
false;
112 bool signalRgb =
false;
120 bool allowOnBoardCsc =
true;
130 ::promeki::List<int> mirrorPortStarts;
165 ConnectionList sdiInputConnections(
const SdiLinkStandard &standard,
int channel,
int startPort,
166 bool can12gRouting,
bool framebufferRgb);
178 ConnectionList sdiInputConnections(
const Config &cfg);
189 ConnectionList sdiOutputConnections(
const SdiLinkStandard &standard,
int channel,
int startPort,
190 bool can12gRouting,
bool framebufferRgb);
197 ConnectionList sdiOutputConnections(
const Config &cfg);
207 bool needsTsi(
const SdiLinkStandard &standard,
bool can12gRouting);
214 bool needsSquares(
const SdiLinkStandard &standard);