Lines Matching refs:trex
1655 MOVTrackExt *trex = NULL;
1667 trex = &c->trex_data[i];
1670 if (!trex) {
1671 av_log(c->fc, AV_LOG_ERROR, "could not find corresponding trex\n");
1678 else frag->stsd_id = trex->stsd_id;
1680 frag->duration = flags & 0x08 ? get_be32(pb) : trex->duration;
1681 frag->size = flags & 0x10 ? get_be32(pb) : trex->size;
1682 frag->flags = flags & 0x20 ? get_be32(pb) : trex->flags;
1689 MOVTrackExt *trex;
1693 trex = av_realloc(c->trex_data, (c->trex_count+1)*sizeof(*c->trex_data));
1694 if (!trex)
1696 c->trex_data = trex;
1697 trex = &c->trex_data[c->trex_count++];
1700 trex->track_id = get_be32(pb);
1701 trex->stsd_id = get_be32(pb);
1702 trex->duration = get_be32(pb);
1703 trex->size = get_be32(pb);
1704 trex->flags = get_be32(pb);