|
AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Go to the documentation of this file.
10 #ifndef IP_JSON_PARSE_H
11 #define IP_JSON_PARSE_H
13 #include <QJsonObject>
20 #define MaxVal(X,Y) ((X) < (Y) ? (Y) : (X))
21 #define MinVal(X,Y) ((X) < (Y) ? (X) : (Y))
22 #define AbsVal(X) ((X) < 0 ? (-X) : (X))
35 bool SetJson(
const QJsonObject& topObj,
bool verbose);
73 bool GetEnable(
const std::string enableBoolString);
115 #endif // IP_JSON_PARSE_H
bool StructToJsonReceiveAudio(const ReceiveAudioData2110 &n2110, QJsonArray &aArray)
QJsonArray m_receiveAncJson
ReceiveVideoData2110 m_receiveVideo2110
QJsonArray m_transmitAncJson
bool StructToJsonTransmitVideo(const TransmitVideoData2110 &n2110, QJsonArray &vArray)
NTV2Channel
These enum values are mostly used to identify a specific widget_framestore. They're also commonly use...
bool SetJsonNetwork(const QJsonObject &obj)
QJsonArray m_transmitAudioJson
QJsonObject m_protocolJson
NTV2Stream GetAncStream(const std::string streamString)
bool SetJsonReceiveAudio(const QJsonArray &jsonArray)
ReceiveAncData2110 m_receiveAnc2110
ReceiveAudioData2110 m_receiveAudio2110
TransmitAncData2110 m_transmitAnc2110
QJsonArray m_receiveVideoJson
NTV2Stream GetVideoStream(const std::string streamString)
bool JsonToStructReceiveAnc(const QJsonArray &aArray, ReceiveAncData2110 &n2110)
TransmitVideoData2110 m_transmitVideo2110
bool StructToJson(const NetworkData2110 &net2110, const ReceiveVideoData2110 &vidRec2110, const ReceiveAudioData2110 &audRec2110, const ReceiveAncData2110 &ancRec2110, const TransmitVideoData2110 &vidTran2110, const TransmitAudioData2110 &audTran2110, const TransmitAncData2110 &ancTran2110, QJsonObject &topObj)
bool SetJsonReceiveVideo(const QJsonArray &jsonArray)
Declares the CNTV2Config2022 class.
QJsonArray m_transmitVideoJson
bool StructToJsonReceiveAnc(const ReceiveAncData2110 &n2110, QJsonArray &aArray)
bool SetJsonReceiveAnc(const QJsonArray &jsonArray)
NetworkData2110 m_net2110
bool JsonToStructReceiveVideo(const QJsonArray &vArray, ReceiveVideoData2110 &n2110)
bool SetJsonTransmitVideo(const QJsonArray &jsonArray)
bool JsonToStructTransmitAnc(const QJsonArray &aArray, TransmitAncData2110 &n2110)
bool StructToJsonReceiveVideo(const ReceiveVideoData2110 &n2110, QJsonArray &topObj)
bool JsonToStructReceiveAudio(const QJsonArray &aArray, ReceiveAudioData2110 &n2110)
TransmitAudioData2110 m_transmitAudio2110
bool GetEnable(const std::string enableBoolString)
bool SetJsonTransmitAnc(const QJsonArray &jsonArray)
eSFP GetSfp(const std::string sfpString)
NTV2Stream
Identifies a specific IP-based data stream.
bool JsonToStructNetwork(const QJsonObject &topObj, NetworkData2110 &n2110)
NTV2Channel GetChannel(const std::string channelString)
NTV2Stream GetAudioStream(const std::string streamString)
bool SetJson(const QJsonObject &topObj, bool verbose)
void GetGrandMasterID(const std::string str, uint8_t(&id)[8])
bool SetJsonProtocol(const QJsonObject &obj)
Declares the CNTV2Config2110 class.
QJsonArray m_receiveAudioJson
bool SetJsonTransmitAudio(const QJsonArray &jsonArray)
bool StructToJsonNetwork(const NetworkData2110 &n2110, QJsonObject &topObj)
bool StructToJsonTransmitAnc(const TransmitAncData2110 &n2110, QJsonArray &aArray)
VPIDSampling GetSampling(const std::string samplingString)
bool JsonToStructTransmitVideo(const QJsonArray &vArray, TransmitVideoData2110 &n2110)
eNTV2PacketInterval GetAudioPktInterval(const std::string streamString)
bool JsonToStructTransmitAudio(const QJsonArray &aArray, TransmitAudioData2110 &n2110)
bool StructToJsonTransmitAudio(const TransmitAudioData2110 &n2110, QJsonArray &aArray)