contrib:d3d9: add defines necessary to handle different deinterlacing algorithms
[vlc.git] / modules / demux / playlist / playlist.h
blobd9a6d7c478c0f4842bcd4c96c16c88bcebf81678
1 /*****************************************************************************
2 * playlist.h: Playlist import module common functions
3 *****************************************************************************
4 * Copyright (C) 2004 VLC authors and VideoLAN
5 * $Id$
7 * Authors: Sigmund Augdal Helberg <dnumgis@videolan.org>
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU Lesser General Public License as published by
11 * the Free Software Foundation; either version 2.1 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with this program; if not, write to the Free Software Foundation,
21 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #include <vlc_input.h>
26 char *ProcessMRL( const char *, const char * );
28 int Import_M3U ( vlc_object_t * );
30 int Import_RAM ( vlc_object_t * );
32 int Import_PLS ( vlc_object_t * );
34 int Import_B4S ( vlc_object_t * );
36 int Import_DVB ( vlc_object_t * );
38 int Import_podcast ( vlc_object_t * );
40 int Import_xspf ( vlc_object_t * );
41 void Close_xspf ( vlc_object_t * );
43 int Import_Shoutcast ( vlc_object_t * );
45 int Import_ASX ( vlc_object_t * );
47 int Import_SGIMB ( vlc_object_t * );
48 void Close_SGIMB ( vlc_object_t * );
50 int Import_QTL ( vlc_object_t * );
52 int Import_IFO ( vlc_object_t * );
53 void Close_IFO ( vlc_object_t * );
55 int Import_iTML ( vlc_object_t * );
57 int Import_WPL ( vlc_object_t * );
58 void Close_WPL ( vlc_object_t * );
60 #define GetCurrentItem(obj) input_GetItem((obj)->p_input)
61 #define GetSource(obj) ((obj)->p_source)
63 #define CHECK_FILE(obj) \
64 do { \
65 if( vlc_stream_Control( GetSource(obj), \
66 STREAM_IS_DIRECTORY ) == VLC_SUCCESS ) \
67 return VLC_EGENERIC; \
68 } while(0)