Home
last modified time | relevance | path

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

/frameworks/base/libs/protoutil/src/
DProtoOutputStream.cpp323 size_t rawBufferSize = mBuffer->size(); in compact() local
324 if (rawBufferSize == 0) return true; // nothing to do if the buffer is empty; in compact()
328 if (editEncodedSize(rawBufferSize) == 0) { in compact()
336 if (!compactSize(rawBufferSize)) { in compact()
341 if (mCopyBegin < rawBufferSize) { in compact()
342 mBuffer->copy(mCopyBegin, rawBufferSize - mCopyBegin); in compact()
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp157 uint32_t rawBufferSize = in updatePortParams() local
162 inDef->nBufferSize = rawBufferSize; in updatePortParams()
170 outDef->nBufferSize = max(mMinOutputBufferSize, rawBufferSize / mMinCompressionRatio); in updatePortParams()