FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVIndexEntry Struct Reference

#include <avformat.h>

Data Fields

int64_t pos
 
int64_t timestamp
 Timestamp in AVStream.time_base units, preferably the time from which on correctly decoded frames are available when seeking to this entry.
 
int flags:2
 
int size:30
 
int min_distance
 Minimum distance between this and the previous keyframe, used to avoid unneeded searching.
 

Detailed Description

Definition at line 600 of file avformat.h.

Field Documentation

int64_t AVIndexEntry::pos
int64_t AVIndexEntry::timestamp

Timestamp in AVStream.time_base units, preferably the time from which on correctly decoded frames are available when seeking to this entry.

That means preferable PTS on keyframe based formats. But demuxers can choose to store a different timestamp, if it is more convenient for the implementation or nothing better is known

Definition at line 602 of file avformat.h.

Referenced by avi_read_packet(), avi_read_seek(), clean_index(), ff_add_index_entry(), ff_index_search_timestamp(), ff_seek_frame_binary(), guess_ni_flag(), matroska_read_seek(), mov_build_index(), mov_find_next_sample(), mov_read_chapters(), mov_read_packet(), mov_read_seek(), mp3_seek(), mpc8_read_seek(), mpc_read_seek(), mv_read_packet(), mxf_compute_ptses_fake_index(), nsv_read_seek(), read_header(), read_packet(), read_seek(), rl2_read_packet(), rl2_read_seek(), rpl_read_packet(), seek_frame_generic(), and tta_read_packet().

int AVIndexEntry::flags
int AVIndexEntry::size
int AVIndexEntry::min_distance

Minimum distance between this and the previous keyframe, used to avoid unneeded searching.

Definition at line 611 of file avformat.h.

Referenced by ff_add_index_entry(), ff_seek_frame_binary(), and mov_build_index().


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