Home
last modified time | relevance | path

Searched refs:numTSPackets (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/wifi-display/source/
DTSPacketizer.cpp546 size_t numTSPackets = 1; in packetize() local
593 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()
/frameworks/av/media/libstagefright/wifi-display/rtp/
DRTPSender.cpp283 size_t numTSPackets = (tsPackets->size() - srcOffset) / 188; in queueTSPackets() local
284 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()