aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Nvdec/Types/H264/ReferenceFrame.cs
blob: d205a47a45af959c3e9587ed13e847e63c13192e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using Ryujinx.Common.Memory;

namespace Ryujinx.Graphics.Nvdec.Types.H264
{
    struct ReferenceFrame
    {
#pragma warning disable CS0649
        public uint Flags;
        public Array2<uint> FieldOrderCnt;
        public uint FrameNum;
#pragma warning restore CS0649

        public uint OutputSurfaceIndex => (uint)Flags & 0x7f;
    }
}