Searched refs:numTSPackets (Results 1 – 2 of 2) sorted by relevance
546 size_t numTSPackets = 1; in packetize() local593 numTSPackets + 1, numPaddingBytes, numBytesOfPayload); in packetize()596 ++numTSPackets; in packetize()613 numTSPackets += numFullTSPackets; in packetize()622 ++numTSPackets; in packetize()629 ++numTSPackets; in packetize()635 numTSPackets += 2; in packetize()639 ++numTSPackets; in packetize()642 sp<ABuffer> buffer = new ABuffer(numTSPackets * 188); in packetize()
283 size_t numTSPackets = (tsPackets->size() - srcOffset) / 188; in queueTSPackets() local284 if (numTSPackets > kMaxNumTSPacketsPerRTPPacket) { in queueTSPackets()285 numTSPackets = kMaxNumTSPacketsPerRTPPacket; in queueTSPackets()288 memcpy(&rtp[12], tsPackets->data() + srcOffset, numTSPackets * 188); in queueTSPackets()290 udpPacket->setRange(0, 12 + numTSPackets * 188); in queueTSPackets()292 srcOffset += numTSPackets * 188; in queueTSPackets()