Shaka Packager SDK
Public Member Functions | List of all members
shaka::media::mp4::SyncSampleIterator Class Reference

#include <sync_sample_iterator.h>

Public Member Functions

 SyncSampleIterator (const SyncSample &sync_sample)
 Create a new SyncSampleIterator from sync sample box.
 
bool AdvanceSample ()
 
bool IsSyncSample () const
 
bool IsSyncSample (uint32_t sample) const
 

Detailed Description

Sync sample box (STSS) iterator used to iterate through the entries within the compressed table.

Definition at line 22 of file sync_sample_iterator.h.

Member Function Documentation

◆ AdvanceSample()

bool shaka::media::mp4::SyncSampleIterator::AdvanceSample ( )

Advance to the next sample.

Returns
true if not past the last sample, false otherwise.

Definition at line 22 of file sync_sample_iterator.cc.

◆ IsSyncSample() [1/2]

bool shaka::media::mp4::SyncSampleIterator::IsSyncSample ( ) const
Returns
true if the current sample is a sync sample, false otherwise.

Definition at line 29 of file sync_sample_iterator.cc.

◆ IsSyncSample() [2/2]

bool shaka::media::mp4::SyncSampleIterator::IsSyncSample ( uint32_t  sample) const
Returns
true if sample (1-based) is a sync sample, false otherwise.

Definition at line 36 of file sync_sample_iterator.cc.


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