2 * RTP depacketizer declarations
3 * Copyright (c) 2010 Martin Storsjo
5 * This file is part of Libav.
7 * Libav is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * Libav is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with Libav; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 #ifndef AVFORMAT_RTPDEC_FORMATS_H
23 #define AVFORMAT_RTPDEC_FORMATS_H
28 * Parse a Windows Media Server-specific SDP line
30 * @param s RTSP demux context
32 int ff_wms_parse_sdp_a_line(AVFormatContext *s, const char *p);
34 int ff_h263_handle_packet(AVFormatContext *ctx, PayloadContext *data,
35 AVStream *st, AVPacket *pkt, uint32_t *timestamp,
36 const uint8_t *buf, int len, uint16_t seq, int flags);
38 int ff_h264_parse_sprop_parameter_sets(AVFormatContext *s,
39 uint8_t **data_ptr, int *size_ptr,
41 int ff_h264_handle_aggregated_packet(AVFormatContext *ctx, AVPacket *pkt,
42 const uint8_t *buf, int len,
43 int start_skip, int *nal_counters,
45 int ff_h264_handle_frag_packet(AVPacket *pkt, const uint8_t *buf, int len,
46 int start_bit, const uint8_t *nal_header,
48 void ff_h264_parse_framesize(AVCodecContext *codec, const char *p);
50 extern RTPDynamicProtocolHandler ff_ac3_dynamic_handler;
51 extern RTPDynamicProtocolHandler ff_amr_nb_dynamic_handler;
52 extern RTPDynamicProtocolHandler ff_amr_wb_dynamic_handler;
53 extern RTPDynamicProtocolHandler ff_dv_dynamic_handler;
54 extern RTPDynamicProtocolHandler ff_g726_16_dynamic_handler;
55 extern RTPDynamicProtocolHandler ff_g726_24_dynamic_handler;
56 extern RTPDynamicProtocolHandler ff_g726_32_dynamic_handler;
57 extern RTPDynamicProtocolHandler ff_g726_40_dynamic_handler;
58 extern RTPDynamicProtocolHandler ff_h261_dynamic_handler;
59 extern RTPDynamicProtocolHandler ff_h263_1998_dynamic_handler;
60 extern RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler;
61 extern RTPDynamicProtocolHandler ff_h263_rfc2190_dynamic_handler;
62 extern RTPDynamicProtocolHandler ff_h264_dynamic_handler;
63 extern RTPDynamicProtocolHandler ff_hevc_dynamic_handler;
64 extern RTPDynamicProtocolHandler ff_ilbc_dynamic_handler;
65 extern RTPDynamicProtocolHandler ff_jpeg_dynamic_handler;
66 extern RTPDynamicProtocolHandler ff_mp4a_latm_dynamic_handler;
67 extern RTPDynamicProtocolHandler ff_mp4v_es_dynamic_handler;
68 extern RTPDynamicProtocolHandler ff_mpeg_audio_dynamic_handler;
69 extern RTPDynamicProtocolHandler ff_mpeg_audio_robust_dynamic_handler;
70 extern RTPDynamicProtocolHandler ff_mpeg_video_dynamic_handler;
71 extern RTPDynamicProtocolHandler ff_mpeg4_generic_dynamic_handler;
72 extern RTPDynamicProtocolHandler ff_mpegts_dynamic_handler;
73 extern RTPDynamicProtocolHandler ff_ms_rtp_asf_pfa_handler;
74 extern RTPDynamicProtocolHandler ff_ms_rtp_asf_pfv_handler;
75 extern RTPDynamicProtocolHandler ff_qcelp_dynamic_handler;
76 extern RTPDynamicProtocolHandler ff_qdm2_dynamic_handler;
77 extern RTPDynamicProtocolHandler ff_qt_rtp_aud_handler;
78 extern RTPDynamicProtocolHandler ff_qt_rtp_vid_handler;
79 extern RTPDynamicProtocolHandler ff_quicktime_rtp_aud_handler;
80 extern RTPDynamicProtocolHandler ff_quicktime_rtp_vid_handler;
81 extern RTPDynamicProtocolHandler ff_svq3_dynamic_handler;
82 extern RTPDynamicProtocolHandler ff_theora_dynamic_handler;
83 extern RTPDynamicProtocolHandler ff_vorbis_dynamic_handler;
84 extern RTPDynamicProtocolHandler ff_vp8_dynamic_handler;
85 extern RTPDynamicProtocolHandler ff_vp9_dynamic_handler;
87 #endif /* AVFORMAT_RTPDEC_FORMATS_H */