2022-07-14 15:13:23 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Nvdec.FFmpeg.Native
|
|
|
|
|
{
|
|
|
|
|
struct AVCodec
|
|
|
|
|
{
|
2023-06-25 19:03:48 +02:00
|
|
|
|
#pragma warning disable CS0649 // Field is never assigned to
|
2022-07-14 15:13:23 +02:00
|
|
|
|
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;
|
2022-11-02 09:26:50 +01:00
|
|
|
|
public IntPtr ChLayouts;
|
2022-07-14 15:13:23 +02:00
|
|
|
|
#pragma warning restore CS0649
|
|
|
|
|
}
|
|
|
|
|
}
|