Lines Matching defs:Segment
595 Segment::Segment(IMkvReader* pReader, long long elem_start,
615 Segment::~Segment() {
637 long long Segment::CreateInstance(IMkvReader* pReader, long long pos,
638 Segment*& pSegment) {
724 if (id == 0x08538067) { // Segment ID
734 pSegment = new (std::nothrow) Segment(pReader, idpos,
757 long long Segment::ParseHeaders() {
758 // Outermost (level 0) segment object has been constructed,
850 if (id == 0x0549A966) { // Segment Info ID
928 long Segment::LoadCluster(long long& pos, long& len) {
937 long Segment::DoLoadCluster(long long& pos, long& len) {
952 long long cluster_off = -1; // offset relative to start of segment
1098 // The issue here is that the segment increments its own
1114 // to the segment that we have determined the boundary,
1115 // so it can adjust its own segment::m_pos member.
1351 long Segment::DoLoadClusterUnknownSize(long long& pos, long& len) {
1530 void Segment::AppendCluster(Cluster* pCluster) {
1586 void Segment::PreloadCluster(Cluster* pCluster, ptrdiff_t idx) {
1634 long Segment::Load() {
1640 // Outermost (level 0) segment object has been constructed,
1666 SeekHead::SeekHead(Segment* pSegment, long long start, long long size_,
1800 void Segment::ParseCues(long long off)
1806 //os << "Segment::ParseCues (begin)" << endl;
1845 //os << "Segment::ParseCues (end)" << endl;
1848 long Segment::ParseCues(long long off, long long& pos, long& len) {
1965 void Segment::ParseSeekEntry(
2117 Cues::Cues(Segment* pSegment, long long start_, long long size_,
2589 const BlockEntry* Segment::GetBlock(const CuePoint& cp,
2642 const Cluster* Segment::FindOrPreloadCluster(long long requested_pos) {
2884 long long CuePoint::GetTime(const Segment* pSegment) const {
2900 long long Segment::Unparsed() const
2913 bool Segment::DoneParsing() const {
2934 const Cluster* Segment::GetFirst() const {
2944 const Cluster* Segment::GetLast() const {
2956 unsigned long Segment::GetCount() const { return m_clusterCount; }
2958 const Cluster* Segment::GetNext(const Cluster* pCurr) {
2988 const long long stop = m_start + m_size; // end of segment
3127 long Segment::ParseNext(const Cluster* pCurr, const Cluster*& pResult,
3269 long Segment::DoParseNext(const Cluster*& pResult, long long& pos, long& len) {
3597 const Cluster* Segment::FindCluster(long long time_ns) const {
3653 const BlockEntry* Segment::Seek(
3797 bool Segment::SearchCues(
3826 const Tracks* Segment::GetTracks() const { return m_pTracks; }
3828 const SegmentInfo* Segment::GetInfo() const { return m_pInfo; }
3830 const Cues* Segment::GetCues() const { return m_pCues; }
3832 const Chapters* Segment::GetChapters() const { return m_pChapters; }
3834 const SeekHead* Segment::GetSeekHead() const { return m_pSeekHead; }
3836 long long Segment::GetDuration() const {
3841 Chapters::Chapters(Segment* pSegment, long long payload_start,
4169 Segment* const pSegment = pChapters->m_pSegment;
4298 SegmentInfo::SegmentInfo(Segment* pSegment, long long start, long long size_,
4346 } else if (id == 0x0489) { // Segment duration
4800 Track::Track(Segment* pSegment, long long element_start, long long element_size)
4822 long Track::Create(Segment* pSegment, const Info& info, long long element_start,
5341 VideoTrack::VideoTrack(Segment* pSegment, long long element_start,
5345 long VideoTrack::Parse(Segment* pSegment, const Info& info,
5532 AudioTrack::AudioTrack(Segment* pSegment, long long element_start,
5536 long AudioTrack::Parse(Segment* pSegment, const Info& info,
5621 Tracks::Tracks(Segment* pSegment, long long start, long long size_,
6855 Cluster* Cluster::Create(Segment* pSegment, long idx, long long off)
6882 Cluster::Cluster(Segment* pSegment, long idx, long long element_start
6927 const Segment* pSegment,
6930 assert(off >= 0); //relative to start of segment payload
6988 const Segment* pSegment,
6989 long long off, // relative to start of segment payload
6992 assert(off >= 0); // relative to segment
8301 const Segment* const pSegment = pCluster->m_pSegment;