aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Nvdec/FrameDecodedEventArgs.cs
blob: 4ee29d9d016f2619589368d74d7016dbd3d2c323 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Ryujinx.Graphics.Nvdec
{
    public readonly 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;
        }
    }
}