diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-08-11 18:07:37 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 18:07:37 -0300 |
commit | a5ff0024fb33964c802e1712e5b11a52390603e7 (patch) | |
tree | fdc0b7781541215cd728b8e0288b729f73dbad88 /Ryujinx.Graphics.Nvdec.Vp9/LoopFilter.cs | |
parent | f9661a54d21c3020783d14fd9935bb7b741a6915 (diff) |
Rename ToSpan to AsSpan (#3556)1.1.211
Diffstat (limited to 'Ryujinx.Graphics.Nvdec.Vp9/LoopFilter.cs')
-rw-r--r-- | Ryujinx.Graphics.Nvdec.Vp9/LoopFilter.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.Graphics.Nvdec.Vp9/LoopFilter.cs b/Ryujinx.Graphics.Nvdec.Vp9/LoopFilter.cs index 13006934..9ecccc64 100644 --- a/Ryujinx.Graphics.Nvdec.Vp9/LoopFilter.cs +++ b/Ryujinx.Graphics.Nvdec.Vp9/LoopFilter.cs @@ -359,8 +359,8 @@ namespace Ryujinx.Graphics.Nvdec.Vp9 blockInsideLimit = 1; } - lfi.Lfthr[lvl].Lim.ToSpan().Fill((byte)blockInsideLimit); - lfi.Lfthr[lvl].Mblim.ToSpan().Fill((byte)(2 * (lvl + 2) + blockInsideLimit)); + lfi.Lfthr[lvl].Lim.AsSpan().Fill((byte)blockInsideLimit); + lfi.Lfthr[lvl].Mblim.AsSpan().Fill((byte)(2 * (lvl + 2) + blockInsideLimit)); } } @@ -395,7 +395,7 @@ namespace Ryujinx.Graphics.Nvdec.Vp9 { // We could get rid of this if we assume that deltas are set to // zero when not in use; encoder always uses deltas - MemoryMarshal.Cast<Array2<byte>, byte>(lfi.Lvl[segId].ToSpan()).Fill((byte)lvlSeg); + MemoryMarshal.Cast<Array2<byte>, byte>(lfi.Lvl[segId].AsSpan()).Fill((byte)lvlSeg); } else { |