summaryrefslogtreecommitdiff
path: root/src/video_out/deinterlace.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-09-16 15:14:30 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-09-16 15:14:30 +0000
commitce153b6b3b234f8cbc5c48119b4a3c2538e1fd17 (patch)
tree844d932da7964901f0b4a3c8b1407a00735472b2 /src/video_out/deinterlace.h
parent849562a897431915fd760f83524de0ac8e81c548 (diff)
downloadxine-lib-ce153b6b3b234f8cbc5c48119b4a3c2538e1fd17.tar.gz
xine-lib-ce153b6b3b234f8cbc5c48119b4a3c2538e1fd17.tar.bz2
software deinterlacer filter (BOB)
currently only working with Xv and MMX CVS patchset: 641 CVS date: 2001/09/16 15:14:30
Diffstat (limited to 'src/video_out/deinterlace.h')
-rw-r--r--src/video_out/deinterlace.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/video_out/deinterlace.h b/src/video_out/deinterlace.h
new file mode 100644
index 000000000..fc9e69bd4
--- /dev/null
+++ b/src/video_out/deinterlace.h
@@ -0,0 +1,39 @@
+ /*
+ * Copyright (C) 2001 the xine project
+ *
+ * This file is part of xine, a unix video player.
+ *
+ * xine is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * xine is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Deinterlace routines by Miguel Freitas
+ * based of DScaler project sources (deinterlace.sourceforge.net)
+ *
+ * Currently only available for Xv driver and MMX extensions
+ *
+ */
+
+#ifndef __DEINTERLACE_H__
+#define __DEINTERLACE_H__
+
+#include "video_out.h"
+
+void deinterlace_yuv( uint8_t *pdst, uint8_t *psrc,
+ int width, int height, int method );
+
+
+#define DEINTERLACE_NONE 0
+#define DEINTERLACE_BOB 1
+
+#endif