Lines Matching defs:rec_hdr
119 TyRecHdr *hdrs, *rec_hdr;
129 rec_hdr = &hdrs[i]; /* for brevity */
130 rec_hdr->rec_type = record_header[3];
131 rec_hdr->subrec_type = record_header[2] & 0x0f;
141 rec_hdr->ex[0] = b1;
142 rec_hdr->ex[1] = b2;
143 rec_hdr->rec_size = 0;
144 rec_hdr->ty_pts = 0;
146 rec_hdr->rec_size = (record_header[0] << 8 |
149 rec_hdr->ty_pts = AV_RB64(&record_header[8]);
387 static int demux_video(AVFormatContext *s, TyRecHdr *rec_hdr, AVPacket *pkt)
390 const int subrec_type = rec_hdr->subrec_type;
391 const int64_t rec_size = rec_hdr->rec_size;
409 int size = rec_hdr->rec_size - VIDEO_PES_LENGTH - es_offset1;
449 ty->last_ty_pts = rec_hdr->ty_pts;
511 static int demux_audio(AVFormatContext *s, TyRecHdr *rec_hdr, AVPacket *pkt)
514 const int subrec_type = rec_hdr->subrec_type;
515 const int64_t rec_size = rec_hdr->rec_size;