Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DDataConverter.cpp52 size_t DataConverter::sourceSize(size_t targetSize) { in sourceSize() function in android::DataConverter
56 size_t DataConverter::targetSize(size_t sourceSize) { in targetSize() argument
57 return sourceSize; in targetSize()
63 size_t SampleConverterBase::sourceSize(size_t targetSize) { in sourceSize() function in android::SampleConverterBase
73 size_t SampleConverterBase::targetSize(size_t sourceSize) { in targetSize() argument
75 size_t numSamples = divUp(sourceSize, (size_t)mSourceSampleSize); in targetSize()
78 sourceSize, mTargetSampleSize, mSourceSampleSize); in targetSize()
DCameraSourceTimeLapse.cpp198 size_t sourceSize = sourceBuffer.size(); in createMediaBufferCopy() local
201 (*newBuffer) = new MediaBuffer(sourceSize); in createMediaBufferCopy()
202 memcpy((*newBuffer)->data(), sourcePointer, sourceSize); in createMediaBufferCopy()
DStagefrightMetadataRetriever.cpp669 off64_t sourceSize; in parseMetaData() local
670 if (mSource != NULL && mSource->getSize(&sourceSize) == OK) { in parseMetaData()
671 int64_t avgBitRate = (int64_t)(sourceSize * 8E6 / maxDurationUs); in parseMetaData()
DACodec.cpp892 conversionBufferSize = converter->sourceSize(bufSize); in allocateBuffersOnPort()
/frameworks/av/media/libstagefright/include/
DDataConverter.h31 virtual size_t sourceSize(size_t targetSize); // will clamp to SIZE_MAX
32 virtual size_t targetSize(size_t sourceSize); // will clamp to SIZE_MAX
44 virtual size_t sourceSize(size_t targetSize);
45 virtual size_t targetSize(size_t sourceSize);
/frameworks/base/services/core/java/com/android/server/inputmethod/
DLocaleUtils.java162 final int sourceSize = sources.size(); in filterByLanguage() local
163 for (int i = 0; i < sourceSize; ++i) { in filterByLanguage()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp825 off64_t sourceSize; in parseChunk() local
826 if (mDataSource->getSize(&sourceSize) == OK) { in parseChunk()
827 chunk_size = (sourceSize - *offset); in parseChunk()