Lines Matching defs:off
2079 static void update_offsets(AVIOContext *pb, int64_t *off, int *len)
2082 (*len) -= new_off - *off;
2083 *off = new_off;
2086 static int parse_mp4_descr(MP4DescrParseContext *d, int64_t off, int len,
2089 static int parse_mp4_descr_arr(MP4DescrParseContext *d, int64_t off, int len)
2092 int ret = parse_mp4_descr(d, off, len, 0);
2095 update_offsets(&d->pb.pub, &off, &len);
2100 static int parse_MP4IODescrTag(MP4DescrParseContext *d, int64_t off, int len)
2109 update_offsets(pb, &off, &len);
2110 return parse_mp4_descr_arr(d, off, len);
2113 static int parse_MP4ODescrTag(MP4DescrParseContext *d, int64_t off, int len)
2120 update_offsets(&d->pb.pub, &off, &len);
2121 return parse_mp4_descr_arr(d, off, len); // ES_Descriptor[]
2127 static int parse_MP4ESDescrTag(MP4DescrParseContext *d, int64_t off, int len)
2139 update_offsets(pb, &off, &len);
2140 if ((ret = parse_mp4_descr(d, off, len, MP4DecConfigDescrTag)) < 0)
2142 update_offsets(pb, &off, &len);
2144 ret = parse_mp4_descr(d, off, len, MP4SLDescrTag);
2149 static int parse_MP4DecConfigDescrTag(MP4DescrParseContext *d, int64_t off,
2163 static int parse_MP4SLDescrTag(MP4DescrParseContext *d, int64_t off, int len)
2206 static int parse_mp4_descr(MP4DescrParseContext *d, int64_t off, int len,
2214 update_offsets(pb, &off, &len);
2237 ret = parse_MP4IODescrTag(d, off, len1);
2240 ret = parse_MP4ODescrTag(d, off, len1);
2243 ret = parse_MP4ESDescrTag(d, off, len1);
2246 ret = parse_MP4DecConfigDescrTag(d, off, len1);
2249 ret = parse_MP4SLDescrTag(d, off, len1);
2256 avio_seek(pb, off + len1, SEEK_SET);