// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // Defines the hb_image_s type. // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrake.ApplicationServices.Interop.HbLib { using System; using System.Runtime.InteropServices; /// /// The hb_image_s. /// internal struct hb_image_s { public int format; public int width; public int height; public IntPtr data; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4, ArraySubType = UnmanagedType.I4)] public image_plane[] plane; } /// /// The image_plane. /// internal struct image_plane { public IntPtr data; public int width; public int height; public int stride; public int height_stride; public int size; } }