Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp431 size_t neededSize = (mBuffer == NULL ? 0 : mBuffer->size()) + size; in appendData() local
432 if (mBuffer == NULL || neededSize > mBuffer->capacity()) { in appendData()
433 neededSize = (neededSize + 65535) & ~65535; in appendData()
435 ALOGV("resizing buffer to size %zu", neededSize); in appendData()
437 sp<ABuffer> buffer = new ABuffer(neededSize); in appendData()
DATSParser.cpp717 size_t neededSize = mBuffer->size() + payloadSizeBits / 8; in parse() local
718 if (mBuffer->capacity() < neededSize) { in parse()
720 neededSize = (neededSize + 65535) & ~65535; in parse()
722 ALOGI("resizing buffer to %zu bytes", neededSize); in parse()
724 sp<ABuffer> newBuffer = new ABuffer(neededSize); in parse()
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp575 size_t neededSize = in extractGraphicBuffer() local
578 if (dstSize < neededSize) { in extractGraphicBuffer()
579 ALOGE("destination buffer is too small (%zu vs %zu)", dstSize, neededSize); in extractGraphicBuffer()