summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/Interop/Model/Preview/RawPreviewData.cs
blob: 8768d00545b43cef1f6ebc9bc8248fb0e11de4e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="RawPreviewData.cs" company="HandBrake Project (http://handbrake.fr)">
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace HandBrake.Interop.Interop.Model.Preview
{
    public class RawPreviewData
    {
        public RawPreviewData(byte[] rawBitmapData, int strideWidth, int strideHeight, int width, int height)
        {
            this.RawBitmapData = rawBitmapData;
            this.StrideWidth = strideWidth;
            this.StrideHeight = strideHeight;
            this.Width = width;
            this.Height = height;
        }

        public byte[] RawBitmapData { get; }
        public int StrideWidth { get; }
        public int StrideHeight { get; }
        public int Width { get; }
        public int Height { get; }
    }
}