Searched refs:sourceSize (Results 1 – 7 of 7) sorted by relevance
52 size_t DataConverter::sourceSize(size_t targetSize) { in sourceSize() function in android::DataConverter56 size_t DataConverter::targetSize(size_t sourceSize) { in targetSize() argument57 return sourceSize; in targetSize()63 size_t SampleConverterBase::sourceSize(size_t targetSize) { in sourceSize() function in android::SampleConverterBase73 size_t SampleConverterBase::targetSize(size_t sourceSize) { in targetSize() argument75 size_t numSamples = divUp(sourceSize, (size_t)mSourceSampleSize); in targetSize()78 sourceSize, mTargetSampleSize, mSourceSampleSize); in targetSize()
187 size_t sourceSize = sourceBuffer.size(); in createMediaBufferCopy() local190 (*newBuffer) = new MediaBuffer(sourceSize); in createMediaBufferCopy()191 memcpy((*newBuffer)->data(), sourcePointer, sourceSize); in createMediaBufferCopy()
909 conversionBufferSize = converter->sourceSize(bufSize); in allocateBuffersOnPort()
31 virtual size_t sourceSize(size_t targetSize); // will clamp to SIZE_MAX32 virtual size_t targetSize(size_t sourceSize); // will clamp to SIZE_MAX44 virtual size_t sourceSize(size_t targetSize);45 virtual size_t targetSize(size_t sourceSize);
162 final int sourceSize = sources.size(); in filterByLanguage() local163 for (int i = 0; i < sourceSize; ++i) { in filterByLanguage()
697 off64_t sourceSize; in parseMetaData() local698 if (mSource != NULL && mSource->getSize(&sourceSize) == OK) { in parseMetaData()699 int64_t avgBitRate = (int64_t)(sourceSize * 8E6 / maxDurationUs); in parseMetaData()
880 off64_t sourceSize; in parseChunk() local881 if (mDataSource->getSize(&sourceSize) == OK) { in parseChunk()882 chunk_size = (sourceSize - *offset); in parseChunk()