8 #ifndef NTV2_2022CONFIGTS_H 9 #define NTV2_2022CONFIGTS_H 20 #define ENCODE_TS_TIMER 0 21 #define ENCODE_TS_J2K_ENCODER 1 22 #define ENCODE_TS_MPEG_J2K_ENCAP 2 23 #define ENCODE_TS_AES_ENCAP 3 24 #define ENCODE_TS_MPEG_AES_ENCAP 4 25 #define ENCODE_TS_MPEG_ANC_ENCAP 6 26 #define ENCODE_TS_MPEG_PCR_ENCAP 7 29 #define DECODE_TS_MPEG_J2K_DECAP 0 30 #define DECODE_TS_J2K_DECODER 1 31 #define DECODE_TS_MPEG_AES_DECAP 2 32 #define DECODE_TS_AES_DECAP 3 33 #define DECODE_TS_MPEG_ANC_DECAP 5 36 #define PES_HDR_LOOKUP 0x0 37 #define PES_HDR_LEN 0xc0 38 #define PTS_OFFSET 0xc1 39 #define J2K_TS_OFFSET 0xc2 40 #define AUF1_OFFSET 0xc3 41 #define AUF2_OFFSET 0xc4 42 #define PACKET_RATE 0xca 44 #define INTERLACED_VIDEO 0xe1 45 #define PAYLOAD_PARAMS 0xe2 47 #define PAT_TABLE_LOOKUP 0x100 48 #define PAT_PMT_PERIOD 0x1f0 49 #define PMT_TABLE_LOOKUP 0x200 50 #define ADAPTATION_LOOKUP 0x300 51 #define ADAPTATION_HDR_LENGTH 0x3f0 53 #define MODE_STOP 0x00 54 #define MODE_RECORD 0x10 85 bool SetupEncodeTsJ2KEncoder(
const NTV2Channel channel);
86 bool SetupEncodeTsMpegJ2kEncap(
const NTV2Channel channel);
87 bool SetupEncodeTsMpegPcrEncap(
const NTV2Channel channel);
88 bool SetupEncodeTsMpegAesEncap(
const NTV2Channel channel);
89 bool SetupEncodeTsAesEncap(
const NTV2Channel channel);
93 bool J2KGetNextT0Status(
const NTV2Channel channel, uint32_t *pStatus);
94 bool GetT0CmdStatus(
const NTV2Channel channel,
const uint32_t cmdId, uint32_t *pStatus );
95 void J2kSetParam(
const NTV2Channel channel, uint32_t config, uint32_t param, uint32_t value);
96 void J2kSetMode(
const NTV2Channel channel, uint32_t tier, uint32_t mode);
97 uint32_t J2kGetFrameCounter(
const NTV2Channel channel, uint32_t tier);
98 void J2kSetConfig(
const NTV2Channel channel, uint32_t config);
100 uint32_t GetFeatures();
102 void GenerateTableForMpegJ2kEncap(
const NTV2Channel channel);
103 void GenerateTableForMpegPcrEncap(
const NTV2Channel channel);
104 void GenerateTableForMpegAesEncap(
const NTV2Channel channel);
108 bool WriteJ2KConfigReg(
const NTV2Channel channel,
const uint32_t reg,
const uint32_t value);
109 bool ReadJ2KConfigReg(
const NTV2Channel channel,
const uint32_t reg, uint32_t * value);
111 void SetEncoderInputEnable(
const NTV2Channel channel,
bool bEnable,
bool bMDEnable );
112 void SetEncoderReset(
const NTV2Channel channel,
bool bReset );
118 int32_t _transactionTable[1024][2];
119 int32_t _transactionCount;
123 #endif // NTV2_2022CONFIGTS_H I interrogate and control an AJA video/audio capture/playout device.
NTV2Channel
These enum values are mostly used to identify a specific widget_framestore. They're also commonly use...
Declares Transport Stream helper classes.
Enumerations for controlling NTV2 devices.
The CNTV2ConfigTs2022 class is the interface to Kona-IP SMPTE 2022 J2K encoder and TS chips...
Declares the CNTV2Config2022 class.
Defines the KonaIP/IoIP S2022 registers.
Declares the CNTV2Card class.
Declares the CNTV2MBController class.