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 More...
 
unsigned nr_frames
 
unsigned last_frame
 
AVIOContextfragment
 buffer for split payloads More...
 
int octet_align
 
int crc
 
int interleaving
 
int channels
 
AVIOContextpktbuf
 
AVIOContext pb
 
AVIOContextbuf
 
int bundled_audio
 
uint8_t endbyte
 
int endbyte_bits
 
int newformat
 
uint8_t profile_idc
 
uint8_t profile_iop
 
uint8_t level_idc
 
int packetization_mode
 
int using_donl_field
 
int profile_id
 
uint8_tsps
 
uint8_tpps
 
uint8_tvps
 
uint8_tsei
 
int sps_size
 
int pps_size
 
int vps_size
 
int sei_size
 
AVIOContextframe
 current frame buffer More...
 
int hdr_size
 size of the current frame header More...
 
uint8_t qtables [128][128]
 
uint8_t qtables_len [128]
 
AVIOContextdyn_buf
 
int pos
 
int len
 
unsigned adu_size
 
unsigned cur_size
 
uint8_tsplit_buf
 
int split_pos
 
int split_buf_size
 
int split_pkts
 
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 More...
 
int split_buf_len
 
uint32_t timestamp
 current frame timestamp More...
 
uint8_tbuf
 the temporary storage buffer More...
 
uint8_t buf [FFMAX(RTP_MAX_PACKET_LENGTH, MAX_AAC_HBR_FRAME_SIZE)]
 the temporary storage buffer More...
 
uint16_t len [0x80]
 Temporary storage for superblock restoring, per packet ID (0x80 total) More...
 
unsigned int cache
 number of data packets that we have cached right now More...
 
unsigned int n_pkts
 number of RTP packets received since last packet output / config More...
 
int block_type
 values read from the config header, used as packet headers More...
 
int block_size
 from extradata, used as pkt length More...
 
int subpkts_per_block
 max. nr. of subpackets to add per output buffer More...
 

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_close_context(), rdt_init(), rdt_load_mdpr(), and rdt_parse_packet().

int PayloadContext::nb_rmst

Definition at line 85 of file rdt.c.

Referenced by rdt_close_context(), and rdt_parse_sdp_line().

RMStream** PayloadContext::rmst

Definition at line 86 of file rdt.c.

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

unsigned PayloadContext::nr_frames

Definition at line 29 of file rtpdec_ac3.c.

Referenced by ac3_handle_packet().

unsigned PayloadContext::last_frame

Definition at line 30 of file rtpdec_ac3.c.

Referenced by ac3_handle_packet().

uint32_t PayloadContext::timestamp
AVIOContext * PayloadContext::fragment
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_init(), amr_parse_fmtp(), and amr_parse_sdp_line().

AVIOContext * PayloadContext::pktbuf
AVIOContext PayloadContext::pb

Definition at line 184 of file rtpdec_asf.c.

Referenced by asfrtp_parse_packet().

AVIOContext * PayloadContext::buf
AVIOContext* PayloadContext::buf

Definition at line 30 of file rtpdec_dv.c.

int PayloadContext::bundled_audio

Definition at line 32 of file rtpdec_dv.c.

Referenced by dv_sdp_parse_fmtp_config().

uint8_t PayloadContext::endbyte

Definition at line 31 of file rtpdec_h261.c.

Referenced by h261_handle_packet(), and h263_handle_packet().

int PayloadContext::endbyte_bits

Definition at line 32 of file rtpdec_h261.c.

Referenced by h261_handle_packet(), and h263_handle_packet().

int PayloadContext::newformat

Definition at line 40 of file rtpdec_h263_rfc2190.c.

Referenced by h263_handle_packet().

uint8_t PayloadContext::profile_idc

Definition at line 47 of file rtpdec_h264.c.

Referenced by parse_profile_level_id().

uint8_t PayloadContext::profile_iop

Definition at line 48 of file rtpdec_h264.c.

Referenced by parse_profile_level_id().

uint8_t PayloadContext::level_idc

Definition at line 49 of file rtpdec_h264.c.

Referenced by parse_profile_level_id().

int PayloadContext::packetization_mode

Definition at line 50 of file rtpdec_h264.c.

Referenced by sdp_parse_fmtp_config_h264().

int PayloadContext::using_donl_field

Definition at line 41 of file rtpdec_hevc.c.

Referenced by hevc_handle_packet(), and hevc_sdp_parse_fmtp_config().

int PayloadContext::profile_id

Definition at line 42 of file rtpdec_hevc.c.

Referenced by hevc_sdp_parse_fmtp_config().

uint8_t* PayloadContext::sps

Definition at line 43 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

uint8_t * PayloadContext::pps

Definition at line 43 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

uint8_t * PayloadContext::vps

Definition at line 43 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

uint8_t * PayloadContext::sei

Definition at line 43 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

int PayloadContext::sps_size

Definition at line 44 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

int PayloadContext::pps_size

Definition at line 44 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

int PayloadContext::vps_size

Definition at line 44 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

int PayloadContext::sei_size

