Implement VP9 loop filtering

* Initialize loop filter parameters
* Adjust docstrings for CodecError.cs
* Remove duplicate BitUtils methods
This commit is contained in:
gdkchan 2023-02-04 19:44:30 -03:00 committed by KeatonTheBot
parent 49b0927fd5
commit 7218c66565
79 changed files with 11328 additions and 3016 deletions

View file

@ -10,7 +10,7 @@ namespace Ryujinx.Graphics.Nvdec.Vp9.Common
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static byte ClipPixel(int val)
{
return (byte)((val > 255) ? 255 : (val < 0) ? 0 : val);
return (byte)(val > 255 ? 255 : val < 0 ? 0 : val);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@ -56,4 +56,4 @@ namespace Ryujinx.Graphics.Nvdec.Vp9.Common
return numValues > 0 ? GetMsb(numValues) + 1 : 0;
}
}
}
}