2020-01-13 00:52:30 +00:00
|
|
|
// FFMPEG Video Encoder Integration for OBS Studio
|
|
|
|
// Copyright (c) 2019 Michael Fabian Dirks <info@xaymar.com>
|
|
|
|
//
|
|
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
|
|
// in the Software without restriction, including without limitation the rights
|
|
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
|
|
// furnished to do so, subject to the following conditions:
|
|
|
|
//
|
|
|
|
// The above copyright notice and this permission notice shall be included in all
|
|
|
|
// copies or substantial portions of the Software.
|
|
|
|
//
|
|
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
// SOFTWARE.
|
|
|
|
|
|
|
|
#pragma once
|
2020-04-04 17:16:28 +00:00
|
|
|
#include "common.hpp"
|
2020-01-13 00:52:30 +00:00
|
|
|
|
|
|
|
// Codec: ProRes
|
2021-06-08 02:09:22 +00:00
|
|
|
#define S_CODEC_PRORES "Codec.ProRes"
|
|
|
|
#define S_CODEC_PRORES_PROFILE "Codec.ProRes.Profile"
|
|
|
|
#define S_CODEC_PRORES_PROFILE_APCS "Codec.ProRes.Profile.APCS"
|
|
|
|
#define S_CODEC_PRORES_PROFILE_APCO "Codec.ProRes.Profile.APCO"
|
|
|
|
#define S_CODEC_PRORES_PROFILE_APCN "Codec.ProRes.Profile.APCN"
|
|
|
|
#define S_CODEC_PRORES_PROFILE_APCH "Codec.ProRes.Profile.APCH"
|
|
|
|
#define S_CODEC_PRORES_PROFILE_AP4H "Codec.ProRes.Profile.AP4H"
|
|
|
|
#define S_CODEC_PRORES_PROFILE_AP4X "Codec.ProRes.Profile.AP4X"
|
2020-04-04 17:16:28 +00:00
|
|
|
|
2020-04-05 16:52:06 +00:00
|
|
|
namespace streamfx::encoder::codec::prores {
|
2020-08-10 01:29:05 +00:00
|
|
|
enum class profile : int32_t {
|
2020-04-05 04:13:14 +00:00
|
|
|
APCO = 0,
|
2020-04-04 17:16:28 +00:00
|
|
|
Y422_PROXY = APCO,
|
2020-04-05 04:13:14 +00:00
|
|
|
APCS = 1,
|
|
|
|
Y422_LT = APCS,
|
|
|
|
APCN = 2,
|
|
|
|
Y422 = APCN,
|
|
|
|
APCH = 3,
|
|
|
|
Y422_HQ = APCH,
|
|
|
|
AP4H = 4,
|
|
|
|
Y4444 = AP4H,
|
|
|
|
AP4X = 5,
|
|
|
|
Y4444_XQ = AP4X,
|
2020-04-04 17:16:28 +00:00
|
|
|
_COUNT,
|
|
|
|
};
|
|
|
|
}
|