aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Nvdec/Types/H264/ReferenceFrame.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Nvdec/Types/H264/ReferenceFrame.cs')
-rw-r--r--Ryujinx.Graphics.Nvdec/Types/H264/ReferenceFrame.cs13
1 files changed, 8 insertions, 5 deletions
diff --git a/Ryujinx.Graphics.Nvdec/Types/H264/ReferenceFrame.cs b/Ryujinx.Graphics.Nvdec/Types/H264/ReferenceFrame.cs
index 163a8783..d205a47a 100644
--- a/Ryujinx.Graphics.Nvdec/Types/H264/ReferenceFrame.cs
+++ b/Ryujinx.Graphics.Nvdec/Types/H264/ReferenceFrame.cs
@@ -1,12 +1,15 @@
-namespace Ryujinx.Graphics.Nvdec.Types.H264
+using Ryujinx.Common.Memory;
+
+namespace Ryujinx.Graphics.Nvdec.Types.H264
{
struct ReferenceFrame
{
#pragma warning disable CS0649
- public uint Unknown0;
- public uint Unknown4;
- public uint Unknown8;
- public uint UnknownC;
+ public uint Flags;
+ public Array2<uint> FieldOrderCnt;
+ public uint FrameNum;
#pragma warning restore CS0649
+
+ public uint OutputSurfaceIndex => (uint)Flags & 0x7f;
}
}