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.cpp187 size_t sourceSize = sourceBuffer.size(); in createMediaBufferCopy() local
190 (*newBuffer) = new MediaBuffer(sourceSize); in createMediaBufferCopy()
191 memcpy((*newBuffer)->data(), sourcePointer, sourceSize); in createMediaBufferCopy()
DACodec.cpp909 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/libmediaplayerservice/
DStagefrightMetadataRetriever.cpp697 off64_t sourceSize; in parseMetaData() local
698 if (mSource != NULL && mSource->getSize(&sourceSize) == OK) { in parseMetaData()
699 int64_t avgBitRate = (int64_t)(sourceSize * 8E6 / maxDurationUs); in parseMetaData()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp880 off64_t sourceSize; in parseChunk() local
881 if (mDataSource->getSize(&sourceSize) == OK) { in parseChunk()
882 chunk_size = (sourceSize - *offset); in parseChunk()