rtpdec: experimental VP9 depacketizer (draft 0)
[libav.git] / libavformat / rtpdec_formats.h
CommitLineData
965a3ddb
MS
1/*
2 * RTP depacketizer declarations
3 * Copyright (c) 2010 Martin Storsjo
4 *
2912e87a 5 * This file is part of Libav.
965a3ddb 6 *
2912e87a 7 * Libav is free software; you can redistribute it and/or
965a3ddb
MS
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.
11 *
2912e87a 12 * Libav is distributed in the hope that it will be useful,
965a3ddb
MS
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.
16 *
17 * You should have received a copy of the GNU Lesser General Public
2912e87a 18 * License along with Libav; if not, write to the Free Software
965a3ddb
MS
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22#ifndef AVFORMAT_RTPDEC_FORMATS_H
23#define AVFORMAT_RTPDEC_FORMATS_H
24
25#include "rtpdec.h"
26
27/**
28 * Parse a Windows Media Server-specific SDP line
29 *
30 * @param s RTSP demux context
31 */
32int ff_wms_parse_sdp_a_line(AVFormatContext *s, const char *p);
33
c7e8639c
MS
34int ff_h263_handle_packet(AVFormatContext *ctx, PayloadContext *data,
35 AVStream *st, AVPacket *pkt, uint32_t *timestamp,
90c784cc 36 const uint8_t *buf, int len, uint16_t seq, int flags);
c7e8639c 37
0de07510
MS
38int ff_h264_parse_sprop_parameter_sets(AVFormatContext *s,
39 uint8_t **data_ptr, int *size_ptr,
40 const char *value);
41int ff_h264_handle_aggregated_packet(AVFormatContext *ctx, AVPacket *pkt,
42 const uint8_t *buf, int len,
43 int start_skip, int *nal_counters,
44 int nal_mask);
3567b91e
MS
45int ff_h264_handle_frag_packet(AVPacket *pkt, const uint8_t *buf, int len,
46 int start_bit, const uint8_t *nal_header,
47 int nal_header_len);
8633fb47 48void ff_h264_parse_framesize(AVCodecContext *codec, const char *p);
0de07510 49
5e5583ef 50extern RTPDynamicProtocolHandler ff_ac3_dynamic_handler;
965a3ddb
MS
51extern RTPDynamicProtocolHandler ff_amr_nb_dynamic_handler;
52extern RTPDynamicProtocolHandler ff_amr_wb_dynamic_handler;
c99915f7 53extern RTPDynamicProtocolHandler ff_dv_dynamic_handler;
06d7325a
MS
54extern RTPDynamicProtocolHandler ff_g726_16_dynamic_handler;
55extern RTPDynamicProtocolHandler ff_g726_24_dynamic_handler;
56extern RTPDynamicProtocolHandler ff_g726_32_dynamic_handler;
57extern RTPDynamicProtocolHandler ff_g726_40_dynamic_handler;
a505c0d7 58extern RTPDynamicProtocolHandler ff_h261_dynamic_handler;
965a3ddb
MS
59extern RTPDynamicProtocolHandler ff_h263_1998_dynamic_handler;
60extern RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler;
08bddfcd 61extern RTPDynamicProtocolHandler ff_h263_rfc2190_dynamic_handler;
965a3ddb 62extern RTPDynamicProtocolHandler ff_h264_dynamic_handler;
95e177ee 63extern RTPDynamicProtocolHandler ff_hevc_dynamic_handler;
89c39605 64extern RTPDynamicProtocolHandler ff_ilbc_dynamic_handler;
3c198154 65extern RTPDynamicProtocolHandler ff_jpeg_dynamic_handler;
1ddc176e 66extern RTPDynamicProtocolHandler ff_mp4a_latm_dynamic_handler;
965a3ddb 67extern RTPDynamicProtocolHandler ff_mp4v_es_dynamic_handler;
a9c847c1 68extern RTPDynamicProtocolHandler ff_mpeg_audio_dynamic_handler;
96084251 69extern RTPDynamicProtocolHandler ff_mpeg_audio_robust_dynamic_handler;
a9c847c1 70extern RTPDynamicProtocolHandler ff_mpeg_video_dynamic_handler;
965a3ddb 71extern RTPDynamicProtocolHandler ff_mpeg4_generic_dynamic_handler;
2326558d 72extern RTPDynamicProtocolHandler ff_mpegts_dynamic_handler;
965a3ddb
MS
73extern RTPDynamicProtocolHandler ff_ms_rtp_asf_pfa_handler;
74extern RTPDynamicProtocolHandler ff_ms_rtp_asf_pfv_handler;
35014efc 75extern RTPDynamicProtocolHandler ff_qcelp_dynamic_handler;
965a3ddb 76extern RTPDynamicProtocolHandler ff_qdm2_dynamic_handler;
3ece3e4c
MS
77extern RTPDynamicProtocolHandler ff_qt_rtp_aud_handler;
78extern RTPDynamicProtocolHandler ff_qt_rtp_vid_handler;
79extern RTPDynamicProtocolHandler ff_quicktime_rtp_aud_handler;
80extern RTPDynamicProtocolHandler ff_quicktime_rtp_vid_handler;
965a3ddb
MS
81extern RTPDynamicProtocolHandler ff_svq3_dynamic_handler;
82extern RTPDynamicProtocolHandler ff_theora_dynamic_handler;
83extern RTPDynamicProtocolHandler ff_vorbis_dynamic_handler;
51291e60 84extern RTPDynamicProtocolHandler ff_vp8_dynamic_handler;
9c09fbd8 85extern RTPDynamicProtocolHandler ff_vp9_dynamic_handler;
965a3ddb
MS
86
87#endif /* AVFORMAT_RTPDEC_FORMATS_H */