FFmpeg
Data Fields
MOVStreamContext Struct Reference

#include <isom.h>

Data Fields

AVIOContextpb
 
int pb_is_copied
 
int ffindex
 AVStream index. More...
 
int next_chunk
 
unsigned int chunk_count
 
int64_t * chunk_offsets
 
unsigned int stts_count
 
MOVSttsstts_data
 
unsigned int sdtp_count
 
uint8_t * sdtp_data
 
unsigned int ctts_count
 
unsigned int ctts_allocated_size
 
MOVCttsctts_data
 
unsigned int stsc_count
 
MOVStscstsc_data
 
unsigned int stsc_index
 
int stsc_sample
 
unsigned int stps_count
 
unsigned * stps_data
 partial sync sample for mpeg-2 open gop More...
 
MOVElstelst_data
 
unsigned int elst_count
 
int ctts_index
 
int ctts_sample
 
unsigned int sample_size
 may contain value calculated from stsd or value from stsz atom More...
 
unsigned int stsz_sample_size
 always contains sample size from stsz atom More...
 
unsigned int sample_count
 
intsample_sizes
 
int keyframe_absent
 
unsigned int keyframe_count
 
intkeyframes
 
int time_scale
 
int64_t time_offset
 time offset of the edit list entries More...
 
int64_t min_corrected_pts
 minimum Composition time shown by the edits excluding empty edits. More...
 
int current_sample
 
int64_t current_index
 
MOVIndexRangeindex_ranges
 
MOVIndexRangecurrent_index_range
 
unsigned int bytes_per_frame
 
unsigned int samples_per_frame
 
int dv_audio_container
 
int pseudo_stream_id
 -1 means demux all ids More...
 
int16_t audio_cid
 stsd audio compression id More...
 
unsigned drefs_count
 
MOVDrefdrefs
 
int dref_id
 
int timecode_track
 
int width
 tkhd width More...
 
int height
 tkhd height More...
 
int dts_shift
 dts shift when ctts is negative More...
 
uint32_t palette [256]
 
int has_palette
 
int64_t data_size
 
uint32_t tmcd_flags
 tmcd track flags More...
 
uint8_t tmcd_nb_frames
 tmcd number of frames per tick / second More...
 
int64_t track_end
 used for dts generation in fragmented movie files More...
 
int start_pad
 amount of samples to skip due to enc-dec delay More...
 
unsigned int rap_group_count
 
MOVSbgprap_group
 
unsigned int sync_group_count
 
MOVSbgpsync_group
 
uint8_t * sgpd_sync
 
uint32_t sgpd_sync_count
 
int32_tsample_offsets
 
int sample_offsets_count
 
intopen_key_samples
 
int open_key_samples_count
 
uint32_t min_sample_duration
 
int nb_frames_for_fps
 
int64_t duration_for_fps
 
uint8_t ** extradata
 extradata array (and size) for multiple stsd More...
 
intextradata_size
 
int last_stsd_index
 
int stsd_count
 
int stsd_version
 
int32_tdisplay_matrix
 
AVStereo3Dstereo3d
 
AVSphericalMappingspherical
 
size_t spherical_size
 
AVMasteringDisplayMetadatamastering
 
AVContentLightMetadatacoll
 
size_t coll_size
 
uint32_t format
 
int has_sidx
 
struct {
   struct AVAESCTR *   aes_ctr
 
   struct AVAES *   aes_ctx
 
   unsigned int   frag_index_entry_base
 
   unsigned int   per_sample_iv_size
 
   AVEncryptionInfo *   default_encrypted_sample
 
   MOVEncryptionIndex *   encryption_index
 
cenc
 

Detailed Description

Definition at line 163 of file isom.h.

Field Documentation

◆ pb

AVIOContext* MOVStreamContext::pb

◆ pb_is_copied

int MOVStreamContext::pb_is_copied

Definition at line 165 of file isom.h.

Referenced by mov_read_close(), mov_read_iloc(), and mov_read_trak().

◆ ffindex

int MOVStreamContext::ffindex

AVStream index.

Definition at line 166 of file isom.h.

Referenced by fix_timescale(), mov_read_iloc(), mov_read_packet(), mov_read_seek(), and mov_read_trak().

◆ next_chunk

int MOVStreamContext::next_chunk

Definition at line 167 of file isom.h.

◆ chunk_count

unsigned int MOVStreamContext::chunk_count

◆ chunk_offsets

int64_t* MOVStreamContext::chunk_offsets

Definition at line 169 of file isom.h.

Referenced by mov_build_index(), mov_read_close(), mov_read_iloc(), mov_read_stco(), and mov_read_trak().

◆ stts_count

unsigned int MOVStreamContext::stts_count

◆ stts_data

MOVStts* MOVStreamContext::stts_data

◆ sdtp_count

unsigned int MOVStreamContext::sdtp_count

Definition at line 172 of file isom.h.

Referenced by mov_read_packet(), and mov_read_sdtp().

◆ sdtp_data

uint8_t* MOVStreamContext::sdtp_data

Definition at line 173 of file isom.h.

Referenced by mov_read_close(), mov_read_packet(), and mov_read_sdtp().

◆ ctts_count

unsigned int MOVStreamContext::ctts_count

◆ ctts_allocated_size

unsigned int MOVStreamContext::ctts_allocated_size

Definition at line 175 of file isom.h.

Referenced by mov_build_index(), mov_fix_index(), mov_read_ctts(), and mov_read_trun().

◆ ctts_data

MOVCtts* MOVStreamContext::ctts_data

◆ stsc_count

unsigned int MOVStreamContext::stsc_count

◆ stsc_data

MOVStsc* MOVStreamContext::stsc_data

◆ stsc_index

unsigned int MOVStreamContext::stsc_index

Definition at line 179 of file isom.h.

Referenced by mov_change_extradata(), mov_read_packet(), and mov_seek_stream().

◆ stsc_sample

int MOVStreamContext::stsc_sample

Definition at line 180 of file isom.h.

Referenced by mov_read_packet(), and mov_seek_stream().

◆ stps_count

unsigned int MOVStreamContext::stps_count

Definition at line 181 of file isom.h.

Referenced by mov_build_index(), and mov_read_stps().

◆ stps_data

unsigned* MOVStreamContext::stps_data

partial sync sample for mpeg-2 open gop

Definition at line 182 of file isom.h.

Referenced by mov_build_index(), mov_read_close(), mov_read_stps(), and mov_read_trak().

◆ elst_data

MOVElst* MOVStreamContext::elst_data

◆ elst_count

unsigned int MOVStreamContext::elst_count

Definition at line 184 of file isom.h.

Referenced by get_edit_list_entry(), mov_build_index(), mov_fix_index(), and mov_read_elst().

◆ ctts_index

int MOVStreamContext::ctts_index

Definition at line 185 of file isom.h.

Referenced by mov_fix_index(), mov_read_packet(), and mov_seek_stream().

◆ ctts_sample

int MOVStreamContext::ctts_sample

Definition at line 186 of file isom.h.

Referenced by mov_fix_index(), mov_read_packet(), and mov_seek_stream().

◆ sample_size

unsigned int MOVStreamContext::sample_size

may contain value calculated from stsd or value from stsz atom

Definition at line 187 of file isom.h.

Referenced by mov_build_index(), mov_parse_stsd_audio(), mov_read_stsz(), and mov_read_trak().

◆ stsz_sample_size

unsigned int MOVStreamContext::stsz_sample_size

always contains sample size from stsz atom

Definition at line 188 of file isom.h.

Referenced by mov_build_index(), and mov_read_stsz().

◆ sample_count

unsigned int MOVStreamContext::sample_count

Definition at line 189 of file isom.h.

Referenced by mov_build_index(), mov_read_iloc(), mov_read_stsz(), and mov_read_trak().

◆ sample_sizes

int* MOVStreamContext::sample_sizes

Definition at line 190 of file isom.h.

Referenced by mov_build_index(), mov_read_close(), mov_read_iloc(), mov_read_stsz(), and mov_read_trak().

◆ keyframe_absent

int MOVStreamContext::keyframe_absent

Definition at line 191 of file isom.h.

Referenced by mov_build_index(), and mov_read_stss().

◆ keyframe_count

unsigned int MOVStreamContext::keyframe_count

Definition at line 192 of file isom.h.

Referenced by mov_build_index(), and mov_read_stss().

◆ keyframes

int* MOVStreamContext::keyframes

Definition at line 193 of file isom.h.

Referenced by mov_build_index(), mov_read_close(), mov_read_stss(), and mov_read_trak().

◆ time_scale

int MOVStreamContext::time_scale

◆ time_offset

int64_t MOVStreamContext::time_offset

time offset of the edit list entries

Definition at line 195 of file isom.h.

Referenced by mov_build_index(), and mov_read_trun().

◆ min_corrected_pts

int64_t MOVStreamContext::min_corrected_pts

minimum Composition time shown by the edits excluding empty edits.

Definition at line 196 of file isom.h.

Referenced by mov_build_index(), mov_fix_index(), and mov_seek_stream().

◆ current_sample

int MOVStreamContext::current_sample

◆ current_index

int64_t MOVStreamContext::current_index

◆ index_ranges

MOVIndexRange* MOVStreamContext::index_ranges

◆ current_index_range

MOVIndexRange* MOVStreamContext::current_index_range

◆ bytes_per_frame

unsigned int MOVStreamContext::bytes_per_frame

◆ samples_per_frame

unsigned int MOVStreamContext::samples_per_frame

Definition at line 202 of file isom.h.

Referenced by mov_build_index(), mov_finalize_stsd_codec(), and mov_parse_stsd_audio().

◆ dv_audio_container

int MOVStreamContext::dv_audio_container

Definition at line 203 of file isom.h.

Referenced by mov_finalize_stsd_codec(), and mov_read_packet().

◆ pseudo_stream_id

int MOVStreamContext::pseudo_stream_id

-1 means demux all ids

Definition at line 204 of file isom.h.

Referenced by ff_mov_read_stsd_entries(), mov_build_index(), mov_read_schm(), mov_read_tenc(), mov_read_tfdt(), and mov_read_trun().

◆ audio_cid

int16_t MOVStreamContext::audio_cid

stsd audio compression id

Definition at line 205 of file isom.h.

Referenced by mov_parse_stsd_audio().

◆ drefs_count

unsigned MOVStreamContext::drefs_count

Definition at line 206 of file isom.h.

Referenced by mov_read_close(), mov_read_dref(), and mov_read_trak().

◆ drefs

MOVDref* MOVStreamContext::drefs

Definition at line 207 of file isom.h.

Referenced by mov_read_close(), mov_read_dref(), and mov_read_trak().

◆ dref_id

int MOVStreamContext::dref_id

Definition at line 208 of file isom.h.

Referenced by ff_mov_read_stsd_entries(), and mov_read_trak().

◆ timecode_track

int MOVStreamContext::timecode_track

Definition at line 209 of file isom.h.

Referenced by mov_read_header(), mov_read_tmcd(), and tmcd_is_referenced().

◆ width

int MOVStreamContext::width

tkhd width

Definition at line 210 of file isom.h.

Referenced by mov_parse_stsd_subtitle(), mov_read_header(), mov_read_tkhd(), and mov_read_trak().

◆ height

int MOVStreamContext::height

tkhd height

Definition at line 211 of file isom.h.

Referenced by mov_parse_stsd_subtitle(), mov_read_header(), mov_read_tkhd(), and mov_read_trak().

◆ dts_shift

int MOVStreamContext::dts_shift

◆ palette

uint32_t MOVStreamContext::palette[256]

Definition at line 213 of file isom.h.

Referenced by mov_parse_stsd_video(), and mov_read_packet().

◆ has_palette

int MOVStreamContext::has_palette

Definition at line 214 of file isom.h.

Referenced by mov_parse_stsd_video(), and mov_read_packet().

◆ data_size

int64_t MOVStreamContext::data_size

Definition at line 215 of file isom.h.

Referenced by mov_read_header(), mov_read_stsz(), and mov_read_trun().

◆ tmcd_flags

uint32_t MOVStreamContext::tmcd_flags

tmcd track flags

Definition at line 216 of file isom.h.

Referenced by mov_parse_stsd_data(), and mov_read_timecode_track().

◆ tmcd_nb_frames

uint8_t MOVStreamContext::tmcd_nb_frames

tmcd number of frames per tick / second

Definition at line 217 of file isom.h.

Referenced by mov_parse_stsd_data(), and mov_read_timecode_track().

◆ track_end

int64_t MOVStreamContext::track_end

used for dts generation in fragmented movie files

Definition at line 218 of file isom.h.

Referenced by mov_read_sidx(), mov_read_stts(), mov_read_tfdt(), and mov_read_trun().

◆ start_pad

int MOVStreamContext::start_pad

amount of samples to skip due to enc-dec delay

Definition at line 219 of file isom.h.

Referenced by mov_build_index(), mov_fix_index(), mov_get_skip_samples(), mov_read_custom(), and mov_read_header().

◆ rap_group_count

unsigned int MOVStreamContext::rap_group_count

Definition at line 220 of file isom.h.

Referenced by mov_build_index(), and mov_read_sbgp().

◆ rap_group

MOVSbgp* MOVStreamContext::rap_group

Definition at line 221 of file isom.h.

Referenced by mov_build_index(), mov_read_close(), mov_read_sbgp(), and mov_read_trak().

◆ sync_group_count

unsigned int MOVStreamContext::sync_group_count

Definition at line 222 of file isom.h.

Referenced by build_open_gop_key_points(), and mov_read_sbgp().

◆ sync_group

MOVSbgp* MOVStreamContext::sync_group

Definition at line 223 of file isom.h.

Referenced by build_open_gop_key_points(), mov_read_close(), mov_read_sbgp(), and mov_read_trak().

◆ sgpd_sync

uint8_t* MOVStreamContext::sgpd_sync

Definition at line 224 of file isom.h.

Referenced by get_sgpd_sync_index(), mov_read_close(), mov_read_sgpd(), and mov_read_trak().

◆ sgpd_sync_count

uint32_t MOVStreamContext::sgpd_sync_count

Definition at line 225 of file isom.h.

Referenced by get_sgpd_sync_index(), and mov_read_sgpd().

◆ sample_offsets

int32_t* MOVStreamContext::sample_offsets

Definition at line 226 of file isom.h.

Referenced by build_open_gop_key_points(), can_seek_to_key_sample(), and mov_read_close().

◆ sample_offsets_count

int MOVStreamContext::sample_offsets_count

Definition at line 227 of file isom.h.

Referenced by build_open_gop_key_points(), and can_seek_to_key_sample().

◆ open_key_samples

int* MOVStreamContext::open_key_samples

Definition at line 228 of file isom.h.

Referenced by build_open_gop_key_points(), is_open_key_sample(), and mov_read_close().

◆ open_key_samples_count

int MOVStreamContext::open_key_samples_count

Definition at line 229 of file isom.h.

Referenced by build_open_gop_key_points(), and is_open_key_sample().

◆ min_sample_duration

uint32_t MOVStreamContext::min_sample_duration

Definition at line 230 of file isom.h.

Referenced by build_open_gop_key_points(), and mov_seek_stream().

◆ nb_frames_for_fps

int MOVStreamContext::nb_frames_for_fps

Definition at line 232 of file isom.h.

Referenced by mov_read_header(), mov_read_stts(), and mov_read_trun().

◆ duration_for_fps

int64_t MOVStreamContext::duration_for_fps

Definition at line 233 of file isom.h.

Referenced by mov_read_header(), mov_read_stts(), and mov_read_trun().

◆ extradata

uint8_t** MOVStreamContext::extradata

extradata array (and size) for multiple stsd

Definition at line 236 of file isom.h.

Referenced by ff_mov_read_stsd_entries(), mov_change_extradata(), mov_read_close(), and mov_read_stsd().

◆ extradata_size

int* MOVStreamContext::extradata_size

◆ last_stsd_index

int MOVStreamContext::last_stsd_index

Definition at line 238 of file isom.h.

Referenced by mov_change_extradata(), and mov_read_packet().

◆ stsd_count

int MOVStreamContext::stsd_count

Definition at line 239 of file isom.h.

Referenced by ff_mov_read_stsd_entries(), mov_read_close(), mov_read_packet(), and mov_read_stsd().

◆ stsd_version

int MOVStreamContext::stsd_version

Definition at line 240 of file isom.h.

Referenced by mov_parse_stsd_audio(), and mov_read_stsd().

◆ display_matrix

int32_t* MOVStreamContext::display_matrix

Definition at line 242 of file isom.h.

Referenced by mov_read_close(), mov_read_header(), and mov_read_tkhd().

◆ stereo3d

AVStereo3D* MOVStreamContext::stereo3d

Definition at line 243 of file isom.h.

Referenced by mov_parse_uuid_spherical(), mov_read_close(), mov_read_header(), and mov_read_st3d().

◆ spherical

AVSphericalMapping* MOVStreamContext::spherical

◆ spherical_size

size_t MOVStreamContext::spherical_size

Definition at line 245 of file isom.h.

Referenced by mov_parse_uuid_spherical(), mov_read_header(), and mov_read_sv3d().

◆ mastering

AVMasteringDisplayMetadata* MOVStreamContext::mastering

Definition at line 246 of file isom.h.

Referenced by mov_read_close(), mov_read_header(), mov_read_mdcv(), and mov_read_smdm().

◆ coll

AVContentLightMetadata* MOVStreamContext::coll

Definition at line 247 of file isom.h.

Referenced by mov_read_clli(), mov_read_close(), mov_read_coll(), and mov_read_header().

◆ coll_size

size_t MOVStreamContext::coll_size

Definition at line 248 of file isom.h.

Referenced by mov_read_clli(), mov_read_coll(), and mov_read_header().

◆ format

uint32_t MOVStreamContext::format

Definition at line 250 of file isom.h.

Referenced by ff_mov_read_stsd_entries(), mov_parse_stsd_audio(), and mov_read_frma().

◆ has_sidx

int MOVStreamContext::has_sidx

Definition at line 252 of file isom.h.

Referenced by mov_read_sidx(), and search_frag_timestamp().

◆ aes_ctr

struct AVAESCTR* MOVStreamContext::aes_ctr

Definition at line 254 of file isom.h.

Referenced by cenc_scheme_decrypt(), cens_scheme_decrypt(), and mov_read_close().

◆ aes_ctx

struct AVAES* MOVStreamContext::aes_ctx

Definition at line 255 of file isom.h.

Referenced by cbc1_scheme_decrypt(), and cbcs_scheme_decrypt().

◆ frag_index_entry_base

unsigned int MOVStreamContext::frag_index_entry_base

Definition at line 256 of file isom.h.

Referenced by cenc_filter().

◆ per_sample_iv_size

unsigned int MOVStreamContext::per_sample_iv_size

◆ default_encrypted_sample

AVEncryptionInfo* MOVStreamContext::default_encrypted_sample

◆ encryption_index

MOVEncryptionIndex* MOVStreamContext::encryption_index

Definition at line 259 of file isom.h.

Referenced by cenc_filter(), mov_read_close(), and mov_read_tenc().

◆ cenc

struct { ... } MOVStreamContext::cenc

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