Home
last modified time | relevance | path

Searched refs:UseDTS (Results 1 – 5 of 5) sorted by relevance

/dports/multimedia/ffms2/ffms2-2.40/src/core/
H A Dindexing.cpp395 …bool UseDTS = !strcmp(FormatContext->iformat->name, "mpeg") || !strcmp(FormatContext->iformat->nam… in DoIndexing() local
402 UseDTS); in DoIndexing()
483 ReadTS(Packet, LastValidTS[Track], (*TrackIndices)[Track].UseDTS); in DoIndexing()
486 int64_t PTS = TrackInfo.UseDTS ? Packet.dts : Packet.pts; in DoIndexing()
542 void FFMS_Indexer::ReadTS(const AVPacket &Packet, int64_t &TS, bool &UseDTS) { in ReadTS() argument
543 if (!UseDTS && Packet.pts != AV_NOPTS_VALUE) in ReadTS()
546 UseDTS = true; in ReadTS()
547 if (UseDTS && Packet.dts != AV_NOPTS_VALUE) in ReadTS()
H A Dtrack.h64 bool UseDTS = false; member
111 …FFMS_Track(int64_t Num, int64_t Den, FFMS_TrackType TT, bool HasDiscontTS, bool UseDTS, bool HasTS…
H A Dtrack.cpp76 FFMS_Track::FFMS_Track(int64_t Num, int64_t Den, FFMS_TrackType TT, bool HasDiscontTS, bool UseDTS,… in FFMS_Track() argument
79 , UseDTS(UseDTS) in FFMS_Track()
94 UseDTS = !!stream.Read<uint8_t>(); in FFMS_Track()
116 stream.Write<uint8_t>(UseDTS); in Write()
H A Dindexing.h83 void ReadTS(const AVPacket &Packet, int64_t &TS, bool &UseDTS);
H A Dvideosource.cpp686 AStartTime = Frames.UseDTS ? Packet.dts : Packet.pts; in DecodeNextFrame()