Definition at line 44 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

AVIOContext* PayloadContext::frame

current frame buffer

Definition at line 35 of file rtpdec_jpeg.c.

Referenced by jpeg_close_context(), and jpeg_parse_packet().

int PayloadContext::hdr_size

size of the current frame header

Definition at line 37 of file rtpdec_jpeg.c.

Referenced by jpeg_parse_packet().

uint8_t PayloadContext::qtables[128][128]

Definition at line 38 of file rtpdec_jpeg.c.

Referenced by jpeg_parse_packet().

uint8_t PayloadContext::qtables_len[128]

Definition at line 39 of file rtpdec_jpeg.c.

Referenced by jpeg_parse_packet().

AVIOContext* PayloadContext::dyn_buf

Definition at line 29 of file rtpdec_latm.c.

Referenced by latm_close_context(), and latm_parse_packet().

int PayloadContext::pos

Definition at line 31 of file rtpdec_latm.c.

Referenced by latm_parse_packet().

int PayloadContext::len
unsigned PayloadContext::adu_size

Definition at line 29 of file rtpdec_mpa_robust.c.

Referenced by mpa_robust_parse_packet().

unsigned PayloadContext::cur_size

Definition at line 30 of file rtpdec_mpa_robust.c.

Referenced by mpa_robust_parse_packet().

uint8_t * PayloadContext::split_buf
int PayloadContext::split_pos

Definition at line 33 of file rtpdec_mpa_robust.c.

Referenced by mpa_robust_parse_packet(), and xiph_handle_packet().

int PayloadContext::split_buf_size

Definition at line 33 of file rtpdec_mpa_robust.c.

Referenced by mpa_robust_parse_packet(), and xiph_handle_packet().

int PayloadContext::split_pkts

Definition at line 33 of file rtpdec_mpa_robust.c.

Referenced by xiph_handle_packet().

int PayloadContext::sizelength

Definition at line 40 of file rtpdec_mpeg4.c.

Referenced by rtp_parse_mp4_au().

int PayloadContext::indexlength

Definition at line 41 of file rtpdec_mpeg4.c.

Referenced by rtp_parse_mp4_au().

int PayloadContext::indexdeltalength

Definition at line 42 of file rtpdec_mpeg4.c.

int PayloadContext::profile_level_id

Definition at line 43 of file rtpdec_mpeg4.c.

int PayloadContext::streamtype

Definition at line 44 of file rtpdec_mpeg4.c.

int PayloadContext::objecttype

Definition at line 45 of file rtpdec_mpeg4.c.

char* PayloadContext::mode

Definition at line 46 of file rtpdec_mpeg4.c.

Referenced by close_context().

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

Definition at line 59 of file rtpdec_mpeg4.c.

Referenced by rtp_parse_mp4_au().

int PayloadContext::nb_au_headers

Definition at line 60 of file rtpdec_mpeg4.c.

Referenced by aac_parse_packet(), and rtp_parse_mp4_au().

int PayloadContext::au_headers_length_bytes

Definition at line 61 of file rtpdec_mpeg4.c.

Referenced by aac_parse_packet(), and rtp_parse_mp4_au().

int PayloadContext::cur_au_index

Definition at line 62 of file rtpdec_mpeg4.c.

Referenced by aac_parse_packet().

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

the temporary storage buffer

Definition at line 64 of file rtpdec_mpeg4.c.

int PayloadContext::buf_pos

Definition at line 65 of file rtpdec_mpeg4.c.

Referenced by aac_parse_packet().

int PayloadContext::buf_size

Definition at line 65 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_close_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 40 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 41 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 42 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 47 of file rtpdec_qdm2.c.

unsigned int PayloadContext::cache

number of data packets that we have cached right now

Definition at line 50 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 51 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_close(), 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 39 of file rtpdec_svq3.c.

AVIOContext* PayloadContext::data

Definition at line 36 of file rtpdec_vp8.c.

Referenced by vp8_broken_sequence(), vp8_close_context(), and vp8_handle_packet().

int PayloadContext::is_keyframe

Definition at line 38 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

int PayloadContext::sequence_ok

Definition at line 43 of file rtpdec_vp8.c.

Referenced by vp8_broken_sequence(), vp8_handle_packet(), vp8_init(), and vp8_need_keyframe().

int PayloadContext::first_part_size

Definition at line 44 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

uint16_t PayloadContext::prev_seq

Definition at line 45 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

int PayloadContext::prev_pictureid

Definition at line 46 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

int PayloadContext::broken_frame

Definition at line 47 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

int PayloadContext::sequence_dirty

Definition at line 52 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet(), and vp8_need_keyframe().

int PayloadContext::got_keyframe

Definition at line 53 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

unsigned PayloadContext::ident

24-bit stream configuration identifier

Definition at line 45 of file rtpdec_xiph.c.

Referenced by parse_packed_headers(), and xiph_handle_packet().

int PayloadContext::split_buf_len

Definition at line 49 of file rtpdec_xiph.c.

Referenced by xiph_handle_packet().


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