Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/wifi-display/rtp/
DRTPSender.cpp319 size_t outBytesUsed = 12; // Placeholder for RTP header. in queueAVCBuffer() local
329 if (outBytesUsed == 12) { in queueAVCBuffer()
333 if (outBytesUsed + bytesNeeded > out->capacity()) { in queueAVCBuffer()
336 if (outBytesUsed == 12 in queueAVCBuffer()
337 && outBytesUsed + nalSize <= out->capacity()) { in queueAVCBuffer()
342 memcpy(out->data() + outBytesUsed, nalStart, nalSize); in queueAVCBuffer()
343 outBytesUsed += nalSize; in queueAVCBuffer()
348 if (outBytesUsed > 12) { in queueAVCBuffer()
349 out->setRange(0, outBytesUsed); in queueAVCBuffer()
352 outBytesUsed = 12; // Placeholder for RTP header in queueAVCBuffer()
[all …]