Home
last modified time | relevance | path

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

/frameworks/wilhelm/tests/sandbox/
Dxaplay.c50 size_t lastPacket; // last packet index to be played variable
166 if (curPacket <= lastPacket) { in bufferQueueCallback()
173 XAuint32 packetsThisBuffer = lastPacket - curPacket; in bufferQueueCallback()
178 if (curPacket == lastPacket) { in bufferQueueCallback()
357 lastPacket = firstPacket + numPackets; in main()
358 if (discPacket != 0 && (discPacket < firstPacket || discPacket >= lastPacket)) { in main()
362 if (afterDiscPacket < firstPacket || afterDiscPacket >= lastPacket) { in main()
366 if (formatPacket != 0 && (formatPacket < firstPacket || formatPacket >= lastPacket)) { in main()
477 for (curPacket = firstPacket; curPacket < lastPacket; curPacket += packetsThisBuffer) { in main()
479 packetsThisBuffer = lastPacket - curPacket; in main()
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp618 bool lastPacket = true; in sendAVCData() local
620 lastPacket = false; in sendAVCData()
626 data[1] = (lastPacket ? (1 << 7) : 0x00) | PT; // M-bit in sendAVCData()
640 CHECK(!firstPacket || !lastPacket); in sendAVCData()
644 | (lastPacket ? 0x40 : 0x00) in sendAVCData()
690 bool lastPacket = (remaining + 14 <= buffer->capacity()); in sendH263Data() local
691 if (!lastPacket) { in sendH263Data()
697 data[1] = (lastPacket ? 0x80 : 0x00) | PT; // M-bit in sendH263Data()