FFmpeg
Data Fields
MOVStreamContext Struct Reference

#include <isom.h>

Data Fields

AVIOContextpb
 
int refcount
 
int pb_is_copied
 
int id
 AVStream id. More...
 
int ffindex
 AVStream index. More...
 
int next_chunk
 
unsigned int chunk_count
 
int64_tchunk_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
 
unsigned int * sample_sizes
 
int keyframe_absent
 
unsigned int keyframe_count
 
int * keyframes
 
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
 
unsigned tref_flags
 
int tref_id
 
int timecode_track
 
int width
 tkhd width More...
 
int height
 tkhd height More...
 
int h_spacing
 pasp hSpacing More...
 
int v_spacing
 pasp vSpacing 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
 
int * open_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...
 
int * extradata_size
 
int last_stsd_index
 
int stsd_count
 
int stsd_version
 
int32_tdisplay_matrix
 
AVStereo3Dstereo3d
 
size_t stereo3d_size
 
AVSphericalMappingspherical
 
size_t spherical_size
 
AVMasteringDisplayMetadatamastering
 
size_t mastering_size
 
AVContentLightMetadatacoll
 
size_t coll_size
 
AVAmbientViewingEnvironmentambient
 
size_t ambient_size
 
uint32_t format
 
int has_sidx
 
struct {
   struct AVAESCTR *   aes_ctr
 
   struct AVAES *   aes_ctx
 
   unsigned int   per_sample_iv_size
 
   AVEncryptionInfo *   default_encrypted_sample
 
