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

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

Completed in 110 milliseconds