Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp517 unsigned syncStartPos = 0; // in bytes in dequeueAccessUnitAC3() local
521 if (syncStartPos + 2 >= mBuffer->size()) { in dequeueAccessUnitAC3()
526 mBuffer->data() + syncStartPos, in dequeueAccessUnitAC3()
527 mBuffer->size() - syncStartPos, in dequeueAccessUnitAC3()
532 ++syncStartPos; in dequeueAccessUnitAC3()
535 if (mBuffer->size() < syncStartPos + payloadSize) { in dequeueAccessUnitAC3()
544 sp<ABuffer> accessUnit = new ABuffer(syncStartPos + payloadSize); in dequeueAccessUnitAC3()
545 memcpy(accessUnit->data(), mBuffer->data(), syncStartPos + payloadSize); in dequeueAccessUnitAC3()
547 int64_t timeUs = fetchTimestamp(syncStartPos + payloadSize); in dequeueAccessUnitAC3()
557 mBuffer->data() + syncStartPos + payloadSize, in dequeueAccessUnitAC3()
[all …]