1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #ifndef MEDIA_BASE_VP9_PROFILE_H_
- #define MEDIA_BASE_VP9_PROFILE_H_
- #include <string>
- #include "absl/types/optional.h"
- #include "api/video_codecs/sdp_video_format.h"
- #include "rtc_base/system/rtc_export.h"
- namespace webrtc {
- extern RTC_EXPORT const char kVP9FmtpProfileId[];
- enum class VP9Profile {
- kProfile0,
- kProfile1,
- kProfile2,
- };
- RTC_EXPORT std::string VP9ProfileToString(VP9Profile profile);
- absl::optional<VP9Profile> StringToVP9Profile(const std::string& str);
- RTC_EXPORT absl::optional<VP9Profile> ParseSdpForVP9Profile(
- const SdpVideoFormat::Parameters& params);
- bool IsSameVP9Profile(const SdpVideoFormat::Parameters& params1,
- const SdpVideoFormat::Parameters& params2);
- }
- #endif
|