libwebm: incrementally load block entries

Change-Id: I566df5979e7638b6a5411a3338bbb0cf7d9ad111
This commit is contained in:
matthewjheaney
2011-01-25 22:42:16 -05:00
parent b8cb358204
commit a131a01446
2 changed files with 58 additions and 22 deletions

View File

@@ -568,9 +568,11 @@ public:
const BlockEntry* GetMaxKey(const VideoTrack*) const;
static bool HasBlockEntries(const Segment*, long long);
long GetEntryCount() const;
void Load() const;
long Load(long long& pos, long& size) const;
void LoadBlockEntries() const;
long LoadBlockEntries(long long& pos, long& size) const;
protected:
Cluster(
@@ -593,7 +595,6 @@ private:
mutable BlockEntry** m_entries;
mutable long m_entries_count;
void LoadBlockEntries() const;
void ParseBlockGroup(long long, long long, size_t) const;
void ParseSimpleBlock(long long, long long, size_t) const;