![]() |
MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
|
The Astute Systems (MediaX) library for video streaming. More...
Namespaces | |
namespace | qt6 |
The Qt wrappers namespace. | |
namespace | rtp |
The Real Time Protocol (RTP) namespace. | |
namespace | sap |
The Session Announcment Protocol (SAP)/ Session Description Protocol (SDP) namespace. | |
namespace | video |
The video functions namespace. | |
Data Structures | |
class | DisplayManagerBase |
The display manager class. More... | |
struct | Resolution |
The video resolution structure. More... | |
class | RtpSapRecieve |
A RTP SAP receiver helper class. More... | |
class | RtpSapTransmit |
A RTP SAP transmitter helper class. More... | |
Enumerations | |
enum class | Status { kSuccess = 0 , kFailure = 1 , kError = 2 , kTimeout = 3 } |
Enum of status. | |
Functions | |
void | InitRtp (int argc, char *argv[]) |
Initialize the RTP library, mainly needed for GStreamer support. | |
bool | IsRtpInitialised () |
Check if the RTP library has been initialized. | |
void | RtpCleanup () |
Finalise the RTP library, mainly needed for GStreamer support. | |
std::string | ColourspaceTypeToString (rtp::ColourspaceType) |
Convert enum to string. | |
rtp::ColourspaceType | ColourspaceTypeFromString (std::string_view) |
Convert string to enum. | |
uint8_t | BitsPerPixel (rtp::ColourspaceType mode) |
Get the number of bits per pixel for a given colour space. | |
uint8_t | BytesPerPixel (rtp::ColourspaceType mode) |
Get the number of bytes per pixel for a given colour space. | |
std::string | GetVersion () |
Get the MediaX version number. | |
int | GetVersionMajor () |
Get the MediaX version major number. | |
int | GetVersionMinor () |
Get the MediaX version minor number. | |
int | GetVersionPatch () |
Get the MediaX version patch number. | |
std::string | GetDate () |
Get the MediaX build date. | |
The Astute Systems (MediaX) library for video streaming.
uint8_t mediax::BitsPerPixel | ( | rtp::ColourspaceType | mode | ) |
Get the number of bits per pixel for a given colour space.
mode |
uint8_t mediax::BytesPerPixel | ( | rtp::ColourspaceType | mode | ) |
Get the number of bytes per pixel for a given colour space.
mode |
rtp::ColourspaceType mediax::ColourspaceTypeFromString | ( | std::string_view | ) |
Convert string to enum.
std::string mediax::ColourspaceTypeToString | ( | rtp::ColourspaceType | ) |
Convert enum to string.
void mediax::InitRtp | ( | int | argc, |
char * | argv[] | ||
) |
Initialize the RTP library, mainly needed for GStreamer support.
argc | from main, used to initialize GStreamer |
argv | from main, used to initialize GStreamer |
bool mediax::IsRtpInitialised | ( | ) |
Check if the RTP library has been initialized.