summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/Interop/HbLib/hb_image_s.cs
blob: 5e2dc9443ef7f076fd9890ba1c244e620e68668b (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="hb_image_s.cs" company="HandBrake Project (https://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>
// <summary>
//   Defines the hb_image_s type.
// </summary>
// <auto-generated> Disable Stylecop. HandBrake internal object. </auto-generated>
// --------------------------------------------------------------------------------------------------------------------

// ReSharper disable InconsistentNaming
// ReSharper disable UnusedMember.Global
namespace HandBrake.Interop.Interop.HbLib
{
    using System;
    using System.Runtime.InteropServices;

    /// <summary>
    /// The hb_image_s.
    /// </summary>
    internal struct hb_image_s
    {
#pragma warning disable 0649
        public int format;
        public int max_plane;
        public int width;
        public int height;
        public IntPtr data;

        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4, ArraySubType = UnmanagedType.I4)]
        public image_plane[] plane;
#pragma warning restore 0649
    }

    /// <summary>
    /// The image_plane.
    /// </summary>
    internal struct image_plane
    {
#pragma warning disable 0649
        public IntPtr data;
        public int width;
        public int height;
        public int stride;
        public int height_stride;
        public int size;
#pragma warning restore 0649
    }
}