PayloadContext Struct Reference

RTP/H264 specific private data. More...

Data Structures

struct  AUHeaders
 mpeg 4 AU headers More...

Data Fields

AVFormatContextrmctx
int nb_rmst
RMStream ** rmst
uint8_t * mlti_data
unsigned int mlti_data_size
char buffer [RTP_MAX_PACKET_LENGTH+FF_INPUT_BUFFER_PADDING_SIZE]
int audio_pkt_cnt
 remaining audio packets in rmdec
int octet_align
int crc
int interleaving
int channels
AVIOContextpktbuf
AVIOContext pb
uint8_t * buf
unsigned long cookie
 sanity check, to make sure we get the pointer we're expecting.
uint8_t profile_idc
 from the sdp setup parameters.
uint8_t profile_iop
 from the sdp setup parameters.
uint8_t level_idc
 from the sdp setup parameters.
int packetization_mode
 from the sdp setup parameters.
AVIOContextdyn_buf
int pos
int len
int sizelength
int indexlength
int indexdeltalength
int profile_level_id
int streamtype
int objecttype
char * mode
struct PayloadContext::AUHeadersau_headers
int au_headers_allocated
int nb_au_headers
int au_headers_length_bytes
int cur_au_index
int interleave_size
int interleave_index
InterleavePacket group [6]
int group_finished
uint8_t next_data [1+35 *10]
int next_size
uint32_t next_timestamp
AVPacket pkt
int bytes_per_frame
int remaining
int64_t timestamp
AVIOContextdata
int is_keyframe
unsigned ident
 24-bit stream configuration identifier
AVIOContextfragment
 buffer for split payloads
uint8_t * split_buf
int split_pos
int split_buf_len
int split_buf_size
int split_pkts
uint32_t timestamp
 timestamp of next-to-be-returned packet
uint16_t len [0x80]
 Temporary storage for superblock restoring, per packet ID (0x80 total)
uint8_t buf [0x80][0x800]
 the temporary storage buffer
unsigned int cache
 number of data packets that we have cached right now
unsigned int n_pkts
 number of RTP packets received since last packet output / config
int block_type
 values read from the config header, used as packet headers
int block_size
 from extradata, used as pkt length
int subpkts_per_block
 max. nr. of subpackets to add per output buffer

Detailed Description

RTP/H264 specific private data.

RTP/Xiph specific private data.

Structure listing useful vars to parse RTP packet payload.

RTP Depacketization of MP4A-LATM, RFC 3016 Copyright (c) 2010 Martin Storsjo.

This file is part of Libav.

Libav is free software; you can redistribute it and/or 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.

Libav is distributed in the hope that it will be useful, 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 License along with Libav; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Definition at line 83 of file rdt.c.

Field Documentation

struct PayloadContext::AUHeaders * PayloadContext::au_headers
int PayloadContext::au_headers_allocated

Definition at line 57 of file rtpdec_mpeg4.c.

Referenced by rtp_parse_mp4_au().

int PayloadContext::au_headers_length_bytes

Definition at line 59 of file rtpdec_mpeg4.c.

Referenced by aac_parse_packet(), and rtp_parse_mp4_au().

int PayloadContext::audio_pkt_cnt

remaining audio packets in rmdec

Definition at line 90 of file rdt.c.

Referenced by rdt_parse_packet().

int PayloadContext::block_size

from extradata, used as pkt length

Definition at line 39 of file rtpdec_qdm2.c.

Referenced by qdm2_parse_config(), and qdm2_restore_block().

int PayloadContext::block_type

values read from the config header, used as packet headers

superblock type, value 2 .. 8

Definition at line 38 of file rtpdec_qdm2.c.

Referenced by qdm2_parse_config(), and qdm2_restore_block().

uint8_t PayloadContext::buf[0x80][0x800]

the temporary storage buffer

Definition at line 46 of file rtpdec_qdm2.c.

Definition at line 89 of file rdt.c.

Referenced by rdt_parse_packet().

int PayloadContext::bytes_per_frame

Definition at line 38 of file rtpdec_qt.c.

Referenced by qt_rtp_parse_packet().

unsigned int PayloadContext::cache

number of data packets that we have cached right now

Definition at line 48 of file rtpdec_qdm2.c.

Referenced by qdm2_parse_packet(), and qdm2_restore_block().

int PayloadContext::channels

Definition at line 37 of file rtpdec_amr.c.

Referenced by amr_new_context(), amr_parse_fmtp(), and amr_parse_sdp_line().

unsigned long PayloadContext::cookie

sanity check, to make sure we get the pointer we're expecting.

Definition at line 56 of file rtpdec_h264.c.

Referenced by h264_free_context(), h264_handle_packet(), h264_new_context(), and parse_h264_sdp_line().

int PayloadContext::crc

Definition at line 35 of file rtpdec_amr.c.

Referenced by amr_parse_fmtp(), and amr_parse_sdp_line().

int PayloadContext::cur_au_index

Definition at line 60 of file rtpdec_mpeg4.c.

AVIOContext* PayloadContext::data

Definition at line 34 of file rtpdec_vp8.c.

Referenced by prepare_packet(), vp8_free_context(), and vp8_handle_packet().

AVIOContext* PayloadContext::dyn_buf

Definition at line 28 of file rtpdec_latm.c.

Referenced by latm_free_context(), and latm_parse_packet().

AVIOContext* PayloadContext::fragment

buffer for split payloads

Definition at line 45 of file rtpdec_xiph.c.

Referenced by free_fragment_if_needed(), and xiph_handle_packet().

InterleavePacket PayloadContext::group[6]

Definition at line 40 of file rtpdec_qcelp.c.

Referenced by return_stored_frame(), and store_packet().

int PayloadContext::group_finished

Definition at line 41 of file rtpdec_qcelp.c.

Referenced by return_stored_frame(), and store_packet().

unsigned PayloadContext::ident

24-bit stream configuration identifier

Definition at line 43 of file rtpdec_xiph.c.

Referenced by parse_packed_headers(), and xiph_handle_packet().

int PayloadContext::indexdeltalength

Definition at line 40 of file rtpdec_mpeg4.c.

int PayloadContext::indexlength

Definition at line 39 of file rtpdec_mpeg4.c.

Referenced by rtp_parse_mp4_au().

int PayloadContext::interleave_index

Definition at line 39 of file rtpdec_qcelp.c.

Referenced by return_stored_frame(), and store_packet().

int PayloadContext::interleave_size

Definition at line 38 of file rtpdec_qcelp.c.

Referenced by return_stored_frame(), and store_packet().

int PayloadContext::interleaving

Definition at line 36 of file rtpdec_amr.c.

Referenced by amr_parse_fmtp(), and amr_parse_sdp_line().

int PayloadContext::is_keyframe

Definition at line 36 of file rtpdec_vp8.c.

Referenced by prepare_packet(), and vp8_handle_packet().

int PayloadContext::len
uint16_t PayloadContext::len[0x80]

Temporary storage for superblock restoring, per packet ID (0x80 total)

how much the temporary buffer is filled

Definition at line 45 of file rtpdec_qdm2.c.

uint8_t PayloadContext::level_idc

from the sdp setup parameters.

Definition at line 61 of file rtpdec_h264.c.

Referenced by sdp_parse_fmtp_config_h264().

uint8_t* PayloadContext::mlti_data

Definition at line 87 of file rdt.c.

Referenced by rdt_free_context(), rdt_load_mdpr(), and rdt_parse_sdp_line().

unsigned int PayloadContext::mlti_data_size

Definition at line 88 of file rdt.c.

Referenced by rdt_load_mdpr(), and rdt_parse_sdp_line().

char* PayloadContext::mode

Definition at line 44 of file rtpdec_mpeg4.c.

Referenced by free_context().

unsigned int PayloadContext::n_pkts

number of RTP packets received since last packet output / config

Definition at line 49 of file rtpdec_qdm2.c.

Referenced by qdm2_parse_packet().

int PayloadContext::nb_au_headers

Definition at line 58 of file rtpdec_mpeg4.c.

Referenced by free_context(), and rtp_parse_mp4_au().

int PayloadContext::nb_rmst

Definition at line 85 of file rdt.c.

