Lines Matching defs:hdr
255 uint8_t hdr[HDRSIZE];
263 ret = ffio_read_size(pb, hdr, HDRSIZE);
267 frametype = hdr[0];
268 size = PKTSIZE(AV_RL32(&hdr[8]));
287 pkt->flags |= hdr[2] == 0 ? AV_PKT_FLAG_KEY : 0;
288 pkt->pts = AV_RL32(&hdr[4]);
290 memcpy(pkt->data, hdr, copyhdrsize);
307 pkt->pts = AV_RL32(&hdr[4]);
350 uint8_t hdr[HDRSIZE];
362 if (avio_read(pb, hdr, HDRSIZE) < HDRSIZE)
364 frametype = hdr[0];
365 size = PKTSIZE(AV_RL32(&hdr[8]));
373 key = hdr[2] == 0;
381 dts = AV_RL32(&hdr[4]);