Lines Matching refs:pCP

2136     CuePoint* const pCP = *p++;  in ~Cues()  local
2137 assert(pCP); in ~Cues()
2139 delete pCP; in ~Cues()
2218 CuePoint* const pCP = new CuePoint(m_preload_count, pos); in PreloadCuePoint() local
2219 m_cue_points[m_preload_count++] = pCP; in PreloadCuePoint()
2262 CuePoint* const pCP = m_cue_points[m_count]; in LoadCuePoint() local
2263 assert(pCP); in LoadCuePoint()
2264 assert((pCP->GetTimeCode() >= 0) || (-pCP->GetTimeCode() == idpos)); in LoadCuePoint()
2265 if (pCP->GetTimeCode() < 0 && (-pCP->GetTimeCode() != idpos)) in LoadCuePoint()
2268 pCP->Load(pReader); in LoadCuePoint()
2282 bool Cues::Find(long long time_ns, const Track* pTrack, const CuePoint*& pCP, in Find() argument
2299 pCP = *i; in Find()
2300 assert(pCP); in Find()
2302 if (time_ns <= pCP->GetTime(m_pSegment)) in Find()
2304 pTP = pCP->Find(pTrack); in Find()
2320 CuePoint* const pCP = *k; in Find()
2321 assert(pCP); in Find()
2323 pCP->Load(pReader); in Find()
2325 const long long t = pCP->GetTime(m_pSegment); in Find()
2339 pCP = *--i; in Find()
2340 assert(pCP); in Find()
2341 assert(pCP->GetTime(m_pSegment) <= time_ns); in Find()
2355 pCP = *i; in Find()
2356 assert(pCP); in Find()
2358 if (time_ns <= pCP->GetTime(m_pSegment)) { in Find()
2359 pTP = pCP->Find(pTrack); in Find()
2372 CuePoint* const pCP = *k; in Find() local
2373 assert(pCP); in Find()
2375 const long long t = pCP->GetTime(m_pSegment); in Find()
2389 pCP = *--i; in Find()
2390 assert(pCP); in Find()
2391 assert(pCP->GetTime(m_pSegment) <= time_ns); in Find()
2402 pTP = pCP->Find(pTrack); in Find()
2410 const CuePoint*& pCP,
2413 pCP = 0;
2437 pCP = *k;
2438 assert(pCP);
2440 const long long t = pCP->GetTime(m_pSegment);
2456 pCP = *i;
2457 assert(pCP);
2458 assert(pCP->GetTime(m_pSegment) > time_ns);
2460 pTP = pCP->Find(pTrack);
2484 CuePoint* const pCP = pp[0]; in GetFirst() local
2485 assert(pCP); in GetFirst()
2486 assert(pCP->GetTimeCode() >= 0); in GetFirst()
2488 return pCP; in GetFirst()
2511 CuePoint* const pCP = pp[index]; in GetLast()
2512 assert(pCP); in GetLast()
2514 pCP->Load(m_pSegment->m_pReader); in GetLast()
2515 assert(pCP->GetTimeCode() >= 0); in GetLast()
2522 CuePoint* const pCP = pp[index]; in GetLast() local
2523 assert(pCP); in GetLast()
2524 assert(pCP->GetTimeCode() >= 0); in GetLast()
2527 return pCP; in GetLast()
2578 const BlockEntry* Cues::GetBlock(const CuePoint* pCP, in GetBlock() argument
2580 if (pCP == NULL) in GetBlock()
2586 return m_pSegment->GetBlock(*pCP, *pTP); in GetBlock()
3802 const CuePoint*& pCP,
3811 if (!m_pCues->Find(time_ns, pTrack, pCP, pTP))
3814 assert(pCP);
3822 return GetCluster(pCP, pTP, pCluster, pBlockEntry);