Shaka Player Embedded
|
#include <streams.h>
Public Member Functions | |
Stream () | |
void | AddFrame (std::shared_ptr< T > frame) |
std::shared_ptr< T > | GetFrame (double time, FrameLocation kind=FrameLocation::After) const |
![]() | |
StreamBase (bool order_by_dts) | |
~StreamBase () | |
StreamBase (const StreamBase &)=delete | |
StreamBase & | operator= (const StreamBase &)=delete |
StreamBase (StreamBase &&)=delete | |
StreamBase & | operator= (StreamBase &&)=delete |
size_t | CountFramesBetween (double start, double end) const |
std::vector< BufferedRange > | GetBufferedRanges () const |
size_t | EstimateSize () const |
void | Remove (double start, double end) |
void | Clear () |
void | DebugPrint (bool all_frames) const |
Additional Inherited Members | |
![]() | |
static constexpr const double | kMaxGapSize = 0.15 |
![]() | |
std::shared_ptr< BaseFrame > | GetFrameInternal (double time, FrameLocation kind) const |
void | AddFrameInternal (std::shared_ptr< BaseFrame > frame) |
Defines a stream that contains frames of the given type and has the given frame ordering.
This type is internally thread-safe.
|
inline |
|
inline |
|
inline |