Referenced by rdt_free_context(), and rdt_parse_sdp_line().

uint8_t PayloadContext::next_data[1+35 *10]

Definition at line 45 of file rtpdec_qcelp.c.

Referenced by return_stored_frame(), and store_packet().

int PayloadContext::next_size

Definition at line 46 of file rtpdec_qcelp.c.

Referenced by return_stored_frame(), and store_packet().

uint32_t PayloadContext::next_timestamp

Definition at line 47 of file rtpdec_qcelp.c.

Referenced by return_stored_frame(), and store_packet().

int PayloadContext::objecttype

Definition at line 43 of file rtpdec_mpeg4.c.

int PayloadContext::octet_align

Definition at line 34 of file rtpdec_amr.c.

Referenced by amr_parse_fmtp(), and amr_parse_sdp_line().

int PayloadContext::packetization_mode

from the sdp setup parameters.

Definition at line 62 of file rtpdec_h264.c.

Referenced by sdp_parse_fmtp_config_h264().

AVIOContext PayloadContext::pb

Definition at line 154 of file rtpdec_asf.c.

Referenced by asfrtp_parse_packet().

AVPacket PayloadContext::pkt

Definition at line 37 of file rtpdec_qt.c.

Referenced by qt_rtp_free(), and qt_rtp_parse_packet().

AVIOContext * PayloadContext::pktbuf
int PayloadContext::pos

Definition at line 30 of file rtpdec_latm.c.

Referenced by latm_parse_packet().

uint8_t PayloadContext::profile_idc

from the sdp setup parameters.

Definition at line 59 of file rtpdec_h264.c.

Referenced by sdp_parse_fmtp_config_h264().

uint8_t PayloadContext::profile_iop

from the sdp setup parameters.

Definition at line 60 of file rtpdec_h264.c.

Referenced by sdp_parse_fmtp_config_h264().

int PayloadContext::profile_level_id

Definition at line 41 of file rtpdec_mpeg4.c.

int PayloadContext::remaining

Definition at line 38 of file rtpdec_qt.c.

Referenced by qt_rtp_parse_packet().

AVFormatContext* PayloadContext::rmctx

Definition at line 84 of file rdt.c.

Referenced by rdt_free_context(), rdt_load_mdpr(), rdt_new_context(), and rdt_parse_packet().

RMStream** PayloadContext::rmst

Definition at line 86 of file rdt.c.

Referenced by rdt_free_context(), rdt_load_mdpr(), rdt_parse_packet(), and rdt_parse_sdp_line().

int PayloadContext::sizelength

Definition at line 38 of file rtpdec_mpeg4.c.

Referenced by rtp_parse_mp4_au().

uint8_t* PayloadContext::split_buf

Definition at line 46 of file rtpdec_xiph.c.

Referenced by xiph_free_context(), and xiph_handle_packet().

int PayloadContext::split_buf_len

Definition at line 47 of file rtpdec_xiph.c.

Referenced by xiph_handle_packet().

int PayloadContext::split_buf_size

Definition at line 47 of file rtpdec_xiph.c.

Referenced by xiph_handle_packet().

int PayloadContext::split_pkts

Definition at line 48 of file rtpdec_xiph.c.

Referenced by xiph_handle_packet().

int PayloadContext::split_pos

Definition at line 47 of file rtpdec_xiph.c.

Referenced by xiph_handle_packet().

int PayloadContext::streamtype

Definition at line 42 of file rtpdec_mpeg4.c.

int PayloadContext::subpkts_per_block

max. nr. of subpackets to add per output buffer

Definition at line 40 of file rtpdec_qdm2.c.

Referenced by qdm2_parse_config(), and qdm2_parse_packet().

uint32_t PayloadContext::timestamp

timestamp of next-to-be-returned packet

Definition at line 31 of file rtpdec_latm.c.

Referenced by latm_parse_packet(), qdm2_parse_packet(), qt_rtp_parse_packet(), svq3_parse_packet(), vp8_handle_packet(), and xiph_handle_packet().

int64_t PayloadContext::timestamp

Definition at line 37 of file rtpdec_svq3.c.


The documentation for this struct was generated from the following files: