Lines Matching defs:hdr
90 ASFMainHeader hdr;
279 ff_get_guid(pb, &asf->hdr.guid);
280 asf->hdr.file_size = avio_rl64(pb);
281 asf->hdr.create_time = avio_rl64(pb);
283 asf->hdr.play_time = avio_rl64(pb);
284 asf->hdr.send_time = avio_rl64(pb);
285 asf->hdr.preroll = avio_rl32(pb);
286 asf->hdr.ignore = avio_rl32(pb);
287 asf->hdr.flags = avio_rl32(pb);
288 asf->hdr.min_pktsize = avio_rl32(pb);
289 asf->hdr.max_pktsize = avio_rl32(pb);
290 if (asf->hdr.min_pktsize >= (1U << 29))
292 asf->hdr.max_bitrate = avio_rl32(pb);
293 s->packet_size = asf->hdr.max_pktsize;
324 start_time = asf->hdr.preroll;
326 if (!(asf->hdr.flags & 0x01)) { // if we aren't streaming...
328 if (fsize <= 0 || (int64_t)asf->hdr.file_size <= 0 ||
329 FFABS(fsize - (int64_t)asf->hdr.file_size) < FFMIN(fsize, asf->hdr.file_size)/20)
330 st->duration = asf->hdr.play_time /
673 pres_time = av_sat_sub64(pres_time, asf->hdr.preroll * 10000LL);
720 if (!(asf->hdr.flags & 0x01) && gsize >= 100)
987 if (packet_length < asf->hdr.min_pktsize)
988 padsize += asf->hdr.min_pktsize - packet_length;
1222 asf_st->pkt.pts = asf->packet_frag_timestamp - asf->hdr.preroll;
1224 asf_st->pkt.dts = asf->packet_frag_timestamp - asf->hdr.preroll;
1535 int64_t index_pts = FFMAX(av_rescale(itime, i, 10000) - asf->hdr.preroll, 0);