FrameDecodedEventArgs.cs 445 B

12345678910111213141516
  1. namespace Ryujinx.Graphics.Nvdec
  2. {
  3. public readonly struct FrameDecodedEventArgs
  4. {
  5. public CodecId CodecId { get; }
  6. public uint LumaOffset { get; }
  7. public uint ChromaOffset { get; }
  8. internal FrameDecodedEventArgs(CodecId codecId, uint lumaOffset, uint chromaOffset)
  9. {
  10. CodecId = codecId;
  11. LumaOffset = lumaOffset;
  12. ChromaOffset = chromaOffset;
  13. }
  14. }
  15. }