libpromeki 1.0.0-alpha
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
h264profilelevel.h
Go to the documentation of this file.
1
8#pragma once
9
10
11#include <promeki/config.h>
12#if PROMEKI_ENABLE_PROAV
13#include <promeki/namespace.h>
14#include <promeki/string.h>
15#include <promeki/enums_codec.h>
16
17PROMEKI_NAMESPACE_BEGIN
18
44class H264ProfileLevel {
45 public:
56 static H264Profile profileFromWire(const String &wire);
57
68 static String profileToWire(H264Profile profile);
69
81 static H264Profile autoProfile(int chromaFormatIDC, int bitDepth);
82
90 static int levelIdc(const String &level);
91};
92
93PROMEKI_NAMESPACE_END
94
95#endif // PROMEKI_ENABLE_PROAV