Lines Matching defs:packetsThisBuffer
173 XAuint32 packetsThisBuffer = lastPacket - curPacket;
174 if (packetsThisBuffer > PACKETS_PER_BUFFER) {
175 packetsThisBuffer = PACKETS_PER_BUFFER;
206 assert(packetsThisBuffer > 0 || itemSize > 0);
208 sizeof(MPEG2TS_Packet) * packetsThisBuffer, items, itemSize);
210 curPacket += packetsThisBuffer;
476 XAuint32 packetsThisBuffer;
477 for (curPacket = firstPacket; curPacket < lastPacket; curPacket += packetsThisBuffer) {
479 packetsThisBuffer = lastPacket - curPacket;
480 if (packetsThisBuffer > PACKETS_PER_BUFFER) {
481 packetsThisBuffer = PACKETS_PER_BUFFER;
484 &packets[curPacket], MPEG2TS_PACKET_SIZE * packetsThisBuffer, NULL, 0);