--- /dev/null
+// --------------------------------------------------------------------------------------------------------------------\r
+// <copyright file="hb_filter.cs" company="HandBrake Project (http://handbrake.fr)">\r
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.\r
+// </copyright>\r
+// <auto-generated> Disable Stylecop Warnings for this file </auto-generated>\r
+// --------------------------------------------------------------------------------------------------------------------\r
+\r
+namespace HandBrake.Interop.HbLib\r
+{\r
+ using System;\r
+ using System.Runtime.InteropServices;\r
+\r
+ [StructLayout(LayoutKind.Sequential)]\r
+ public struct hb_filter_object_s\r
+ {\r
+ public int id;\r
+ public int enforce_order;\r
+ public IntPtr name;\r
+ public IntPtr settings;\r
+\r
+ // Internal stuff we need to marshal\r
+ public IntPtr init;\r
+ public IntPtr work;\r
+ public IntPtr close;\r
+ public IntPtr info;\r
+ public IntPtr fifo_in;\r
+ public IntPtr fifo_out;\r
+ public IntPtr subtitle;\r
+ public IntPtr private_data;\r
+ public IntPtr thread;\r
+ public IntPtr done;\r
+ public int status;\r
+ public int chapter_val;\r
+ public long chapter_time;\r
+ }\r
+\r
+ public enum hb_filter_ids\r
+ {\r
+ // First, filters that may change the framerate (drop or dup frames)\r
+ HB_FILTER_DETELECINE = 1,\r
+ HB_FILTER_DECOMB,\r
+ HB_FILTER_DEINTERLACE,\r
+ HB_FILTER_VFR,\r
+ // Filters that must operate on the original source image are next\r
+ HB_FILTER_DEBLOCK,\r
+ HB_FILTER_DENOISE,\r
+ HB_FILTER_RENDER_SUB,\r
+ HB_FILTER_CROP_SCALE,\r
+ // Finally filters that don't care what order they are in,\r
+ // except that they must be after the above filters\r
+ HB_FILTER_ROTATE,\r
+ }\r
+}\r