]> granicus.if.org Git - handbrake/commitdiff
Interop: Adding missing file from previous checkin.
authorrandomengy <david.rickard@gmail.com>
Fri, 21 Sep 2012 01:01:32 +0000 (01:01 +0000)
committerrandomengy <david.rickard@gmail.com>
Fri, 21 Sep 2012 01:01:32 +0000 (01:01 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4971 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_filter.cs [new file with mode: 0644]

diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_filter.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_filter.cs
new file mode 100644 (file)
index 0000000..068564c
--- /dev/null
@@ -0,0 +1,53 @@
+// --------------------------------------------------------------------------------------------------------------------\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