diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-08-06 18:40:41 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-06 23:40:41 +0200 |
| commit | 157ad3f54f6f8b16f9bf4004d3dc954197eaf66a (patch) | |
| tree | 0e66caf5a1b9ca8d4f77a7a63af026ea450e6427 /Ryujinx.Graphics.Nvdec.Vp9/Types | |
| parent | ee22517d92c48eab9643b6fc8ce4dac2b7e95f57 (diff) | |
Silence several build warnings (#1428)
* Silence several build warnings
* Remove fixed buffers from NVDEC struct
* Remove unused field and usings
* Fix wrong name
* Silence more warning on H264 PictureInfo
Diffstat (limited to 'Ryujinx.Graphics.Nvdec.Vp9/Types')
| -rw-r--r-- | Ryujinx.Graphics.Nvdec.Vp9/Types/LoopFilterThresh.cs | 2 | ||||
| -rw-r--r-- | Ryujinx.Graphics.Nvdec.Vp9/Types/Vp9Common.cs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Nvdec.Vp9/Types/LoopFilterThresh.cs b/Ryujinx.Graphics.Nvdec.Vp9/Types/LoopFilterThresh.cs index bea1d115..edd79af4 100644 --- a/Ryujinx.Graphics.Nvdec.Vp9/Types/LoopFilterThresh.cs +++ b/Ryujinx.Graphics.Nvdec.Vp9/Types/LoopFilterThresh.cs @@ -6,8 +6,10 @@ namespace Ryujinx.Graphics.Nvdec.Vp9.Types // passed it can be loaded into vector registers. internal struct LoopFilterThresh { +#pragma warning disable CS0649 public Array16<byte> Mblim; public Array16<byte> Lim; public Array16<byte> HevThr; +#pragma warning restore CS0649 } } diff --git a/Ryujinx.Graphics.Nvdec.Vp9/Types/Vp9Common.cs b/Ryujinx.Graphics.Nvdec.Vp9/Types/Vp9Common.cs index 0dafb820..f33ea93f 100644 --- a/Ryujinx.Graphics.Nvdec.Vp9/Types/Vp9Common.cs +++ b/Ryujinx.Graphics.Nvdec.Vp9/Types/Vp9Common.cs @@ -89,7 +89,6 @@ namespace Ryujinx.Graphics.Nvdec.Vp9.Types public ArrayPtr<sbyte> AboveSegContext; public ArrayPtr<sbyte> AboveContext; - public int AboveContextAllocCols; public bool FrameIsIntraOnly() { |
