7 #ifndef PACKAGER_MEDIA_FORMATS_MP4_CHUNK_INFO_ITERATOR_H_
8 #define PACKAGER_MEDIA_FORMATS_MP4_CHUNK_INFO_ITERATOR_H_
13 #include <packager/macros/classes.h>
14 #include <packager/media/formats/mp4/box_definitions.h>
48 return iterator_->sample_description_index;
53 uint32_t
NumSamples(uint32_t start_chunk, uint32_t end_chunk)
const;
57 return chunk_info_table_.empty() ? 0
58 : chunk_info_table_.back().first_chunk;
62 uint32_t chunk_sample_index_;
63 uint32_t current_chunk_;
64 const std::vector<ChunkInfo>& chunk_info_table_;
65 std::vector<ChunkInfo>::const_iterator iterator_;
All the methods that are virtual are virtual for mocking.