Add Preset Feature to Render Settings

This commit is contained in:
copecone committed 2026-07-03 12:25:54 +09:00
1 parent 4fbace630c
commit 59d16a7e90
5 files changed
+674 -71

No files matched your search

+16 -16
View File
@@ -4,31 +4,31 @@ namespace ADOFAIRenderer.Data
{
public class RenderConfig
{
public double RenderFPS;
public double VideoFPS;
public double RenderFPS { get; set; }
public double VideoFPS { get; set; }
public int RenderWidth;
public int RenderHeight;
public int RenderWidth { get; set; }
public int RenderHeight { get; set; }
public Codec Codec;
public EncodingConfig? EncodingConfig;
public Codec Codec { get; set; }
public EncodingConfig? EncodingConfig { get; set; }
public double DelayAfterLevelEnd;
public bool ShowJudgementText;
public double DelayAfterLevelEnd { get; set; }
public bool ShowJudgementText { get; set; }
public int? RandomSeed = null;
public bool ProcessAudio;
public int? RandomSeed { get; set; } = null;
public bool ProcessAudio { get; set; }
}
public class EncodingConfig
{
public RateControlMode RateControlMode;
public RateControlMode RateControlMode { get; set; }
public int Bitrate;
public int MaxBitrate;
public int Bitrate { get; set; }
public int MaxBitrate { get; set; }
// ReSharper disable once InconsistentNaming
public int QP;
public double KeyframeInterval;
public bool ForceSoftwareEncoder;
public int QP { get; set; }
public double KeyframeInterval { get; set; }
public bool ForceSoftwareEncoder { get; set; }
}
}