![]() |
AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Implementation of the CNTV2LinuxDriverInterface class. More...
#include "ntv2linuxdriverinterface.h"#include "ntv2linuxpublicinterface.h"#include "ntv2utils.h"#include "ajabase/system/debug.h"#include <fcntl.h>#include <sys/ioctl.h>#include <sys/mman.h>Go to the source code of this file.
Macros | |
| #define | HEX2(__x__) "0x" << hex << setw(2) << setfill('0') << (0xFF & uint8_t (__x__)) << dec |
| #define | HEX4(__x__) "0x" << hex << setw(4) << setfill('0') << (0xFFFF & uint16_t(__x__)) << dec |
| #define | HEX8(__x__) "0x" << hex << setw(8) << setfill('0') << (0xFFFFFFFF & uint32_t(__x__)) << dec |
| #define | HEX16(__x__) "0x" << hex << setw(16) << setfill('0') << uint64_t(__x__) << dec |
| #define | INSTP(_p_) HEX16(uint64_t(_p_)) |
| #define | LDIFAIL(__x__) AJA_sERROR (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
| #define | LDIWARN(__x__) AJA_sWARNING(AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
| #define | LDINOTE(__x__) AJA_sNOTICE (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
| #define | LDIINFO(__x__) AJA_sINFO (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
| #define | LDIDBG(__x__) AJA_sDEBUG (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
| #define | AsFrameStampStructPtr(_p_) reinterpret_cast<FRAME_STAMP_STRUCT*>(_p_) |
| #define | AsStatusStructPtr(_p_) reinterpret_cast<AUTOCIRCULATE_STATUS_STRUCT*>(_p_) |
| #define | AsTransferStatusStruct(_p_) reinterpret_cast<PAUTOCIRCULATE_TRANSFER_STATUS_STRUCT>(_p_) |
| #define | AsRoutingTablePtr(_p_) reinterpret_cast<NTV2RoutingTable*>(_p_) |
| #define | AsPTaskStruct(_p_) reinterpret_cast<PAUTOCIRCULATE_TASK_STRUCT>(_p_) |
| #define | AsPTransferStruct(_p_) reinterpret_cast<PAUTOCIRCULATE_TRANSFER_STRUCT>(_p_) |
| #define | AsVoidPtr(_p_) reinterpret_cast<void*>(_p_) |
| #define | ERRMSG(s) #s " failed" |
| #define | ERRMSG(s) #s " failed" |
| #define | ERRMSG(s) #s " failed" |
| #define | ERRMSG(s) #s " failed" |
Variables | |
| static const uint32_t | sIntEnumToStatKeys [] |
Implementation of the CNTV2LinuxDriverInterface class.
Definition in file ntv2linuxdriverinterface.cpp.
| #define AsFrameStampStructPtr | ( | _p_ | ) | reinterpret_cast<FRAME_STAMP_STRUCT*>(_p_) |
Definition at line 31 of file ntv2linuxdriverinterface.cpp.
| #define AsPTaskStruct | ( | _p_ | ) | reinterpret_cast<PAUTOCIRCULATE_TASK_STRUCT>(_p_) |
Definition at line 35 of file ntv2linuxdriverinterface.cpp.
| #define AsPTransferStruct | ( | _p_ | ) | reinterpret_cast<PAUTOCIRCULATE_TRANSFER_STRUCT>(_p_) |
Definition at line 36 of file ntv2linuxdriverinterface.cpp.
| #define AsRoutingTablePtr | ( | _p_ | ) | reinterpret_cast<NTV2RoutingTable*>(_p_) |
Definition at line 34 of file ntv2linuxdriverinterface.cpp.
| #define AsStatusStructPtr | ( | _p_ | ) | reinterpret_cast<AUTOCIRCULATE_STATUS_STRUCT*>(_p_) |
Definition at line 32 of file ntv2linuxdriverinterface.cpp.
| #define AsTransferStatusStruct | ( | _p_ | ) | reinterpret_cast<PAUTOCIRCULATE_TRANSFER_STATUS_STRUCT>(_p_) |
Definition at line 33 of file ntv2linuxdriverinterface.cpp.
| #define AsVoidPtr | ( | _p_ | ) | reinterpret_cast<void*>(_p_) |
Definition at line 37 of file ntv2linuxdriverinterface.cpp.
| #define ERRMSG | ( | s | ) | #s " failed" |
| #define ERRMSG | ( | s | ) | #s " failed" |
| #define ERRMSG | ( | s | ) | #s " failed" |
| #define ERRMSG | ( | s | ) | #s " failed" |
| #define HEX16 | ( | __x__ | ) | "0x" << hex << setw(16) << setfill('0') << uint64_t(__x__) << dec |
Definition at line 22 of file ntv2linuxdriverinterface.cpp.
| #define HEX2 | ( | __x__ | ) | "0x" << hex << setw(2) << setfill('0') << (0xFF & uint8_t (__x__)) << dec |
Definition at line 19 of file ntv2linuxdriverinterface.cpp.
| #define HEX4 | ( | __x__ | ) | "0x" << hex << setw(4) << setfill('0') << (0xFFFF & uint16_t(__x__)) << dec |
Definition at line 20 of file ntv2linuxdriverinterface.cpp.
| #define HEX8 | ( | __x__ | ) | "0x" << hex << setw(8) << setfill('0') << (0xFFFFFFFF & uint32_t(__x__)) << dec |
Definition at line 21 of file ntv2linuxdriverinterface.cpp.
| #define INSTP | ( | _p_ | ) | HEX16(uint64_t(_p_)) |
Definition at line 23 of file ntv2linuxdriverinterface.cpp.
| #define LDIDBG | ( | __x__ | ) | AJA_sDEBUG (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 29 of file ntv2linuxdriverinterface.cpp.
| #define LDIFAIL | ( | __x__ | ) | AJA_sERROR (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 25 of file ntv2linuxdriverinterface.cpp.
| #define LDIINFO | ( | __x__ | ) | AJA_sINFO (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 28 of file ntv2linuxdriverinterface.cpp.
| #define LDINOTE | ( | __x__ | ) | AJA_sNOTICE (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 27 of file ntv2linuxdriverinterface.cpp.
| #define LDIWARN | ( | __x__ | ) | AJA_sWARNING(AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__) |
Definition at line 26 of file ntv2linuxdriverinterface.cpp.
|
static |
Definition at line 277 of file ntv2linuxdriverinterface.cpp.