Files
ADOFAIRenderer/Data/RateControlMode.cs
T
2026-10-15 16:17:13 +09:00

20 lines
706 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.Diagnostics.CodeAnalysis;
namespace ADOFAIRenderer.Data;
/// <summary>Video bitrate control mode (see VideoEncodingConfig and FFmpegNativeEncoder.ApplyQualitySettings).</summary>
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum RateControlMode
{
/// <summary>Constant bitrate at VideoEncodingConfig.Bitrate (kbps).</summary>
CBR,
/// <summary>
/// Variable bitrate averaging VideoEncodingConfig.Bitrate (kbps), peaking at MaxBitrate (kbps) when it is larger,
/// otherwise at 1.5 × Bitrate.
/// </summary>
VBR,
/// <summary>Constant quality with VideoEncodingConfig.QP (lower is better; range depends on the encoder).</summary>
CQP
}