2010-07-30 15:04:27 +03:00
|
|
|
/*
|
|
|
|
* RTP depacketizer declarations
|
|
|
|
* Copyright (c) 2010 Martin Storsjo
|
|
|
|
*
|
2011-03-18 19:35:10 +02:00
|
|
|
* This file is part of Libav.
|
2010-07-30 15:04:27 +03:00
|
|
|
*
|
2011-03-18 19:35:10 +02:00
|
|
|
* Libav is free software; you can redistribute it and/or
|
2010-07-30 15:04:27 +03:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
2011-03-18 19:35:10 +02:00
|
|
|
* Libav is distributed in the hope that it will be useful,
|
2010-07-30 15:04:27 +03:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2011-03-18 19:35:10 +02:00
|
|
|
* License along with Libav; if not, write to the Free Software
|
2010-07-30 15:04:27 +03:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AVFORMAT_RTPDEC_FORMATS_H
|
|
|
|
#define AVFORMAT_RTPDEC_FORMATS_H
|
|
|
|
|
|
|
|
#include "rtpdec.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Parse a Windows Media Server-specific SDP line
|
|
|
|
*
|
|
|
|
* @param s RTSP demux context
|
|
|
|
*/
|
|
|
|
int ff_wms_parse_sdp_a_line(AVFormatContext *s, const char *p);
|
|
|
|
|
2012-02-17 11:27:41 +03:00
|
|
|
int ff_h263_handle_packet(AVFormatContext *ctx, PayloadContext *data,
|
|
|
|
AVStream *st, AVPacket *pkt, uint32_t *timestamp,
|
2012-12-10 15:38:32 +03:00
|
|
|
const uint8_t *buf, int len, uint16_t seq, int flags);
|
2012-02-17 11:27:41 +03:00
|
|
|
|
2015-02-19 22:18:55 +02:00
|
|
|
int ff_h264_parse_sprop_parameter_sets(AVFormatContext *s,
|
|
|
|
uint8_t **data_ptr, int *size_ptr,
|
|
|
|
const char *value);
|
|
|
|
int ff_h264_handle_aggregated_packet(AVFormatContext *ctx, AVPacket *pkt,
|
|
|
|
const uint8_t *buf, int len,
|
|
|
|
int start_skip, int *nal_counters,
|
|
|
|
int nal_mask);
|
2015-02-23 23:28:34 +02:00
|
|
|
int ff_h264_handle_frag_packet(AVPacket *pkt, const uint8_t *buf, int len,
|
|
|
|
int start_bit, const uint8_t *nal_header,
|
|
|
|
int nal_header_len);
|
2015-02-23 20:59:41 +02:00
|
|
|
void ff_h264_parse_framesize(AVCodecContext *codec, const char *p);
|
2015-02-19 22:18:55 +02:00
|
|
|
|
2015-02-13 23:51:34 +02:00
|
|
|
extern RTPDynamicProtocolHandler ff_ac3_dynamic_handler;
|
2010-07-30 15:04:27 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_amr_nb_dynamic_handler;
|
|
|
|
extern RTPDynamicProtocolHandler ff_amr_wb_dynamic_handler;
|
2015-02-21 19:35:50 +02:00
|
|
|
extern RTPDynamicProtocolHandler ff_dv_dynamic_handler;
|
2011-11-07 14:13:55 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_g726_16_dynamic_handler;
|
|
|
|
extern RTPDynamicProtocolHandler ff_g726_24_dynamic_handler;
|
|
|
|
extern RTPDynamicProtocolHandler ff_g726_32_dynamic_handler;
|
|
|
|
extern RTPDynamicProtocolHandler ff_g726_40_dynamic_handler;
|
2014-12-06 20:54:07 +02:00
|
|
|
extern RTPDynamicProtocolHandler ff_h261_dynamic_handler;
|
2010-07-30 15:04:27 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_h263_1998_dynamic_handler;
|
|
|
|
extern RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler;
|
2012-02-07 17:15:26 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_h263_rfc2190_dynamic_handler;
|
2010-07-30 15:04:27 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_h264_dynamic_handler;
|
2014-08-26 22:00:03 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_hevc_dynamic_handler;
|
2012-06-17 16:12:53 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_ilbc_dynamic_handler;
|
2012-09-07 20:30:23 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_jpeg_dynamic_handler;
|
2010-08-13 00:07:17 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_mp4a_latm_dynamic_handler;
|
2010-07-30 15:04:27 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_mp4v_es_dynamic_handler;
|
2013-01-17 16:08:03 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_mpeg_audio_dynamic_handler;
|
2015-02-13 23:51:33 +02:00
|
|
|
extern RTPDynamicProtocolHandler ff_mpeg_audio_robust_dynamic_handler;
|
2013-01-17 16:08:03 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_mpeg_video_dynamic_handler;
|
2010-07-30 15:04:27 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_mpeg4_generic_dynamic_handler;
|
2013-01-17 15:34:59 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_mpegts_dynamic_handler;
|
2010-07-30 15:04:27 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_ms_rtp_asf_pfa_handler;
|
|
|
|
extern RTPDynamicProtocolHandler ff_ms_rtp_asf_pfv_handler;
|
2010-12-05 21:37:45 +02:00
|
|
|
extern RTPDynamicProtocolHandler ff_qcelp_dynamic_handler;
|
2010-07-30 15:04:27 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_qdm2_dynamic_handler;
|
2010-10-06 15:42:18 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_qt_rtp_aud_handler;
|
|
|
|
extern RTPDynamicProtocolHandler ff_qt_rtp_vid_handler;
|
|
|
|
extern RTPDynamicProtocolHandler ff_quicktime_rtp_aud_handler;
|
|
|
|
extern RTPDynamicProtocolHandler ff_quicktime_rtp_vid_handler;
|
2010-07-30 15:04:27 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_svq3_dynamic_handler;
|
|
|
|
extern RTPDynamicProtocolHandler ff_theora_dynamic_handler;
|
|
|
|
extern RTPDynamicProtocolHandler ff_vorbis_dynamic_handler;
|
2010-08-16 17:23:35 +03:00
|
|
|
extern RTPDynamicProtocolHandler ff_vp8_dynamic_handler;
|
2015-03-04 01:33:31 +02:00
|
|
|
extern RTPDynamicProtocolHandler ff_vp9_dynamic_handler;
|
2010-07-30 15:04:27 +03:00
|
|
|
|
|
|
|
#endif /* AVFORMAT_RTPDEC_FORMATS_H */
|