aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Nvdec/FrameDecodedEventArgs.cs
blob: f5074f4854da9764eaeb250ccb9ac5809fc63ab2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Ryujinx.Graphics.Nvdec
{
    public struct FrameDecodedEventArgs
    {
        public CodecId CodecId { get; }
        public uint LumaOffset { get; }
        public uint ChromaOffset { get; }

        internal FrameDecodedEventArgs(CodecId codecId, uint lumaOffset, uint chromaOffset)
        {
            CodecId = codecId;
            LumaOffset = lumaOffset;
            ChromaOffset = chromaOffset;
        }
    }
}