aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Nvdec.Vp9/Types/MacroBlockDPlane.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Nvdec.Vp9/Types/MacroBlockDPlane.cs')
-rw-r--r--Ryujinx.Graphics.Nvdec.Vp9/Types/MacroBlockDPlane.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Nvdec.Vp9/Types/MacroBlockDPlane.cs b/Ryujinx.Graphics.Nvdec.Vp9/Types/MacroBlockDPlane.cs
new file mode 100644
index 00000000..ae4ec6f4
--- /dev/null
+++ b/Ryujinx.Graphics.Nvdec.Vp9/Types/MacroBlockDPlane.cs
@@ -0,0 +1,21 @@
+using Ryujinx.Common.Memory;
+
+namespace Ryujinx.Graphics.Nvdec.Vp9.Types
+{
+ internal struct MacroBlockDPlane
+ {
+ public ArrayPtr<int> DqCoeff;
+ public int SubsamplingX;
+ public int SubsamplingY;
+ public Buf2D Dst;
+ public Array2<Buf2D> Pre;
+ public ArrayPtr<sbyte> AboveContext;
+ public ArrayPtr<sbyte> LeftContext;
+ public Array8<Array2<short>> SegDequant;
+
+ // Number of 4x4s in current block
+ public ushort N4W, N4H;
+ // Log2 of N4W, N4H
+ public byte N4Wl, N4Hl;
+ }
+}