2022-07-14 14:13:23 +01:00
using System ;
namespace Ryujinx.Graphics.Nvdec.FFmpeg.Native
{
2022-11-02 08:26:50 +00:00
struct FFCodec < T > where T : struct
2022-07-14 14:13:23 +01:00
{
#pragma warning disable CS0649
2022-11-02 08:26:50 +00:00
public T Base ;
2022-07-14 14:13:23 +01:00
public int CapsInternalOrCbType ;
public int PrivDataSize ;
public IntPtr UpdateThreadContext ;
public IntPtr UpdateThreadContextForUser ;
public IntPtr Defaults ;
public IntPtr InitStaticData ;
public IntPtr Init ;
public IntPtr CodecCallback ;
#pragma warning restore CS0649
// NOTE: There is more after, but the layout kind of changed a bit and we don't need more than this. This is safe as we only manipulate this behind a reference.
}
}