00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef AVFORMAT_RM_H
00023 #define AVFORMAT_RM_H
00024
00025 #include "avformat.h"
00026 #include "internal.h"
00027
00028 extern const char * const ff_rm_metadata[4];
00029 extern const AVCodecTag ff_rm_codec_tags[];
00030
00031 typedef struct RMStream RMStream;
00032
00033 RMStream *ff_rm_alloc_rmstream (void);
00034 void ff_rm_free_rmstream (RMStream *rms);
00035
00036
00037 extern AVInputFormat ff_rdt_demuxer;
00038
00051 int ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVIOContext *pb,
00052 AVStream *st, RMStream *rst,
00053 int codec_data_size, const uint8_t *mime);
00054
00072 int ff_rm_parse_packet (AVFormatContext *s, AVIOContext *pb,
00073 AVStream *st, RMStream *rst, int len,
00074 AVPacket *pkt, int *seq, int flags, int64_t ts);
00075
00092 int ff_rm_retrieve_cache (AVFormatContext *s, AVIOContext *pb,
00093 AVStream *st, RMStream *rst, AVPacket *pkt);
00094
00095 #endif