Lines Matching defs:packet
52 void (*write_packet)(struct MpegTSSection *s, const uint8_t *packet);
129 /* a PES packet header is generated every DEFAULT_PES_HEADER_FREQ packets */
141 unsigned char packet[TS_PACKET_SIZE];
154 /* send each packet */
158 q = packet;
175 len1 = TS_PACKET_SIZE - (q - packet);
181 left = TS_PACKET_SIZE - (q - packet);
185 s->write_packet(s, packet);
973 static void write_packet(AVFormatContext *s, const uint8_t *packet)
983 avio_write(s->pb, packet, TS_PACKET_SIZE);
987 static void section_write_packet(MpegTSSection *s, const uint8_t *packet)
990 write_packet(ctx, packet);
1147 * first packet we write. */
1360 /* Write a single null transport stream packet */
1375 /* Write a single transport stream packet with a PCR and no payload */
1418 /* Set an adaptation field flag in an MPEG-TS packet*/
1442 /* Get a pointer to MPEG-TS payload (right after TS packet header) */
1482 * number of TS packets. The final TS packet is padded using an oversized
1483 * adaptation header to exactly fill the last TS packet.
1556 /* pcr insert gets priority over null packet insert */
1571 /* prepare packet header */
1852 "Opus packet duration > 120 ms, invalid");
1934 av_log(s, AV_LOG_ERROR, "AAC packet too short\n");
2001 av_log(s, AV_LOG_ERROR, "Opus packet too short\n");
2146 // for video and subtitle, write a single pes packet
2293 { "pes_payload_size", "Minimum PES packet payload in bytes",
2296 { "resend_headers", "Reemit PAT/PMT before writing the next packet",
2310 { "omit_video_pes_length", "Omit the PES packet length for video packets",