Shaka Packager SDK
|
#include <decoding_time_iterator.h>
Public Member Functions | |
DecodingTimeIterator (const DecodingTimeToSample &decoding_time_to_sample) | |
Create DecodingTimeIterator from decoding time to sample box. | |
bool | AdvanceSample () |
bool | IsValid () const |
uint32_t | sample_delta () const |
int64_t | Duration (uint32_t start_sample, uint32_t end_sample) const |
uint32_t | NumSamples () const |
Decoding time to sample box (STTS) iterator used to iterate through the compressed table. This class also provides convenient functions to query total number of samples and the duration from start_sample to end_sample.
Definition at line 23 of file decoding_time_iterator.h.
bool shaka::media::mp4::DecodingTimeIterator::AdvanceSample | ( | ) |
Advance to the next sample.
Definition at line 25 of file decoding_time_iterator.cc.
int64_t shaka::media::mp4::DecodingTimeIterator::Duration | ( | uint32_t | start_sample, |
uint32_t | end_sample | ||
) | const |
Definition at line 41 of file decoding_time_iterator.cc.
bool shaka::media::mp4::DecodingTimeIterator::IsValid | ( | ) | const |
Definition at line 36 of file decoding_time_iterator.cc.
uint32_t shaka::media::mp4::DecodingTimeIterator::NumSamples | ( | ) | const |
Definition at line 62 of file decoding_time_iterator.cc.
|
inline |
Definition at line 39 of file decoding_time_iterator.h.