diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-02-10 21:54:42 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-11 01:54:42 +0100 |
| commit | c465d771dd099b0ffbb0792b3e74148e01259f19 (patch) | |
| tree | bec6a92ed01427f2300c417ed26de0b9d2361920 /Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs | |
| parent | 172ec326e598971f2251e5acdcfa65faa7291396 (diff) | |
Enable multithreaded VP9 decoding (#2009)
* Enable multithreaded VP9 decoding
* Limit the number of threads used for video decoding
Diffstat (limited to 'Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs')
| -rw-r--r-- | Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs b/Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs index 40557274..333a077a 100644 --- a/Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs +++ b/Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs @@ -1,14 +1,20 @@ using Ryujinx.Common.Memory; using Ryujinx.Graphics.Nvdec.Vp9.Dsp; using Ryujinx.Graphics.Nvdec.Vp9.Types; +using Ryujinx.Graphics.Video; namespace Ryujinx.Graphics.Nvdec.Vp9 { internal struct TileWorkerData { + public ArrayPtr<byte> DataEnd; + public int BufStart; + public int BufEnd; public Reader BitReader; + public Vp9BackwardUpdates Counts; public MacroBlockD Xd; /* dqcoeff are shared by all the planes. So planes must be decoded serially */ public Array32<Array32<int>> Dqcoeff; + public InternalErrorInfo ErrorInfo; } } |
