From a9dd20341232311cec40e95281cd732d4182c51d Mon Sep 17 00:00:00 2001 From: gdk Date: Sat, 4 Feb 2023 21:06:49 -0300 Subject: [PATCH] Initialize loop filter parameters --- src/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs b/src/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs index 3a729a54a..7f50aab3f 100644 --- a/src/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs +++ b/src/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs @@ -110,6 +110,11 @@ namespace Ryujinx.Graphics.Nvdec.Vp9 cm.SetMvs(mvsIn); + if (cm.Lf.FilterLevel != 0 && cm.SkipLoopFilter == 0) + { + LoopFilter.LoopFilterFrameInit(ref cm, cm.Lf.FilterLevel); + } + fixed (byte* dataPtr = bitstream) { try