Lines Matching defs:packet
43 void (*write_packet)(struct MpegTSSection *s, const uint8_t *packet);
81 /* a PES packet header is generated every DEFAULT_PES_HEADER_FREQ packets */
97 { "pes_payload_size", "Minimum PES packet payload in bytes",
113 unsigned char packet[TS_PACKET_SIZE];
124 /* send each packet */
128 q = packet;
139 len1 = TS_PACKET_SIZE - (q - packet);
145 left = TS_PACKET_SIZE - (q - packet);
149 s->write_packet(s, packet);
441 static void section_write_packet(MpegTSSection *s, const uint8_t *packet)
444 avio_write(ctx->pb, packet, TS_PACKET_SIZE);
477 ts->pat.cc = 15; // Initialize at 15 so that it wraps and be equal to 0 for the first packet we write
658 /* Write a single null transport stream packet */
673 /* Write a single transport stream packet with a PCR and no payload */
712 /* Set an adaptation field flag in an MPEG-TS packet*/
736 /* Get a pointer to MPEG-TS payload (right after TS packet header) */
746 * ts packets. The final ts packet is padded using an over-sized adaptation header
747 * to exactly fill the last ts packet.
780 /* pcr insert gets priority over null packet insert */
788 /* prepare packet header */
1019 // for video and subtitle, write a single pes packet