Enable HEVC RExt HW decoding for 4:2:2/4:4:4 content (#12664)

This commit is contained in:
Nyanmisaka
2024-09-19 21:14:18 +08:00
committed by GitHub
parent 03aa37731b
commit 93db8990d9
2 changed files with 147 additions and 40 deletions

View File

@@ -46,6 +46,8 @@ public class EncodingOptions
DeinterlaceMethod = DeinterlaceMethod.yadif;
EnableDecodingColorDepth10Hevc = true;
EnableDecodingColorDepth10Vp9 = true;
EnableDecodingColorDepth10HevcRext = false;
EnableDecodingColorDepth12HevcRext = false;
// Enhanced Nvdec or system native decoder is required for DoVi to SDR tone-mapping.
EnableEnhancedNvdecDecoder = true;
PreferSystemNativeHwDecoder = true;
@@ -234,6 +236,16 @@ public class EncodingOptions
/// </summary>
public bool EnableDecodingColorDepth10Vp9 { get; set; }
/// <summary>
/// Gets or sets a value indicating whether 8/10bit HEVC RExt decoding is enabled.
/// </summary>
public bool EnableDecodingColorDepth10HevcRext { get; set; }
/// <summary>
/// Gets or sets a value indicating whether 12bit HEVC RExt decoding is enabled.
/// </summary>
public bool EnableDecodingColorDepth12HevcRext { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the enhanced NVDEC is enabled.
/// </summary>