• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

libavformat/rm.h

Go to the documentation of this file.
00001 /*
00002  * "Real" compatible muxer and demuxer.
00003  * Copyright (c) 2000, 2001 Fabrice Bellard
00004  *
00005  * This file is part of FFmpeg.
00006  *
00007  * FFmpeg is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * FFmpeg is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with FFmpeg; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00020  */
00021 
00022 #ifndef AVFORMAT_RM_H
00023 #define AVFORMAT_RM_H
00024 
00025 #include "avformat.h"
00026 
00027 extern const char * const ff_rm_metadata[4];
00028 extern const unsigned char ff_sipr_subpk_size[4];
00029 
00030 typedef struct RMStream RMStream;
00031 
00032 RMStream *ff_rm_alloc_rmstream (void);
00033 void      ff_rm_free_rmstream  (RMStream *rms);
00034 
00035 /*< input format for Realmedia-style RTSP streams */
00036 extern AVInputFormat rdt_demuxer;
00037 
00050 int ff_rm_read_mdpr_codecdata (AVFormatContext *s, ByteIOContext *pb,
00051                                AVStream *st, RMStream *rst,
00052                                int codec_data_size);
00053 
00071 int ff_rm_parse_packet (AVFormatContext *s, ByteIOContext *pb,
00072                         AVStream *st, RMStream *rst, int len,
00073                         AVPacket *pkt, int *seq, int flags, int64_t ts);
00074 
00091 int ff_rm_retrieve_cache (AVFormatContext *s, ByteIOContext *pb,
00092                           AVStream *st, RMStream *rst, AVPacket *pkt);
00093 
00099 void ff_rm_reorder_sipr_data(uint8_t *buf, int sub_packet_h, int framesize);
00100 
00101 #endif /* AVFORMAT_RM_H */

Generated on Fri Sep 16 2011 17:17:50 for FFmpeg by  doxygen 1.7.1