MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
example_helpers.h File Reference

Some common functions used in examples. More...

#include "rtp/rtp_types.h"
Include dependency graph for example_helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

mediax::rtp::ColourspaceType GetMode (int mode)
 Get the Mode as an enum.
 
std::string ModeToString (int mode)
 Convert a mode to a string.
 

Detailed Description

Some common functions used in examples.

Function Documentation

◆ GetMode()

mediax::rtp::ColourspaceType GetMode ( int  mode)

Get the Mode as an enum.

Parameters
mode
Returns
mediax::rtp::ColourspaceType

◆ ModeToString()

std::string ModeToString ( int  mode)

Convert a mode to a string.

Parameters
mode
Returns
std::string