AJA NTV2 SDK  17.5.0.1242
NTV2 SDK 17.5.0.1242
CNTV2ConfigTs2022 Class Reference

The CNTV2ConfigTs2022 class is the interface to Kona-IP SMPTE 2022 J2K encoder and TS chips. More...

#include <ntv2configts2022.h>

Inheritance diagram for CNTV2ConfigTs2022:
[legend]
Collaboration diagram for CNTV2ConfigTs2022:
[legend]

Public Member Functions

 CNTV2ConfigTs2022 (CNTV2Card &device)
 
bool SetupJ2KEncoder (const NTV2Channel channel, const j2kEncoderConfig &config)
 
bool ReadbackJ2KEncoder (const NTV2Channel channel, j2kEncoderConfig &config)
 
bool SetupJ2KDecoder (const j2kDecoderConfig &config)
 
bool ReadbackJ2KDecoder (j2kDecoderConfig &config)
 
bool GetJ2KDecoderStatus (j2kDecoderStatus &status)
 
NTV2IpError getLastErrorCode ()
 
- Public Member Functions inherited from CNTV2MBController
 CNTV2MBController (CNTV2Card &device)
 
- Public Member Functions inherited from CNTV2MailBox
 CNTV2MailBox (CNTV2Card &device)
 
 ~CNTV2MailBox ()
 
bool sendMsg (char *msg, uint32_t timeout)
 
bool sendMsg (uint32_t timeout)
 
void getError (std::string &error)
 
void getResponse (std::string &response)
 
bool WriteChannelRegister (ULWord reg, ULWord value, ULWord mask=0xFFFFFFFF, ULWord shift=0x0)
 
bool ReadChannelRegister (const ULWord inReg, ULWord &outValue, const ULWord inMask=0xFFFFFFFF, const ULWord inShift=0x0)
 
bool ReadChannelRegister (ULWord inReg, ULWord *pOutValue, ULWord mask=0xFFFFFFFF, ULWord shift=0x0)
 
void SetChannel (ULWord channelOffset, ULWord channelNumber)
 
bool AcquireMailbox ()
 
void ReleaseMailbox ()
 

Additional Inherited Members

- Protected Member Functions inherited from CNTV2MBController
bool SetMBNetworkConfiguration (eSFP port, std::string ipaddr, std::string netmask, std::string gateway)
 
bool DisableNetworkInterface (eSFP port)
 
bool GetRemoteMAC (std::string remote_IPAddress, eSFP port, NTV2Stream stream, std::string &MACaddress)
 
bool SetIGMPVersion (uint32_t version)
 
void SetIGMPGroup (eSFP port, NTV2Stream stream, uint32_t mcast_addr, uint32_t src_addr, bool enable)
 
void UnsetIGMPGroup (eSFP port, NTV2Stream stream)
 
void EnableIGMPGroup (eSFP port, NTV2Stream stream, bool enable)
 
bool SetTxLinkState (NTV2Channel channel, bool sfp1Enable, bool sfp2Enable)
 
bool GetTxLinkState (NTV2Channel channel, bool &sfp1Enable, bool &sfp2Enable)
 
bool SetRxLinkState (NTV2Channel channel, bool sfp1Enable, bool sfp2Enable)
 
bool GetRxLinkState (NTV2Channel channel, bool &sfp1Enable, bool &sfp2Enable)
 
bool SetDualLinkMode (bool enable)
 
bool GetDualLinkMode (bool &enable)
 
bool SetRxMatch (NTV2Channel channel, eSFP link, uint8_t match)
 
bool GetRxMatch (NTV2Channel channel, eSFP link, uint8_t &match)
 
bool SetSFPActive (eSFP sfp)
 
bool SetSFPInactive (eSFP sfp)
 
bool GetSFPActive (eSFP sfp)
 
bool SetTxFormat (NTV2Channel chan, NTV2VideoFormat fmt)
 
bool GetTxFormat (NTV2Channel chan, NTV2VideoFormat &fmt)
 
uint64_t GetNTPTimestamp ()
 
bool PushSDP (std::string filename, std::stringstream &sdpstream)
 
bool GetSDP (std::string url, std::string &sdp)
 
bool GetSFPInfo (eSFP port, SFPMSAData &sfpdata)
 
bool SetLLDPInfo (std::string sysname)
 
bool GetLLDPInfo (std::string &chassisId0, std::string &portId0, std::string &chassisId1, std::string &portId1)
 
- Protected Member Functions inherited from CNTV2MailBox
bool rcvMsg (uint32_t timeout)
 
bool writeMB (uint32_t val, uint32_t timeout=50)
 
bool readMB (uint32_t &val, uint32_t timeout=50)
 
bool waitSOM (uint32_t timeout)
 
bool waitRxReady (uint32_t timeout)
 
bool waitTxReady (uint32_t timeout)
 
bool rxReady ()
 
uint32_t getStatus ()
 
uint32_t getFeatures ()
 
- Protected Attributes inherited from CNTV2MailBox
CNTV2CardmDevice
 
NTV2IpError mIpErrorCode
 
std::string mIpInternalErrorString
 
uint32_t txBuf [1024+1]
 

Detailed Description

The CNTV2ConfigTs2022 class is the interface to Kona-IP SMPTE 2022 J2K encoder and TS chips.

Definition at line 60 of file ntv2configts2022.h.

Constructor & Destructor Documentation

◆ CNTV2ConfigTs2022()

CNTV2ConfigTs2022::CNTV2ConfigTs2022 ( CNTV2Card device)

Definition at line 28 of file ntv2configts2022.cpp.

Member Function Documentation

◆ GetJ2KDecoderStatus()

bool CNTV2ConfigTs2022::GetJ2KDecoderStatus ( j2kDecoderStatus status)

Definition at line 391 of file ntv2configts2022.cpp.

◆ getLastErrorCode()

NTV2IpError CNTV2ConfigTs2022::getLastErrorCode ( )

Definition at line 606 of file ntv2configts2022.cpp.

◆ ReadbackJ2KDecoder()

bool CNTV2ConfigTs2022::ReadbackJ2KDecoder ( j2kDecoderConfig config)

Definition at line 381 of file ntv2configts2022.cpp.

◆ ReadbackJ2KEncoder()

bool CNTV2ConfigTs2022::ReadbackJ2KEncoder ( const NTV2Channel  channel,
j2kEncoderConfig config 
)

Definition at line 154 of file ntv2configts2022.cpp.

◆ SetupJ2KDecoder()

bool CNTV2ConfigTs2022::SetupJ2KDecoder ( const j2kDecoderConfig config)

Definition at line 364 of file ntv2configts2022.cpp.

◆ SetupJ2KEncoder()

bool CNTV2ConfigTs2022::SetupJ2KEncoder ( const NTV2Channel  channel,
const j2kEncoderConfig config 
)

Definition at line 36 of file ntv2configts2022.cpp.


The documentation for this class was generated from the following files: