Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp67 if (mScrambledBuffer != NULL) { in clear()
68 mScrambledBuffer->setRange(0, 0); in clear()
503 size_t neededSize = (mScrambledBuffer == NULL ? 0 : mScrambledBuffer->size()) + size; in appendScrambledData()
504 if (mScrambledBuffer == NULL || neededSize > mScrambledBuffer->capacity()) { in appendScrambledData()
510 if (mScrambledBuffer != NULL) { in appendScrambledData()
511 memcpy(buffer->data(), mScrambledBuffer->data(), mScrambledBuffer->size()); in appendScrambledData()
512 buffer->setRange(0, mScrambledBuffer->size()); in appendScrambledData()
517 mScrambledBuffer = buffer; in appendScrambledData()
519 memcpy(mScrambledBuffer->data() + mScrambledBuffer->size(), data, size); in appendScrambledData()
520 mScrambledBuffer->setRange(0, mScrambledBuffer->size() + size); in appendScrambledData()
[all …]
DESQueue.h102 sp<ABuffer> mScrambledBuffer; member