summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorrandomengy <[email protected]>2012-09-21 01:01:32 +0000
committerrandomengy <[email protected]>2012-09-21 01:01:32 +0000
commit07c7f911312f4a72872507185a3088685d171ca4 (patch)
tree570a1350b10c5f52496dcaf8987e22ac41a2e7f8 /win/CS
parenteb883aebc401881e0a861df2e7d2a591a2ad4705 (diff)
Interop: Adding missing file from previous checkin.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4971 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_filter.cs53
1 files changed, 53 insertions, 0 deletions
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
index 000000000..068564c91
--- /dev/null
+++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_filter.cs
@@ -0,0 +1,53 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="hb_filter.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>
+// <auto-generated> Disable Stylecop Warnings for this file </auto-generated>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrake.Interop.HbLib
+{
+ using System;
+ using System.Runtime.InteropServices;
+
+ [StructLayout(LayoutKind.Sequential)]
+ public struct hb_filter_object_s
+ {
+ public int id;
+ public int enforce_order;
+ public IntPtr name;
+ public IntPtr settings;
+
+ // Internal stuff we need to marshal
+ public IntPtr init;
+ public IntPtr work;
+ public IntPtr close;
+ public IntPtr info;
+ public IntPtr fifo_in;
+ public IntPtr fifo_out;
+ public IntPtr subtitle;
+ public IntPtr private_data;
+ public IntPtr thread;
+ public IntPtr done;
+ public int status;
+ public int chapter_val;
+ public long chapter_time;
+ }
+
+ public enum hb_filter_ids
+ {
+ // First, filters that may change the framerate (drop or dup frames)
+ HB_FILTER_DETELECINE = 1,
+ HB_FILTER_DECOMB,
+ HB_FILTER_DEINTERLACE,
+ HB_FILTER_VFR,
+ // Filters that must operate on the original source image are next
+ HB_FILTER_DEBLOCK,
+ HB_FILTER_DENOISE,
+ HB_FILTER_RENDER_SUB,
+ HB_FILTER_CROP_SCALE,
+ // Finally filters that don't care what order they are in,
+ // except that they must be after the above filters
+ HB_FILTER_ROTATE,
+ }
+}