 |
AJA NTV2 SDK
18.0.0.2717
NTV2 SDK 18.0.0.2717
|
Go to the documentation of this file.
36 if ((card ==
NULL) || (display ==
NULL) || (size == 0))
40 snprintf(display, size,
"%s", str.c_str());
46 if ((card ==
NULL) || (description ==
NULL) || (size == 0))
50 snprintf(description, size,
"%s", str.c_str());
56 if ((card ==
NULL) || (serial ==
NULL) || (size == 0))
62 snprintf(serial, size,
"%s", str.c_str());
68 if ((card ==
NULL) || (data ==
NULL))
virtual bool ReadRegister(const ULWord inRegNum, ULWord &outValue, const ULWord inMask=0xFFFFFFFF, const ULWord inShift=0)
Reads all or part of the 32-bit contents of a specific register (real or virtual) on the AJA device....
bool ntv2card_open(int index, void **card)
void ntv2card_close(void *card)
Simple C interface for NTV2.
virtual std::string GetModelName(void)
Answers with this device's model name.
virtual std::string GetDisplayName(void)
Answers with this device's display name.
bool ntv2card_get_display_name(void *card, char *display, int size)
bool ntv2card_register_write(void *card, unsigned int reg, unsigned int data)
bool ntv2card_get_serial_number(void *card, char *serial, int size)
Declares the CNTV2Card class.
virtual bool GetSerialNumberString(std::string &outSerialNumberString)
Answers with a string that contains my human-readable serial number.
I interrogate and control an AJA video/audio capture/playout device.
bool ntv2card_register_read(void *card, unsigned int reg, unsigned int *data)
bool ntv2card_get_description(void *card, char *description, int size)
virtual bool WriteRegister(const ULWord inRegNum, const ULWord inValue, const ULWord inMask=0xFFFFFFFF, const ULWord inShift=0)
Updates or replaces all or part of the 32-bit contents of a specific register (real or virtual) on th...