Lines Matching refs:Cluster

683   Cluster** i = m_clusters;  in ~Segment()
684 Cluster** j = m_clusters + count; in ~Segment()
687 Cluster* const p = *i++; in ~Segment()
1180 status = Cluster::HasBlockEntries(this, cluster_off, pos_, len_); in DoLoadCluster()
1224 Cluster* const pCluster = m_clusters[idx]; in DoLoadCluster()
1279 Cluster* const pCluster = Cluster::Create(this, idx, cluster_off); in DoLoadCluster()
1335 bool Segment::AppendCluster(Cluster* pCluster) { in AppendCluster()
1350 Cluster** const qq = new (std::nothrow) Cluster*[n]; in AppendCluster()
1354 Cluster** q = qq; in AppendCluster()
1355 Cluster** p = m_clusters; in AppendCluster()
1356 Cluster** const pp = p + count; in AppendCluster()
1368 Cluster** const p = m_clusters + m_clusterCount; in AppendCluster()
1372 Cluster** q = p + m_clusterPreloadCount; in AppendCluster()
1377 Cluster** const qq = q - 1; in AppendCluster()
1394 bool Segment::PreloadCluster(Cluster* pCluster, ptrdiff_t idx) { in PreloadCluster()
1407 Cluster** const qq = new (std::nothrow) Cluster*[n]; in PreloadCluster()
1410 Cluster** q = qq; in PreloadCluster()
1412 Cluster** p = m_clusters; in PreloadCluster()
1413 Cluster** const pp = p + count; in PreloadCluster()
1427 Cluster** const p = m_clusters + idx; in PreloadCluster()
1429 Cluster** q = m_clusters + count; in PreloadCluster()
1434 Cluster** const qq = q - 1; in PreloadCluster()
2143 Cluster** const ii = m_clusters; in GetBlock()
2144 Cluster** i = ii; in GetBlock()
2148 Cluster** const jj = ii + count; in GetBlock()
2149 Cluster** j = jj; in GetBlock()
2157 Cluster** const k = i + (j - i) / 2; in GetBlock()
2160 Cluster* const pCluster = *k; in GetBlock()
2181 Cluster* const pCluster = Cluster::Create(this, -1, tp.m_pos); //, -1); in GetBlock()
2198 const Cluster* Segment::FindOrPreloadCluster(long long requested_pos) { in FindOrPreloadCluster()
2202 Cluster** const ii = m_clusters; in FindOrPreloadCluster()
2203 Cluster** i = ii; in FindOrPreloadCluster()
2207 Cluster** const jj = ii + count; in FindOrPreloadCluster()
2208 Cluster** j = jj; in FindOrPreloadCluster()
2216 Cluster** const k = i + (j - i) / 2; in FindOrPreloadCluster()
2219 Cluster* const pCluster = *k; in FindOrPreloadCluster()
2240 Cluster* const pCluster = Cluster::Create(this, -1, requested_pos); in FindOrPreloadCluster()
2491 const Cluster* Segment::GetFirst() const { in GetFirst()
2495 Cluster* const pCluster = m_clusters[0]; in GetFirst()
2501 const Cluster* Segment::GetLast() const { in GetLast()
2507 Cluster* const pCluster = m_clusters[idx]; in GetLast()
2515 const Cluster* Segment::GetNext(const Cluster* pCurr) { in GetNext()
2532 Cluster* const pNext = m_clusters[idx]; in GetNext()
2620 const long status = Cluster::HasBlockEntries(this, off_next_, pos_, len_); in GetNext()
2636 Cluster** const ii = m_clusters + m_clusterCount; in GetNext()
2637 Cluster** i = ii; in GetNext()
2639 Cluster** const jj = ii + m_clusterPreloadCount; in GetNext()
2640 Cluster** j = jj; in GetNext()
2648 Cluster** const k = i + (j - i) / 2; in GetNext()
2651 Cluster* const pNext = *k; in GetNext()
2671 Cluster* const pNext = Cluster::Create(this, -1, off_next); in GetNext()
2688 long Segment::ParseNext(const Cluster* pCurr, const Cluster*& pResult, in ParseNext()
2831 long Segment::DoParseNext(const Cluster*& pResult, long long& pos, long& len) { in DoParseNext()
2983 Cluster** const ii = m_clusters + m_clusterCount; in DoParseNext()
2984 Cluster** i = ii; in DoParseNext()
2986 Cluster** const jj = ii + m_clusterPreloadCount; in DoParseNext()
2987 Cluster** j = jj; in DoParseNext()
2995 Cluster** const k = i + (j - i) / 2; in DoParseNext()
2998 const Cluster* const pNext = *k; in DoParseNext()
3020 status = Cluster::HasBlockEntries(this, off_next, pos_, len_); in DoParseNext()
3030 Cluster* const pNext = Cluster::Create(this, in DoParseNext()
3157 const Cluster* Segment::FindCluster(long long time_ns) const { in FindCluster()
3162 Cluster* const pCluster = m_clusters[0]; in FindCluster()
3184 Cluster* const pCluster = m_clusters[k]; in FindCluster()
3204 Cluster* const pCluster = m_clusters[k]; in FindCluster()
4639 const Cluster* pCluster = m_pSegment->GetFirst(); in GetFirst()
4715 const Cluster* pCluster = pCurrEntry->GetCluster(); in GetNext()
4819 const Cluster* pCluster = pResult->GetCluster(); in Seek()
4826 Cluster** const clusters = m_pSegment->m_clusters; in Seek()
4832 Cluster** const i = clusters + pCluster->GetIndex(); in Seek()
4837 Cluster** const j = clusters + count; in Seek()
4839 Cluster** lo = i; in Seek()
4840 Cluster** hi = j; in Seek()
4848 Cluster** const mid = lo + (hi - lo) / 2; in Seek()
5328 const Cluster* pCluster = pResult->GetCluster(); in Seek()
5335 Cluster** const clusters = m_pSegment->m_clusters; in Seek()
5341 Cluster** const i = clusters + pCluster->GetIndex(); in Seek()
5346 Cluster** const j = clusters + count; in Seek()
5348 Cluster** lo = i; in Seek()
5349 Cluster** hi = j; in Seek()
5357 Cluster** const mid = lo + (hi - lo) / 2; in Seek()
5908 long Cluster::Load(long long& pos, long& len) const { in Load()
6133 long Cluster::Parse(long long& pos, long& len) const { in Parse()
6274 Cluster* const this_ = const_cast<Cluster*>(this); in Parse()
6323 long Cluster::ParseSimpleBlock(long long block_size, long long& pos, in ParseSimpleBlock()
6421 long Cluster::ParseBlockGroup(long long payload_size, long long& pos, in ParseBlockGroup()
6630 long Cluster::GetEntry(long index, const mkvparser::BlockEntry*& pEntry) const { in GetEntry()
6663 Cluster* Cluster::Create(Segment* pSegment, long idx, long long off) { in Create()
6669 Cluster* const pCluster = in Create()
6670 new (std::nothrow) Cluster(pSegment, idx, element_start); in Create()
6675 Cluster::Cluster() in Cluster() function in mkvparser::Cluster
6687 Cluster::Cluster(Segment* pSegment, long idx, long long element_start in Cluster() function in mkvparser::Cluster
6700 Cluster::~Cluster() { in ~Cluster()
6717 bool Cluster::EOS() const { return (m_pSegment == NULL); } in EOS()
6719 long Cluster::GetIndex() const { return m_index; } in GetIndex()
6721 long long Cluster::GetPosition() const { in GetPosition()
6728 long long Cluster::GetElementSize() const { return m_element_size; } in GetElementSize()
6730 long Cluster::HasBlockEntries( in HasBlockEntries()
6941 long long Cluster::GetTimeCode() const { in GetTimeCode()
6953 long long Cluster::GetTime() const { in GetTime()
6970 long long Cluster::GetFirstTime() const { in GetFirstTime()
6987 long long Cluster::GetLastTime() const { in GetLastTime()
7004 long Cluster::CreateBlock(long long id, in CreateBlock()
7053 long Cluster::CreateBlockGroup(long long start_offset, long long size, in CreateBlockGroup()
7160 long Cluster::CreateSimpleBlock(long long st, long long sz) { in CreateSimpleBlock()
7191 long Cluster::GetFirst(const BlockEntry*& pFirst) const { in GetFirst()
7217 long Cluster::GetLast(const BlockEntry*& pLast) const { in GetLast()
7248 long Cluster::GetNext(const BlockEntry* pCurr, const BlockEntry*& pNext) const { in GetNext()
7286 long Cluster::GetEntryCount() const { return m_entries_count; } in GetEntryCount()
7288 const BlockEntry* Cluster::GetEntry(const Track* pTrack, in GetEntry()
7350 const BlockEntry* Cluster::GetEntry(const CuePoint& cp, in GetEntry()
7450 BlockEntry::BlockEntry(Cluster* p, long idx) : m_pCluster(p), m_index(idx) {} in BlockEntry()
7452 const Cluster* BlockEntry::GetCluster() const { return m_pCluster; } in GetCluster()
7455 SimpleBlock::SimpleBlock(Cluster* pCluster, long idx, long long start, in SimpleBlock()
7463 BlockGroup::BlockGroup(Cluster* pCluster, long idx, long long block_start, in BlockGroup()
7501 long Block::Parse(const Cluster* pCluster) { in Parse()
7868 long long Block::GetTimeCode(const Cluster* pCluster) const { in GetTimeCode()
7880 long long Block::GetTime(const Cluster* pCluster) const { in GetTime()