webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | List of all members
WebCore::PlatformTimeRanges Class Reference

#include <PlatformTimeRanges.h>

Public Member Functions

 PlatformTimeRanges ()
 
 PlatformTimeRanges (const MediaTime &start, const MediaTime &end)
 
WEBCORE_EXPORT MediaTime start (unsigned index) const
 
MediaTime start (unsigned index, bool &valid) const
 
WEBCORE_EXPORT MediaTime end (unsigned index) const
 
MediaTime end (unsigned index, bool &valid) const
 
MediaTime duration (unsigned index) const
 
MediaTime maximumBufferedTime () const
 
void invert ()
 
void intersectWith (const PlatformTimeRanges &)
 
void unionWith (const PlatformTimeRanges &)
 
unsigned length () const
 
void add (const MediaTime &start, const MediaTime &end)
 
bool contain (const MediaTime &) const
 
size_t find (const MediaTime &) const
 
MediaTime nearest (const MediaTime &) const
 
MediaTime totalDuration () const
 
void dump (WTF::PrintStream &) const
 
 PlatformTimeRanges ()
 
 PlatformTimeRanges (const MediaTime &start, const MediaTime &end)
 
WEBCORE_EXPORT MediaTime start (unsigned index) const
 
MediaTime start (unsigned index, bool &valid) const
 
WEBCORE_EXPORT MediaTime end (unsigned index) const
 
MediaTime end (unsigned index, bool &valid) const
 
MediaTime duration (unsigned index) const
 
MediaTime maximumBufferedTime () const
 
void invert ()
 
void intersectWith (const PlatformTimeRanges &)
 
void unionWith (const PlatformTimeRanges &)
 
unsigned length () const
 
void add (const MediaTime &start, const MediaTime &end)
 
bool contain (const MediaTime &) const
 
size_t find (const MediaTime &) const
 
MediaTime nearest (const MediaTime &) const
 
MediaTime totalDuration () const
 
void dump (WTF::PrintStream &) const
 

Constructor & Destructor Documentation

◆ PlatformTimeRanges() [1/4]

WebCore::PlatformTimeRanges::PlatformTimeRanges ( )
inlineexplicit

◆ PlatformTimeRanges() [2/4]

WebCore::PlatformTimeRanges::PlatformTimeRanges ( const MediaTime start,
const MediaTime end 
)

◆ PlatformTimeRanges() [3/4]

WebCore::PlatformTimeRanges::PlatformTimeRanges ( )
inlineexplicit

◆ PlatformTimeRanges() [4/4]

WebCore::PlatformTimeRanges::PlatformTimeRanges ( const MediaTime start,
const MediaTime end 
)

Member Function Documentation

◆ add() [1/2]

void WebCore::PlatformTimeRanges::add ( const MediaTime start,
const MediaTime end 
)

◆ add() [2/2]

void WebCore::PlatformTimeRanges::add ( const MediaTime start,
const MediaTime end 
)

◆ contain() [1/2]

bool WebCore::PlatformTimeRanges::contain ( const MediaTime time) const

◆ contain() [2/2]

bool WebCore::PlatformTimeRanges::contain ( const MediaTime ) const

◆ dump() [1/2]

void WebCore::PlatformTimeRanges::dump ( WTF::PrintStream out) const

◆ dump() [2/2]

void WebCore::PlatformTimeRanges::dump ( WTF::PrintStream ) const

◆ duration() [1/2]

MediaTime WebCore::PlatformTimeRanges::duration ( unsigned  index) const

◆ duration() [2/2]

MediaTime WebCore::PlatformTimeRanges::duration ( unsigned  index) const

◆ end() [1/4]

WEBCORE_EXPORT MediaTime WebCore::PlatformTimeRanges::end ( unsigned  index) const

◆ end() [2/4]

MediaTime WebCore::PlatformTimeRanges::end ( unsigned  index) const

◆ end() [3/4]

MediaTime WebCore::PlatformTimeRanges::end ( unsigned  index,
bool &  valid 
) const

◆ end() [4/4]

MediaTime WebCore::PlatformTimeRanges::end ( unsigned  index,
bool &  valid 
) const

◆ find() [1/2]

size_t WebCore::PlatformTimeRanges::find ( const MediaTime time) const

◆ find() [2/2]

size_t WebCore::PlatformTimeRanges::find ( const MediaTime ) const

◆ intersectWith() [1/2]

void WebCore::PlatformTimeRanges::intersectWith ( const PlatformTimeRanges other)

◆ intersectWith() [2/2]

void WebCore::PlatformTimeRanges::intersectWith ( const PlatformTimeRanges )

◆ invert() [1/2]

void WebCore::PlatformTimeRanges::invert ( )

◆ invert() [2/2]

void WebCore::PlatformTimeRanges::invert ( )

◆ length() [1/2]

unsigned WebCore::PlatformTimeRanges::length ( void  ) const
inline

◆ length() [2/2]

unsigned WebCore::PlatformTimeRanges::length ( void  ) const
inline

◆ maximumBufferedTime() [1/2]

MediaTime WebCore::PlatformTimeRanges::maximumBufferedTime ( ) const

◆ maximumBufferedTime() [2/2]

MediaTime WebCore::PlatformTimeRanges::maximumBufferedTime ( ) const

◆ nearest() [1/2]

MediaTime WebCore::PlatformTimeRanges::nearest ( const MediaTime time) const

◆ nearest() [2/2]

MediaTime WebCore::PlatformTimeRanges::nearest ( const MediaTime ) const

◆ start() [1/4]

WEBCORE_EXPORT MediaTime WebCore::PlatformTimeRanges::start ( unsigned  index) const

◆ start() [2/4]

MediaTime WebCore::PlatformTimeRanges::start ( unsigned  index) const

◆ start() [3/4]

MediaTime WebCore::PlatformTimeRanges::start ( unsigned  index,
bool &  valid 
) const

◆ start() [4/4]

MediaTime WebCore::PlatformTimeRanges::start ( unsigned  index,
bool &  valid 
) const

◆ totalDuration() [1/2]

MediaTime WebCore::PlatformTimeRanges::totalDuration ( ) const

◆ totalDuration() [2/2]

MediaTime WebCore::PlatformTimeRanges::totalDuration ( ) const

◆ unionWith() [1/2]

void WebCore::PlatformTimeRanges::unionWith ( const PlatformTimeRanges )

◆ unionWith() [2/2]

void WebCore::PlatformTimeRanges::unionWith ( const PlatformTimeRanges other)

The documentation for this class was generated from the following files: