FFmpeg
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_t * mlti_data
 
unsigned int mlti_data_size
 
char buffer [RTP_MAX_PACKET_LENGTH+AV_INPUT_BUFFER_PADDING_SIZE]
 
int audio_pkt_cnt
 remaining audio packets in rmdec More...
 
unsigned nr_frames
 
unsigned last_frame
 
uint32_t timestamp
 current frame timestamp More...
 
AVIOContextfragment
 buffer for split payloads More...
 
int octet_align
 
int crc
 
int interleaving
 
int channels
 
FFIOContext pb
 
AVIOContextpktbuf
 
uint8_t * buf
 the temporary storage buffer More...
 
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_t * sps
 
uint8_t * pps
 
uint8_t * vps
 
uint8_t * sei
 
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_t * split_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
 
uint8_t buf [FFMAX(RTP_MAX_PACKET_LENGTH, MAX_AAC_HBR_FRAME_SIZE)]
 the temporary storage buffer More...
 
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
 
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...
 
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...
 
AVPacketpkt
 
int bytes_per_frame
 
int remaining
 
char * sampling
 
AVRational framerate
 
int depth
 
int width
 
int height
 
int interlaced
 
int field
 
uint8_t * frame
 
unsigned int frame_size
 
unsigned int pgroup
 
unsigned int xinc
 
int64_t timestamp
 
uint32_t frame_size
 
uint32_t frame_nr
 
uint32_t last_unit_size
 
int seen_sequence_header
 
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
 

Detailed Description

RTP/JPEG specific private data.

RTP/Xiph specific private data.

Structure listing useful vars to parse RTP packet payload.

Definition at line 84 of file rdt.c.

Field Documentation

◆ rmctx

AVFormatContext* PayloadContext::rmctx

Definition at line 85 of file rdt.c.

Referenced by rdt_close_context(), rdt_init(), rdt_load_mdpr(), and rdt_parse_packet().

◆ nb_rmst

int PayloadContext::nb_rmst

Definition at line 86 of file rdt.c.

Referenced by rdt_close_context(), and rdt_parse_sdp_line().

◆ rmst

RMStream** PayloadContext::rmst

Definition at line 87 of file rdt.c.

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

◆ mlti_data

uint8_t* PayloadContext::mlti_data

Definition at line 88 of file rdt.c.

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

◆ mlti_data_size

unsigned int PayloadContext::mlti_data_size

Definition at line 89 of file rdt.c.

Referenced by rdt_load_mdpr(), and rdt_parse_sdp_line().

◆ buffer

Definition at line 90 of file rdt.c.

Referenced by rdt_parse_packet().

◆ audio_pkt_cnt

int PayloadContext::audio_pkt_cnt

remaining audio packets in rmdec

Definition at line 91 of file rdt.c.

Referenced by rdt_parse_packet().

◆ nr_frames

unsigned PayloadContext::nr_frames

Definition at line 29 of file rtpdec_ac3.c.

◆ last_frame

unsigned PayloadContext::last_frame

Definition at line 30 of file rtpdec_ac3.c.

◆ timestamp [1/2]

uint32_t PayloadContext::timestamp

◆ fragment

AVIOContext * PayloadContext::fragment

buffer for split payloads

Definition at line 32 of file rtpdec_ac3.c.

◆ octet_align

int PayloadContext::octet_align

Definition at line 35 of file rtpdec_amr.c.

◆ crc

int PayloadContext::crc

Definition at line 36 of file rtpdec_amr.c.

◆ interleaving

int PayloadContext::interleaving

Definition at line 37 of file rtpdec_amr.c.

◆ channels

int PayloadContext::channels

Definition at line 38 of file rtpdec_amr.c.

◆ pb

FFIOContext PayloadContext::pb

Definition at line 181 of file rtpdec_asf.c.

Referenced by asfrtp_parse_packet().

◆ pktbuf

AVIOContext * PayloadContext::pktbuf

◆ buf [1/3]

AVIOContext * PayloadContext::buf

◆ buf [2/3]

AVIOContext* PayloadContext::buf

Definition at line 28 of file rtpdec_dv.c.

◆ bundled_audio

int PayloadContext::bundled_audio

Definition at line 30 of file rtpdec_dv.c.

Referenced by dv_sdp_parse_fmtp_config().

◆ endbyte

uint8_t PayloadContext::endbyte

Definition at line 31 of file rtpdec_h261.c.

Referenced by h261_handle_packet().

◆ endbyte_bits

int PayloadContext::endbyte_bits

Definition at line 32 of file rtpdec_h261.c.

Referenced by h261_handle_packet().

◆ newformat

int PayloadContext::newformat

Definition at line 40 of file rtpdec_h263_rfc2190.c.

◆ profile_idc

uint8_t PayloadContext::profile_idc

Definition at line 47 of file rtpdec_h264.c.

Referenced by parse_profile_level_id().

◆ profile_iop

uint8_t PayloadContext::profile_iop

Definition at line 48 of file rtpdec_h264.c.

Referenced by parse_profile_level_id().

◆ level_idc

uint8_t PayloadContext::level_idc

Definition at line 49 of file rtpdec_h264.c.

Referenced by parse_profile_level_id().

◆ packetization_mode

int PayloadContext::packetization_mode

Definition at line 50 of file rtpdec_h264.c.

Referenced by sdp_parse_fmtp_config_h264().

◆ using_donl_field

int PayloadContext::using_donl_field

Definition at line 39 of file rtpdec_hevc.c.

Referenced by hevc_handle_packet(), and hevc_sdp_parse_fmtp_config().

◆ profile_id

int PayloadContext::profile_id

Definition at line 40 of file rtpdec_hevc.c.

Referenced by hevc_sdp_parse_fmtp_config().

◆ sps

uint8_t* PayloadContext::sps

Definition at line 41 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

◆ pps

uint8_t * PayloadContext::pps

Definition at line 41 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

◆ vps

uint8_t * PayloadContext::vps

Definition at line 41 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

◆ sei

uint8_t * PayloadContext::sei

Definition at line 41 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

◆ sps_size

int PayloadContext::sps_size

Definition at line 42 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

◆ pps_size

int PayloadContext::pps_size

Definition at line 42 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

◆ vps_size

int PayloadContext::vps_size

Definition at line 42 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

◆ sei_size

int PayloadContext::sei_size

Definition at line 42 of file rtpdec_hevc.c.

Referenced by hevc_parse_sdp_line(), and hevc_sdp_parse_fmtp_config().

◆ frame [1/2]

AVIOContext* PayloadContext::frame

current frame buffer

Definition at line 35 of file rtpdec_jpeg.c.

Referenced by jpeg_close_context(), and jpeg_parse_packet().

◆ hdr_size

int PayloadContext::hdr_size

size of the current frame header

Definition at line 37 of file rtpdec_jpeg.c.

Referenced by jpeg_parse_packet().

◆ qtables

uint8_t PayloadContext::qtables[128][128]

Definition at line 38 of file rtpdec_jpeg.c.

Referenced by jpeg_parse_packet().

◆ qtables_len

uint8_t PayloadContext::qtables_len[128]

Definition at line 39 of file rtpdec_jpeg.c.

Referenced by jpeg_parse_packet().

◆ dyn_buf

AVIOContext* PayloadContext::dyn_buf

Definition at line 29 of file rtpdec_latm.c.

◆ pos

int PayloadContext::pos

Definition at line 31 of file rtpdec_latm.c.

◆ len [1/2]

int PayloadContext::len

Definition at line 31 of file rtpdec_latm.c.

Referenced by qdm2_parse_packet(), qdm2_parse_subpacket(), and qdm2_restore_block().

◆ adu_size

unsigned PayloadContext::adu_size

Definition at line 29 of file rtpdec_mpa_robust.c.

◆ cur_size

unsigned PayloadContext::cur_size

Definition at line 30 of file rtpdec_mpa_robust.c.

◆ split_buf

uint8_t * PayloadContext::split_buf

Definition at line 32 of file rtpdec_mpa_robust.c.

◆ split_pos

int PayloadContext::split_pos

Definition at line 33 of file rtpdec_mpa_robust.c.

◆ split_buf_size

int PayloadContext::split_buf_size

Definition at line 33 of file rtpdec_mpa_robust.c.

◆ split_pkts

int PayloadContext::split_pkts

Definition at line 33 of file rtpdec_mpa_robust.c.

◆ sizelength

int PayloadContext::sizelength

Definition at line 40 of file rtpdec_mpeg4.c.

◆ indexlength

int PayloadContext::indexlength

Definition at line 41 of file rtpdec_mpeg4.c.

◆ indexdeltalength

int PayloadContext::indexdeltalength

Definition at line 42 of file rtpdec_mpeg4.c.

◆ profile_level_id

int PayloadContext::profile_level_id

Definition at line 43 of file rtpdec_mpeg4.c.

◆ streamtype

int PayloadContext::streamtype

Definition at line 44 of file rtpdec_mpeg4.c.

◆ objecttype

int PayloadContext::objecttype

Definition at line 45 of file rtpdec_mpeg4.c.

◆ mode

char* PayloadContext::mode

Definition at line 46 of file rtpdec_mpeg4.c.

◆ au_headers

struct PayloadContext::AUHeaders * PayloadContext::au_headers

◆ au_headers_allocated

int PayloadContext::au_headers_allocated

Definition at line 59 of file rtpdec_mpeg4.c.

◆ nb_au_headers

int PayloadContext::nb_au_headers

Definition at line 60 of file rtpdec_mpeg4.c.

◆ au_headers_length_bytes

int PayloadContext::au_headers_length_bytes

Definition at line 61 of file rtpdec_mpeg4.c.

◆ cur_au_index

int PayloadContext::cur_au_index

Definition at line 62 of file rtpdec_mpeg4.c.

◆ buf [3/3]

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

the temporary storage buffer

Definition at line 64 of file rtpdec_mpeg4.c.

◆ buf_pos

int PayloadContext::buf_pos

Definition at line 65 of file rtpdec_mpeg4.c.

◆ buf_size

int PayloadContext::buf_size

Definition at line 65 of file rtpdec_mpeg4.c.

◆ ts

struct MpegTSContext* PayloadContext::ts

Definition at line 27 of file rtpdec_mpegts.c.

◆ read_buf_index

int PayloadContext::read_buf_index

Definition at line 28 of file rtpdec_mpegts.c.

◆ read_buf_size

int PayloadContext::read_buf_size

Definition at line 29 of file rtpdec_mpegts.c.

◆ interleave_size

int PayloadContext::interleave_size

Definition at line 38 of file rtpdec_qcelp.c.

◆ interleave_index

int PayloadContext::interleave_index

Definition at line 39 of file rtpdec_qcelp.c.

◆ group

InterleavePacket PayloadContext::group[6]

Definition at line 40 of file rtpdec_qcelp.c.

◆ group_finished

int PayloadContext::group_finished

Definition at line 41 of file rtpdec_qcelp.c.

◆ next_data

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

Definition at line 45 of file rtpdec_qcelp.c.

◆ next_size

int PayloadContext::next_size

Definition at line 46 of file rtpdec_qcelp.c.

◆ next_timestamp

uint32_t PayloadContext::next_timestamp

Definition at line 47 of file rtpdec_qcelp.c.

◆ block_type

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

◆ block_size

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

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

◆ len [2/2]

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.

◆ cache

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

◆ n_pkts

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

◆ pkt

AVPacket* PayloadContext::pkt

Definition at line 37 of file rtpdec_qt.c.

Referenced by qt_rtp_close(), qt_rtp_init(), and qt_rtp_parse_packet().

◆ bytes_per_frame

int PayloadContext::bytes_per_frame

Definition at line 38 of file rtpdec_qt.c.

Referenced by qt_rtp_parse_packet().

◆ remaining

int PayloadContext::remaining

Definition at line 38 of file rtpdec_qt.c.

Referenced by qt_rtp_parse_packet().

◆ sampling

char* PayloadContext::sampling

Definition at line 31 of file rtpdec_rfc4175.c.

◆ framerate

AVRational PayloadContext::framerate

Definition at line 32 of file rtpdec_rfc4175.c.

◆ depth

int PayloadContext::depth

Definition at line 33 of file rtpdec_rfc4175.c.

◆ width

int PayloadContext::width

Definition at line 34 of file rtpdec_rfc4175.c.

◆ height

int PayloadContext::height

Definition at line 35 of file rtpdec_rfc4175.c.

◆ interlaced

int PayloadContext::interlaced

Definition at line 36 of file rtpdec_rfc4175.c.

◆ field

int PayloadContext::field

Definition at line 37 of file rtpdec_rfc4175.c.

◆ frame [2/2]

uint8_t* PayloadContext::frame

Definition at line 39 of file rtpdec_rfc4175.c.

◆ frame_size [1/2]

unsigned int PayloadContext::frame_size

Definition at line 40 of file rtpdec_rfc4175.c.

Referenced by vc2hq_handle_frame_fragment(), and vc2hq_handle_packet().

◆ pgroup

unsigned int PayloadContext::pgroup

Definition at line 41 of file rtpdec_rfc4175.c.

◆ xinc

unsigned int PayloadContext::xinc

Definition at line 42 of file rtpdec_rfc4175.c.

◆ timestamp [2/2]

int64_t PayloadContext::timestamp

Definition at line 39 of file rtpdec_svq3.c.

◆ frame_size [2/2]

uint32_t PayloadContext::frame_size

Definition at line 36 of file rtpdec_vc2hq.c.

◆ frame_nr

uint32_t PayloadContext::frame_nr

Definition at line 37 of file rtpdec_vc2hq.c.

Referenced by vc2hq_handle_frame_fragment().

◆ last_unit_size

uint32_t PayloadContext::last_unit_size

Definition at line 39 of file rtpdec_vc2hq.c.

Referenced by fill_parse_info_header().

◆ seen_sequence_header

int PayloadContext::seen_sequence_header

◆ data

AVIOContext* PayloadContext::data

Definition at line 36 of file rtpdec_vp8.c.

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

◆ is_keyframe

int PayloadContext::is_keyframe

Definition at line 38 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

◆ sequence_ok

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

◆ first_part_size

int PayloadContext::first_part_size

Definition at line 44 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

◆ prev_seq

uint16_t PayloadContext::prev_seq

Definition at line 45 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

◆ prev_pictureid

int PayloadContext::prev_pictureid

Definition at line 46 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

◆ broken_frame

int PayloadContext::broken_frame

Definition at line 47 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

◆ sequence_dirty

int PayloadContext::sequence_dirty

Definition at line 52 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet(), and vp8_need_keyframe().

◆ got_keyframe

int PayloadContext::got_keyframe

Definition at line 53 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

◆ ident

unsigned PayloadContext::ident

24-bit stream configuration identifier

Definition at line 45 of file rtpdec_xiph.c.

Referenced by parse_packed_headers().

◆ split_buf_len

int PayloadContext::split_buf_len

Definition at line 49 of file rtpdec_xiph.c.


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