2023-02-28 01:15:26 +00:00
|
|
|
// AUTOGENERATED COPYRIGHT HEADER START
|
|
|
|
// Copyright (C) 2021-2023 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
|
|
|
|
// AUTOGENERATED COPYRIGHT HEADER END
|
2021-08-28 12:36:42 +00:00
|
|
|
|
|
|
|
#include "av1.hpp"
|
|
|
|
|
|
|
|
const char* streamfx::encoder::codec::av1::profile_to_string(profile p)
|
|
|
|
{
|
|
|
|
switch (p) {
|
|
|
|
case profile::MAIN:
|
|
|
|
return D_TRANSLATE(S_CODEC_AV1_PROFILE ".Main");
|
|
|
|
case profile::HIGH:
|
|
|
|
return D_TRANSLATE(S_CODEC_AV1_PROFILE ".High");
|
|
|
|
case profile::PROFESSIONAL:
|
|
|
|
return D_TRANSLATE(S_CODEC_AV1_PROFILE ".Professional");
|
|
|
|
default:
|
|
|
|
return "Unknown";
|
|
|
|
}
|
|
|
|
}
|