#include <StreamUtils.h>
|
static int | GetCodecPriority (const std::string &codec) |
|
static constexpr uint32_t | MakeFourCC (char c1, char c2, char c3, char c4) |
| Make a FourCC code as unsigned integer value.
|
|
static std::string | GetCodecName (int codecId, int profile) |
| Get the codec name translated from ffmpeg codec id and profile.
|
|
◆ GetCodecName()
std::string StreamUtils::GetCodecName |
( |
int |
codecId, |
|
|
int |
profile |
|
) |
| |
|
static |
Get the codec name translated from ffmpeg codec id and profile.
- Parameters
-
codecId | The ffmpeg codec id |
profile | The ffmpeg codec profile |
- Returns
- The codec name
◆ GetCodecPriority()
int StreamUtils::GetCodecPriority |
( |
const std::string & |
codec | ) |
|
|
static |
◆ MakeFourCC()
static constexpr uint32_t StreamUtils::MakeFourCC |
( |
char |
c1, |
|
|
char |
c2, |
|
|
char |
c3, |
|
|
char |
c4 |
|
) |
| |
|
inlinestaticconstexpr |
Make a FourCC code as unsigned integer value.
- Parameters
-
c1 | The first FourCC char |
c2 | The second FourCC char |
c3 | The third FourCC char |
c4 | The fourth FourCC char |
- Returns
- The FourCC as unsigned integer value
The documentation for this class was generated from the following files: