aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs')
-rw-r--r--src/Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs b/src/Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs
new file mode 100644
index 00000000..333a077a
--- /dev/null
+++ b/src/Ryujinx.Graphics.Nvdec.Vp9/TileWorkerData.cs
@@ -0,0 +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;
+ }
+}