SegmentContext Struct Reference
Collaboration diagram for SegmentContext:
Collaboration graph

Data Fields

const AVClassclass
 Class for private options. More...
 
int segment_idx
 index of the segment file to write, starting from 0 More...
 
int segment_idx_wrap
 number after which the index wraps More...
 
int segment_count
 number of segment files already written More...
 
AVOutputFormatoformat
 
AVFormatContextavf
 
char * format
 format to use for output segment files More...
 
char * list
 filename for the segment list file More...
 
int list_flags
 flags affecting list generation More...
 
int list_size
 number of entries for the segment list file More...
 
ListType list_type
 set the list type More...
 
AVIOContextlist_pb
 list file put-byte context More...
 
char * time_str
 segment duration specification string More...
 
int64_t time
 segment duration More...
 
char * times_str
 segment times specification string More...
 
int64_t * times
 list of segment interval specification More...
 
int nb_times
 number of elments in the times array More...
 
char * frames_str
 segment frame numbers specification string More...
 
int * frames
 list of frame number specification More...
 
int nb_frames
 number of elments in the frames array More...
 
int frame_count
 
char * time_delta_str
 approximation value duration used for the segment times More...
 
int64_t time_delta
 
int individual_header_trailer
 Set by a private option. More...
 
int write_header_trailer
 Set by a private option. More...
 
int reset_timestamps
 reset timestamps at the begin of each segment More...
 
char * reference_stream_specifier
 reference stream specifier More...
 
int reference_stream_index
 
SegmentListEntry cur_entry
 
SegmentListEntrysegment_list_entries
 
SegmentListEntrysegment_list_entries_end
 
int is_first_pkt
 tells if it is the first packet in the segment More...
 

Detailed Description

Definition at line 63 of file segment.c.

Field Documentation

const AVClass* SegmentContext::class

Class for private options.

Definition at line 64 of file segment.c.

SegmentListEntry SegmentContext::cur_entry

Definition at line 97 of file segment.c.

Referenced by seg_write_packet(), segment_end(), and set_segment_filename().

char* SegmentContext::format

format to use for output segment files

Definition at line 70 of file segment.c.

Referenced by 7digital-python.lockerEndpoint.DownloadUrls::__init__(), and seg_write_header().

int SegmentContext::frame_count

Definition at line 86 of file segment.c.

Referenced by seg_write_packet().

int* SegmentContext::frames

list of frame number specification

Definition at line 84 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), and seg_write_trailer().

char* SegmentContext::frames_str

segment frame numbers specification string

Definition at line 83 of file segment.c.

Referenced by seg_write_header().

int SegmentContext::individual_header_trailer

Set by a private option.

Definition at line 90 of file segment.c.

Referenced by seg_write_header(), and seg_write_packet().

int SegmentContext::is_first_pkt

tells if it is the first packet in the segment

Definition at line 101 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), and segment_start().

char* SegmentContext::list

filename for the segment list file

Definition at line 71 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), seg_write_trailer(), segment_end(), and segment_list_open().

int SegmentContext::list_flags

flags affecting list generation

Definition at line 72 of file segment.c.

Referenced by segment_list_open().

AVIOContext* SegmentContext::list_pb

list file put-byte context

Definition at line 75 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), seg_write_trailer(), segment_end(), and segment_list_open().

int SegmentContext::list_size

number of entries for the segment list file

Definition at line 73 of file segment.c.

Referenced by segment_end().

ListType SegmentContext::list_type

set the list type

Definition at line 74 of file segment.c.

Referenced by seg_write_header(), segment_end(), and segment_list_open().

int SegmentContext::nb_frames

number of elments in the frames array

Definition at line 85 of file segment.c.

Referenced by seg_write_header(), and seg_write_packet().

int SegmentContext::nb_times

number of elments in the times array

Definition at line 81 of file segment.c.

Referenced by seg_write_header(), and seg_write_packet().

AVOutputFormat* SegmentContext::oformat

Definition at line 68 of file segment.c.

Referenced by seg_write_header(), and segment_mux_init().

int SegmentContext::reference_stream_index

Definition at line 95 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), and select_reference_stream().

char* SegmentContext::reference_stream_specifier

reference stream specifier

Definition at line 94 of file segment.c.

Referenced by select_reference_stream().

int SegmentContext::reset_timestamps

reset timestamps at the begin of each segment

Definition at line 93 of file segment.c.

Referenced by seg_write_packet().

int SegmentContext::segment_count

number of segment files already written

Definition at line 67 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), segment_end(), and segment_start().

int SegmentContext::segment_idx

index of the segment file to write, starting from 0

Definition at line 65 of file segment.c.

Referenced by seg_write_packet(), segment_start(), and set_segment_filename().

int SegmentContext::segment_idx_wrap

number after which the index wraps

Definition at line 66 of file segment.c.

Referenced by set_segment_filename().

SegmentListEntry* SegmentContext::segment_list_entries

Definition at line 98 of file segment.c.

Referenced by seg_write_trailer(), segment_end(), and segment_list_open().

SegmentListEntry* SegmentContext::segment_list_entries_end

Definition at line 99 of file segment.c.

Referenced by segment_end().

int64_t SegmentContext::time

segment duration

Definition at line 77 of file segment.c.

Referenced by seg_write_header(), and seg_write_packet().

int64_t SegmentContext::time_delta

Definition at line 89 of file segment.c.

Referenced by seg_write_header(), and seg_write_packet().

char* SegmentContext::time_delta_str

approximation value duration used for the segment times

Definition at line 88 of file segment.c.

Referenced by seg_write_header().

char* SegmentContext::time_str

segment duration specification string

Definition at line 76 of file segment.c.

Referenced by seg_write_header().

int64_t* SegmentContext::times

list of segment interval specification

Definition at line 80 of file segment.c.

Referenced by seg_write_header(), seg_write_packet(), and seg_write_trailer().

char* SegmentContext::times_str

segment times specification string

Definition at line 79 of file segment.c.

Referenced by seg_write_header().

int SegmentContext::write_header_trailer

Set by a private option.

Definition at line 91 of file segment.c.

Referenced by seg_write_header(), and seg_write_trailer().


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