From 07c7f911312f4a72872507185a3088685d171ca4 Mon Sep 17 00:00:00 2001
From: randomengy <david.rickard@gmail.com>
Date: Fri, 21 Sep 2012 01:01:32 +0000
Subject: [PATCH] Interop: Adding missing file from previous checkin.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4971 b64f7644-9d1e-0410-96f1-a4d463321fa5
---
 .../HandBrakeInterop/HbLib/hb_filter.cs       | 53 +++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100644 win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_filter.cs

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,
+	}
+}
-- 
2.40.0