32constexpr int kFormatH264Vaapi = 5;
33constexpr int kFormatH265 = 6;
34constexpr int kFormatJpeg = 7;
35constexpr int kFormatAv1 = 8;
44int colourSpaceToInt(mediax::rtp::ColourspaceType colourspace,
bool vaapi =
false);
bool isVaapiH264Format(int colourspace)
Check if a stream format ID selects the VAAPI H.264 encoder.
Definition utils.cpp:86
mediax::rtp::ColourspaceType colourSpaceStringFromString(QString colourspace)
Convert the colour space string to an enum.
Definition utils.cpp:16
QString ColourspaceTypeToQString(mediax::rtp::ColourspaceType colourspace)
Convert the colour space to a string.
Definition utils.cpp:91
int colourSpaceToInt(mediax::rtp::ColourspaceType colourspace, bool vaapi=false)
Convert the colour space to a stream format ID.
Definition utils.cpp:39
constexpr int kFormatH264OpenH264
Stream format IDs: the index of the RTP table Encoding drop down, the colourspace column of CSV files...
Definition utils.h:31
mediax::rtp::ColourspaceType intToColourSpace(int colourspace)
Convert a stream format ID to a colour space.
Definition utils.cpp:61