FFCodec.cs 676 B

123456789101112131415161718192021
  1. using System;
  2. namespace Ryujinx.Graphics.Nvdec.FFmpeg.Native
  3. {
  4. struct FFCodec<T> where T: struct
  5. {
  6. #pragma warning disable CS0649
  7. public T Base;
  8. public int CapsInternalOrCbType;
  9. public int PrivDataSize;
  10. public IntPtr UpdateThreadContext;
  11. public IntPtr UpdateThreadContextForUser;
  12. public IntPtr Defaults;
  13. public IntPtr InitStaticData;
  14. public IntPtr Init;
  15. public IntPtr CodecCallback;
  16. #pragma warning restore CS0649
  17. // 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.
  18. }
  19. }