Add Basic Native Encoder Object Structure (Not Working)

This commit is contained in:
copecone committed 2026-06-02 15:59:51 +09:00
1 parent c6356a28f0
commit bfdfa9beb7
10 files changed
+375 -255

No files matched your search

+2 -11
View File
@@ -53,14 +53,6 @@ namespace ADOFAIRenderer.Core
public int throttleCount;
public bool isThrottling;
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum BitrateControlMode
{
CBR,
VBR,
CQP
}
public struct RenderSettings
{
public double TargetFPS;
@@ -69,7 +61,7 @@ namespace ADOFAIRenderer.Core
public int RenderWidth;
public int RenderHeight;
public BitrateControlMode BitrateMode;
public RateControlMode BitrateMode;
public int Bitrate;
public int MaxBitrate;
public int QP;
@@ -80,7 +72,7 @@ namespace ADOFAIRenderer.Core
public int? RandomSeed;
public RenderSettings(double targetFPS, double videoFPS, int renderWidth, int renderHeight,
BitrateControlMode bitrateMode, int bitrate, int maxBitrate, int qp,
RateControlMode bitrateMode, int bitrate, int maxBitrate, int qp,
string codec, double endWaitTime, bool showHitText, int? randomSeed)
{
TargetFPS = targetFPS;
@@ -442,7 +434,6 @@ namespace ADOFAIRenderer.Core
DontDestroyOnLoad(_debugMonitorObj);
}
FFmpegProcess.FFmpegPath = ffmpegPath;
lock (ImageQueue)
{
ImageQueue.Clear();