aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Nvdec.FFmpeg/Native/AVCodec.cs
blob: 0267000c83434681a043f3aa29c0ff408d9e36ab (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
using System;

namespace Ryujinx.Graphics.Nvdec.FFmpeg.Native
{
    struct AVCodec
    {
#pragma warning disable CS0649 // Field is never assigned to
        public unsafe byte* Name;
        public unsafe byte* LongName;
        public int Type;
        public AVCodecID Id;
        public int Capabilities;
        public byte MaxLowRes;
        public unsafe AVRational* SupportedFramerates;
        public IntPtr PixFmts;
        public IntPtr SupportedSamplerates;
        public IntPtr SampleFmts;
        // Deprecated
        public unsafe ulong* ChannelLayouts;
        public unsafe IntPtr PrivClass;
        public IntPtr Profiles;
        public unsafe byte* WrapperName;
        public IntPtr ChLayouts;
#pragma warning restore CS0649
    }
}