FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Data Fields
PayloadContext Struct Reference

RTP/JPEG specific private data. More...

Data Structures

struct  AUHeaders
 mpeg 4 AU headers More...
 

Data Fields

AVFormatContextrmctx
 
int nb_rmst
 
RMStream ** rmst
 
uint8_tmlti_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
 
AVIOContextbuf
 
uint8_t endbyte
 
int endbyte_bits
 
int newformat
 
uint8_t profile_idc
 
uint8_t profile_iop
 
uint8_t level_idc
 
int packetization_mode
 
AVIOContextframe
 current frame buffer
 
int hdr_size
 size of the current frame header
 
uint8_t qtables [128][128]
 
uint8_t qtables_len [128]
 
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 buf_pos
 
int buf_size
 
struct MpegTSContextts
 
int read_buf_index
 
int read_buf_size
 
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
 
int sequence_ok
 
int first_part_size
 
uint16_t prev_seq
 
int prev_pictureid
 
int broken_frame
 
int sequence_dirty
 
int got_keyframe
 
unsigned ident
 24-bit stream configuration identifier
 
AVIOContextfragment
 buffer for split payloads
 
uint8_tsplit_buf
 
int split_pos
 
int split_buf_len
 
int split_buf_size
 
int split_pkts
 
uint8_tbuf
 the temporary storage buffer
 
uint32_t timestamp
 current frame timestamp
 
uint8_t buf [RTP_MAX_PACKET_LENGTH]
 the temporary storage buffer
 
uint16_t len [0x80]
 Temporary storage for superblock restoring, per packet ID (0x80 total)
 
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/JPEG specific private data.

RTP/Xiph specific private data.

Structure listing useful vars to parse RTP packet payload.

Definition at line 83 of file rdt.c.

Field Documentation

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().

int PayloadContext::nb_rmst

Definition at line 85 of file rdt.c.

Referenced by rdt_free_context(), and rdt_parse_sdp_line().

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().

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().

Definition at line 89 of file rdt.c.

Referenced by rdt_parse_packet().

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::octet_align

Definition at line 35 of file rtpdec_amr.c.

Referenced by amr_parse_fmtp(), and amr_parse_sdp_line().

int PayloadContext::crc

Definition at line 36 of file rtpdec_amr.c.

Referenced by amr_parse_fmtp(), and amr_parse_sdp_line().

int PayloadContext::interleaving

Definition at line 37 of file rtpdec_amr.c.

Referenced by amr_parse_fmtp(), and amr_parse_sdp_line().

int PayloadContext::channels

Definition at line 38 of file rtpdec_amr.c.

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

AVIOContext * PayloadContext::pktbuf
AVIOContext PayloadContext::pb

Definition at line 159 of file rtpdec_asf.c.

Referenced by asfrtp_parse_packet().

uint8_t PayloadContext::buf
AVIOContext* PayloadContext::buf

Definition at line 35 of file rtpdec_h263_rfc2190.c.

uint8_t PayloadContext::endbyte

Definition at line 36 of file rtpdec_h263_rfc2190.c.

Referenced by h263_handle_packet().

int PayloadContext::endbyte_bits

Definition at line 37 of file rtpdec_h263_rfc2190.c.

Referenced by h263_handle_packet().

uint32_t PayloadContext::timestamp

current frame timestamp

timestamp of next-to-be-returned packet

Definition at line 38 of file rtpdec_h263_rfc2190.c.

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

int PayloadContext::newformat

Definition at line 39 of file rtpdec_h263_rfc2190.c.

Referenced by h263_handle_packet().

uint8_t PayloadContext::profile_idc

Definition at line 50 of file rtpdec_h264.c.

Referenced by sdp_parse_fmtp_config_h264().

uint8_t PayloadContext::profile_iop

Definition at line 51 of file rtpdec_h264.c.

Referenced by sdp_parse_fmtp_config_h264().

uint8_t PayloadContext::level_idc

Definition at line 52 of file rtpdec_h264.c.

Referenced by sdp_parse_fmtp_config_h264().

int PayloadContext::packetization_mode

Definition at line 53 of file rtpdec_h264.c.

Referenced by sdp_parse_fmtp_config_h264().

AVIOContext* PayloadContext::frame

current frame buffer

Definition at line 33 of file rtpdec_jpeg.c.

Referenced by free_frame_if_needed(), and jpeg_parse_packet().

int PayloadContext::hdr_size

size of the current frame header

Definition at line 35 of file rtpdec_jpeg.c.

Referenced by jpeg_parse_packet().

uint8_t PayloadContext::qtables[128][128]

Definition at line 36 of file rtpdec_jpeg.c.

Referenced by jpeg_parse_packet().

uint8_t PayloadContext::qtables_len[128]

Definition at line 37 of file rtpdec_jpeg.c.

Referenced by jpeg_parse_packet().

AVIOContext* PayloadContext::dyn_buf

Definition at line 28 of file rtpdec_latm.c.

Referenced by latm_free_context(), and latm_parse_packet().

int PayloadContext::pos

Definition at line 30 of file rtpdec_latm.c.

Referenced by latm_parse_packet().

int PayloadContext::len
int PayloadContext::sizelength

Definition at line 38 of file rtpdec_mpeg4.c.

Referenced by rtp_parse_mp4_au().

int PayloadContext::indexlength

Definition at line 39 of file rtpdec_mpeg4.c.

Referenced by rtp_parse_mp4_au().

int PayloadContext::indexdeltalength

Definition at line 40 of file rtpdec_mpeg4.c.

int PayloadContext::profile_level_id

Definition at line 41 of file rtpdec_mpeg4.c.

int PayloadContext::streamtype

Definition at line 42 of file rtpdec_mpeg4.c.

int PayloadContext::objecttype

Definition at line 43 of file rtpdec_mpeg4.c.

char* PayloadContext::mode

Definition at line 44 of file rtpdec_mpeg4.c.

Referenced by free_context().

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::nb_au_headers

Definition at line 58 of file rtpdec_mpeg4.c.

Referenced by aac_parse_packet(), and 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::cur_au_index

Definition at line 60 of file rtpdec_mpeg4.c.

Referenced by aac_parse_packet().

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

the temporary storage buffer

Definition at line 62 of file rtpdec_mpeg4.c.

int PayloadContext::buf_pos

Definition at line 63 of file rtpdec_mpeg4.c.

Referenced by aac_parse_packet().

int PayloadContext::buf_size

Definition at line 63 of file rtpdec_mpeg4.c.

Referenced by aac_parse_packet().

struct MpegTSContext* PayloadContext::ts

Definition at line 27 of file rtpdec_mpegts.c.

Referenced by mpegts_free_context(), mpegts_handle_packet(), and mpegts_init().

int PayloadContext::read_buf_index

Definition at line 28 of file rtpdec_mpegts.c.

Referenced by mpegts_handle_packet().

int PayloadContext::read_buf_size

Definition at line 29 of file rtpdec_mpegts.c.

Referenced by mpegts_handle_packet().

int PayloadContext::interleave_size

Definition at line 38 of file rtpdec_qcelp.c.

Referenced by return_stored_frame(), and store_packet().

int PayloadContext::interleave_index

Definition at line 39 of file rtpdec_qcelp.c.

Referenced by return_stored_frame(), and store_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().

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::block_type

values read from the config header, used as packet headers

superblock type, value 2 .. 8

Definition at line 39 of file rtpdec_qdm2.c.

Referenced by qdm2_parse_config(), and qdm2_restore_block().

int PayloadContext::block_size

from extradata, used as pkt length

Definition at line 40 of file rtpdec_qdm2.c.

Referenced by qdm2_parse_config(), and qdm2_restore_block().

int PayloadContext::subpkts_per_block

max. nr. of subpackets to add per output buffer

Definition at line 41 of file rtpdec_qdm2.c.

Referenced by qdm2_parse_config(), and qdm2_parse_packet().

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 46 of file rtpdec_qdm2.c.

unsigned int PayloadContext::cache

number of data packets that we have cached right now

Definition at line 49 of file rtpdec_qdm2.c.

Referenced by qdm2_parse_packet(), and qdm2_restore_block().

unsigned int PayloadContext::n_pkts

number of RTP packets received since last packet output / config

Definition at line 50 of file rtpdec_qdm2.c.

Referenced by qdm2_parse_packet().

AVPacket PayloadContext::pkt

Definition at line 37 of file rtpdec_qt.c.

Referenced by qt_rtp_free(), and qt_rtp_parse_packet().

int PayloadContext::bytes_per_frame

Definition at line 38 of file rtpdec_qt.c.

Referenced by qt_rtp_parse_packet().

int PayloadContext::remaining

Definition at line 38 of file rtpdec_qt.c.

Referenced by qt_rtp_parse_packet().

int64_t PayloadContext::timestamp

Definition at line 37 of file rtpdec_svq3.c.

AVIOContext* PayloadContext::data

Definition at line 35 of file rtpdec_vp8.c.

Referenced by vp8_free_buffer(), and vp8_handle_packet().

int PayloadContext::is_keyframe

Definition at line 37 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

int PayloadContext::sequence_ok
int PayloadContext::first_part_size

Definition at line 43 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

uint16_t PayloadContext::prev_seq

Definition at line 44 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

int PayloadContext::prev_pictureid

Definition at line 45 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

int PayloadContext::broken_frame

Definition at line 46 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

int PayloadContext::sequence_dirty

Definition at line 51 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet(), and vp8_need_keyframe().

int PayloadContext::got_keyframe

Definition at line 52 of file rtpdec_vp8.c.

Referenced by vp8_handle_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().

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().

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_pos

Definition at line 47 of file rtpdec_xiph.c.

Referenced by 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().


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