   MOVEncryptionIndex *   encryption_index
 
cenc
 
struct IAMFDemuxContextiamf
 

Detailed Description

Definition at line 167 of file isom.h.

Field Documentation

◆ pb

AVIOContext* MOVStreamContext::pb

◆ refcount

int MOVStreamContext::refcount

Definition at line 169 of file isom.h.

Referenced by heif_add_stream(), mov_free_stream_context(), mov_read_covr(), and mov_read_trak().

◆ pb_is_copied

int MOVStreamContext::pb_is_copied

Definition at line 170 of file isom.h.

Referenced by heif_add_stream(), mov_free_stream_context(), and mov_read_trak().

◆ id

int MOVStreamContext::id

◆ ffindex

int MOVStreamContext::ffindex

◆ next_chunk

int MOVStreamContext::next_chunk

Definition at line 173 of file isom.h.

◆ chunk_count

unsigned int MOVStreamContext::chunk_count

◆ chunk_offsets

int64_t* MOVStreamContext::chunk_offsets

◆ stts_count

unsigned int MOVStreamContext::stts_count

◆ stts_data

MOVStts* MOVStreamContext::stts_data

◆ sdtp_count

unsigned int MOVStreamContext::sdtp_count

Definition at line 178 of file isom.h.

Referenced by mov_finalize_packet(), and mov_read_sdtp().

◆ sdtp_data

uint8_t* MOVStreamContext::sdtp_data

Definition at line 179 of file isom.h.

Referenced by mov_finalize_packet(), mov_free_stream_context(), and mov_read_sdtp().

◆ ctts_count

unsigned int MOVStreamContext::ctts_count

◆ ctts_allocated_size

unsigned int MOVStreamContext::ctts_allocated_size

Definition at line 181 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 185 of file isom.h.

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

◆ stsc_sample

int MOVStreamContext::stsc_sample

Definition at line 186 of file isom.h.

Referenced by mov_finalize_packet(), and mov_seek_stream().

◆ stps_count

unsigned int MOVStreamContext::stps_count

Definition at line 187 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 188 of file isom.h.

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

◆ elst_data

MOVElst* MOVStreamContext::elst_data

◆ elst_count

unsigned int MOVStreamContext::elst_count

Definition at line 190 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 191 of file isom.h.

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

◆ ctts_sample

int MOVStreamContext::ctts_sample

Definition at line 192 of file isom.h.

Referenced by mov_finalize_packet(), mov_fix_index(), 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 193 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 194 of file isom.h.

Referenced by mov_build_index(), and mov_read_stsz().

◆ sample_count

unsigned int MOVStreamContext::sample_count

◆ sample_sizes

unsigned int* MOVStreamContext::sample_sizes

◆ keyframe_absent

int MOVStreamContext::keyframe_absent

Definition at line 197 of file isom.h.

Referenced by mov_build_index(), and mov_read_stss().

◆ keyframe_count

unsigned int MOVStreamContext::keyframe_count

Definition at line 198 of file isom.h.

Referenced by mov_build_index(), and mov_read_stss().

◆ keyframes

int* MOVStreamContext::keyframes

Definition at line 199 of file isom.h.

Referenced by mov_build_index(), mov_free_stream_context(), 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 201 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 202 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 208 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 209 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 210 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 211 of file isom.h.

Referenced by mov_parse_stsd_audio().

◆ drefs_count

unsigned MOVStreamContext::drefs_count

Definition at line 212 of file isom.h.

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

◆ drefs

MOVDref* MOVStreamContext::drefs

Definition at line 213 of file isom.h.

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

◆ dref_id

int MOVStreamContext::dref_id

Definition at line 214 of file isom.h.

Referenced by ff_mov_read_stsd_entries(), and mov_read_trak().

◆ tref_flags

unsigned MOVStreamContext::tref_flags

Definition at line 215 of file isom.h.

Referenced by mov_parse_lcevc_streams(), mov_read_sbas(), and mov_read_trak().

◆ tref_id

int MOVStreamContext::tref_id

Definition at line 216 of file isom.h.

Referenced by mov_find_reference_track(), mov_read_sbas(), and mov_read_trak().

◆ timecode_track

int MOVStreamContext::timecode_track

Definition at line 217 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 218 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 219 of file isom.h.

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

◆ h_spacing

int MOVStreamContext::h_spacing

pasp hSpacing

Definition at line 220 of file isom.h.

Referenced by mov_read_pasp(), and mov_read_trak().

◆ v_spacing

int MOVStreamContext::v_spacing

pasp vSpacing

Definition at line 221 of file isom.h.

Referenced by mov_read_pasp(), and mov_read_trak().

◆ dts_shift

int MOVStreamContext::dts_shift

◆ palette

uint32_t MOVStreamContext::palette[256]

Definition at line 223 of file isom.h.

Referenced by mov_parse_stsd_video(), and mov_read_packet().

◆ has_palette

int MOVStreamContext::has_palette

Definition at line 224 of file isom.h.

Referenced by mov_parse_stsd_video(), and mov_read_packet().

◆ data_size

int64_t MOVStreamContext::data_size

Definition at line 225 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 226 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 227 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 228 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 229 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 230 of file isom.h.

Referenced by mov_build_index(), and mov_read_sbgp().

◆ rap_group

MOVSbgp* MOVStreamContext::rap_group

Definition at line 231 of file isom.h.

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

◆ sync_group_count

unsigned int MOVStreamContext::sync_group_count

Definition at line 232 of file isom.h.

Referenced by build_open_gop_key_points(), and mov_read_sbgp().

◆ sync_group

MOVSbgp* MOVStreamContext::sync_group

◆ sgpd_sync

uint8_t* MOVStreamContext::sgpd_sync

Definition at line 234 of file isom.h.

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

◆ sgpd_sync_count

uint32_t MOVStreamContext::sgpd_sync_count

Definition at line 235 of file isom.h.

Referenced by get_sgpd_sync_index(), and mov_read_sgpd().

◆ sample_offsets

int32_t* MOVStreamContext::sample_offsets

◆ sample_offsets_count

int MOVStreamContext::sample_offsets_count

Definition at line 237 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 238 of file isom.h.

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

◆ open_key_samples_count

int MOVStreamContext::open_key_samples_count

Definition at line 239 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 240 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 242 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 243 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 246 of file isom.h.

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

◆ extradata_size

int* MOVStreamContext::extradata_size

◆ last_stsd_index

int MOVStreamContext::last_stsd_index

Definition at line 248 of file isom.h.

Referenced by mov_change_extradata(), and mov_finalize_packet().

◆ stsd_count

int MOVStreamContext::stsd_count

◆ stsd_version

int MOVStreamContext::stsd_version

Definition at line 250 of file isom.h.

Referenced by mov_parse_stsd_audio(), and mov_read_stsd().

◆ display_matrix

int32_t* MOVStreamContext::display_matrix

Definition at line 252 of file isom.h.

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

◆ stereo3d

AVStereo3D* MOVStreamContext::stereo3d

◆ stereo3d_size

size_t MOVStreamContext::stereo3d_size

◆ spherical

AVSphericalMapping* MOVStreamContext::spherical

◆ spherical_size

size_t MOVStreamContext::spherical_size

◆ mastering

AVMasteringDisplayMetadata* MOVStreamContext::mastering

Definition at line 257 of file isom.h.

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

◆ mastering_size

size_t MOVStreamContext::mastering_size

Definition at line 258 of file isom.h.

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

◆ coll

AVContentLightMetadata* MOVStreamContext::coll

Definition at line 259 of file isom.h.

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

◆ coll_size

size_t MOVStreamContext::coll_size

Definition at line 260 of file isom.h.

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

◆ ambient

AVAmbientViewingEnvironment* MOVStreamContext::ambient

Definition at line 261 of file isom.h.

Referenced by mov_free_stream_context(), mov_read_amve(), and mov_read_header().

◆ ambient_size

size_t MOVStreamContext::ambient_size

Definition at line 262 of file isom.h.

Referenced by mov_read_amve(), and mov_read_header().

◆ format

uint32_t MOVStreamContext::format

◆ has_sidx

int MOVStreamContext::has_sidx

Definition at line 266 of file isom.h.

Referenced by get_frag_time(), and mov_read_sidx().

◆ aes_ctr

struct AVAESCTR* MOVStreamContext::aes_ctr

Definition at line 268 of file isom.h.

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

◆ aes_ctx

struct AVAES* MOVStreamContext::aes_ctx

Definition at line 269 of file isom.h.

Referenced by cbc1_scheme_decrypt(), and cbcs_scheme_decrypt().

◆ 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 272 of file isom.h.

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

◆ cenc

struct { ... } MOVStreamContext::cenc

◆ iamf

struct IAMFDemuxContext* MOVStreamContext::iamf

Definition at line 275 of file isom.h.

Referenced by mov_free_stream_context(), mov_read_packet(), and mov_read_trak().


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