aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/VDec/H264ParameterSets.cs
blob: f242f0f245a9a8112c531f60358246d5474cdceb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System.Runtime.InteropServices;

namespace Ryujinx.Graphics.VDec
{
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    struct H264ParameterSets
    {
        public int  Log2MaxPicOrderCntLsbMinus4;
        public bool DeltaPicOrderAlwaysZeroFlag;
        public bool FrameMbsOnlyFlag;
        public int  PicWidthInMbs;
        public int  PicHeightInMapUnits;
        public int  Reserved6C;
        public bool EntropyCodingModeFlag;
        public bool BottomFieldPicOrderInFramePresentFlag;
        public int  NumRefIdxL0DefaultActiveMinus1;
        public int  NumRefIdxL1DefaultActiveMinus1;
        public bool DeblockingFilterControlPresentFlag;
        public bool RedundantPicCntPresentFlag;
        public bool Transform8x8ModeFlag;
        public int  Unknown8C;
        public int  Unknown90;
        public int  Reserved94;
        public int  Unknown98;
        public int  Reserved9C;
        public int  ReservedA0;
        public int  UnknownA4;
        public int  ReservedA8;
        public int  UnknownAC;
        public long Flags;
        public int  FrameNumber;
        public int  FrameNumber2;
    }
}