real.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * real.c: rtsp input
00003  *****************************************************************************
00004  * Copyright (C) 2002-2004 the xine project
00005  * Copyright (C) 2005 VideoLAN
00006  * $Id$
00007  *
00008  * Authors: Gildas Bazin <gbazin@videolan.org>
00009  *          Adapted from xine which itself adapted it from joschkas real tools.
00010  *
00011  * This program is free software; you can redistribute it and/or modify
00012  * it under the terms of the GNU General Public License as published by
00013  * the Free Software Foundation; either version 2 of the License, or
00014  * (at your option) any later version.
00015  *
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU General Public License
00022  * along with this program; if not, write to the Free Software
00023  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
00024  *****************************************************************************/
00025 #ifndef HAVE_REAL_H
00026 #define HAVE_REAL_H
00027 
00028 #ifdef HAVE_CONFIG_H 
00029 # include "config.h" 
00030 #endif
00031 
00032 #include <stdlib.h>
00033 #include <string.h>
00034 #include <inttypes.h>
00035 
00036 #include <vlc_common.h>
00037 #include "rtsp.h"
00038 #include "real_rmff.h"
00039 #include "real_sdpplin.h"
00040 
00041 #ifdef REALDEBUG
00042 #   define lprintf printf
00043 #else
00044     static inline void lprintf( const char *dummy, ... ) { (void)dummy; }
00045 #endif
00046 
00047 int real_get_rdt_chunk_header(rtsp_client_t *, rmff_pheader_t *);
00048 int real_get_rdt_chunk(rtsp_client_t *, rmff_pheader_t *, unsigned char **);
00049 rmff_header_t *real_setup_and_get_header(rtsp_client_t *, int bandwidth);
00050 
00051 int asmrp_match(const char *rules, int bandwidth, int *matches, int matchsize) ;
00052 
00053 #endif

Generated on Tue May 25 08:04:53 2010 for VLC by  doxygen 1.5.6