Lines Matching refs:packets
32 #define PACKETS_PER_BUFFER 20 // Number of MPEG-2 transport stream packets per buffer
42 MPEG2TS_Packet *packets;
43 size_t totalPackets; // total number of packets in input file
44 size_t numPackets; // number of packets to play, defaults to totalPackets - firstPacket
171 // compute number of packets to be enqueued in this buffer
206 result = (*caller)->Enqueue(caller, NULL, &packets[curPacket],
306 fprintf(stderr, " -n# Number of packets to enqueue\n");
343 packets = (MPEG2TS_Packet *) ptr;
345 printf("%s has %zu total packets\n", uri, totalPackets);
483 &packets[curPacket], MPEG2TS_PACKET_SIZE * packetsThisBuffer, NULL, 0);
485 printf("Enqueued initial %u packets in %u buffers\n", curPacket - firstPacket,