Lines Matching defs:header
34 #define VIDEO_PES_LENGTH 16 /* length of video PES header */
54 uint64_t ty_pts; /* TY PTS in the record header */
82 int pes_length; /* Length of Audio PES header */
155 static int find_es_header(const uint8_t *header,
161 if (!memcmp(&buffer[count], header, 4))
174 /* skip if it's a Part header */
346 /* read the TY packet header */
407 * chop out the PES header and send the rest */
465 * header will have their PTS computed in the codec */
479 /* entire PES header not present */
480 ff_dlog(s, "PES header at %"PRId32" not complete in record. storing.\n", offset);
481 /* save the partial pes header */
483 /* no header found, fake some 00's (this works, believe me) */
487 ff_dlog(s, "PES header not found in record of %"PRId32" bytes!\n", rec_len);
490 /* copy the partial pes header we found */
501 /* full PES header present, extract PTS */
528 ff_dlog(s, "continuing PES header\n");
541 /* get the PTS out of this PES header (MPEG or AC3) */
550 ff_dlog(s, "Can't find audio PES header in packet.\n");
604 /* partial PES header found, nothing else.
631 /* partial PES header found, nothing else. we're done. */