ReferenceFrame.cs
1 using Ryujinx.Common.Memory; 2 3 namespace Ryujinx.Graphics.Nvdec.Types.H264 4 { 5 struct ReferenceFrame 6 { 7 #pragma warning disable CS0649 // Field is never assigned to 8 public uint Flags; 9 public Array2<uint> FieldOrderCnt; 10 public uint FrameNum; 11 #pragma warning restore CS0649 12 13 public readonly uint OutputSurfaceIndex => (uint)Flags & 0x7f; 14 } 15 }