Lines Matching refs:segments
58 AAXSegment *segments; member
105 pts += (a->segments[seg].end - a->segments[seg].start) / size; in get_pts()
107 pts += ((pos - a->segments[a->current_segment].start) / size); in get_pts()
150 a->segments = av_calloc(a->nb_segments, sizeof(*a->segments)); in aax_read_header()
151 if (!a->segments) in aax_read_header()
255 a->segments[r].start = start + a->data_offset; in aax_read_header()
256 a->segments[r].end = a->segments[r].start + size; in aax_read_header()
258 a->segments[r].start < a->segments[r-1].end && in aax_read_header()
259 a->segments[r].end > a->segments[r-1].start) in aax_read_header()
266 if (!a->segments[0].end) in aax_read_header()
279 ret64 = avio_seek(pb, a->segments[0].start, SEEK_SET); in aax_read_header()
320 int64_t start = a->segments[seg].start; in aax_read_packet()
321 int64_t end = a->segments[seg].end; in aax_read_packet()
331 if (pkt->pos >= a->segments[a->current_segment].end - skip) { in aax_read_packet()
335 avio_seek(pb, a->segments[a->current_segment].start, SEEK_SET); in aax_read_packet()
379 av_freep(&a->segments); in aax_read_close()