Searched defs:totalSize (Results 1 - 22 of 22) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
H A DAH263Assembler.cpp159 size_t totalSize = 0; local
164 totalSize += unit->size();
168 sp<ABuffer> accessUnit = new ABuffer(totalSize);
H A DARTPAssembler.cpp77 size_t totalSize = 0; local
81 totalSize += (*it)->size() + 7;
84 sp<ABuffer> accessUnit = new ABuffer(totalSize);
124 size_t totalSize = 0; local
127 totalSize += (*it)->size();
130 sp<ABuffer> accessUnit = new ABuffer(totalSize);
H A DAAMRAssembler.cpp152 size_t totalSize = 0; local
177 totalSize += getFrameSize(mIsWide, (toc >> 3) & 0x0f);
186 sp<ABuffer> accessUnit = new ABuffer(totalSize);
H A DAAVCAssembler.cpp215 size_t totalSize = size - 2; local
260 totalSize += size - 2;
283 // Leave room for the header. So far totalSize did not include the
285 ++totalSize;
287 sp<ABuffer> unit = new ABuffer(totalSize);
308 unit->setRange(0, totalSize);
322 size_t totalSize = 0; local
325 totalSize += 4 + (*it)->size();
328 sp<ABuffer> accessUnit = new ABuffer(totalSize);
/frameworks/av/media/libmedia/
H A DICrypto.cpp121 size_t totalSize = 0; local
123 totalSize += subSamples[i].mNumBytesOfEncryptedData;
124 totalSize += subSamples[i].mNumBytesOfClearData;
127 data.writeInt32(totalSize);
128 data.write(srcPtr, totalSize);
237 size_t totalSize = data.readInt32(); local
238 void *srcData = malloc(totalSize);
239 data.read(srcData, totalSize);
254 dstPtr = malloc(totalSize);
277 CHECK_LE(result, static_cast<ssize_t>(totalSize));
[all...]
/frameworks/base/include/androidfw/
H A DBackupHelpers.h40 int totalSize; member in struct:android::SnapshotHeader
/frameworks/av/media/img_utils/src/
H A DDngUtils.cpp241 uint32_t totalSize = NUMBER_INT_ARGS * sizeof(uint32_t) + NUMBER_DOUBLE_ARGS * sizeof(double) + local
244 err = mEndianOut.write(&totalSize, 0, 1);
H A DTiffWriter.cpp69 uint32_t totalSize = getTotalSize(); local
76 if (mNamedIfds[i]->setStripOffset(totalSize) != OK) {
80 totalSize += stripSize;
81 WORD_ALIGN(totalSize);
82 offsetVector.add(mNamedIfds.keyAt(i), totalSize);
373 uint32_t totalSize = FILE_HEADER_SIZE; local
376 totalSize += ifd->getSize();
379 return totalSize;
/frameworks/av/media/libstagefright/
H A DWAVExtractor.cpp149 size_t totalSize = U32_LE_AT(&header[4]); local
152 size_t remainingSize = totalSize;
H A DNuCachedSource2.cpp48 size_t totalSize() const { function in struct:android::PageCache
328 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize());
352 mCacheOffset + mCache->totalSize(), page->mData, kPageSize);
408 if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes) {
481 && mCacheOffset + mCache->totalSize() - mLastAccessPos
499 ALOGI("restarting prefetcher, totalSize = %zu", mCache->totalSize());
516 && offset + size <= mCacheOffset + mCache->totalSize()) {
556 return mCacheOffset + mCache->totalSize();
572 off64_t lastBytePosCached = mCacheOffset + mCache->totalSize();
647 size_t totalSize = mCache->totalSize(); local
[all...]
H A DOggExtractor.cpp434 size_t totalSize = 0;; local
436 totalSize += page->mLace[i];
451 return sizeof(header) + page->mNumSegments + totalSize;
H A DACodec.cpp550 size_t totalSize = def.nBufferCountActual * def.nBufferSize; local
551 mDealer[portIndex] = new MemoryDealer(totalSize, "ACodec");
857 size_t totalSize = bufferCount * 8; local
858 mDealer[kPortIndexOutput] = new MemoryDealer(totalSize, "ACodec");
H A DOMXCodec.cpp1651 size_t totalSize = def.nBufferCountActual * def.nBufferSize; local
1652 mDealer[portIndex] = new MemoryDealer(totalSize, "OMXCodec");
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.cpp38 int64_t voidSize(int64_t totalSize) { argument
39 if (totalSize < 2) {
42 if (totalSize < 9) {
43 return totalSize - 2;
45 return totalSize - 9;
52 total += (*it)->totalSize();
98 uint64_t WebmElement::totalSize() { function in class:android::WebmElement
105 size = totalSize();
113 size = totalSize();
214 EbmlVoid::EbmlVoid(uint64_t totalSize) argument
[all...]
H A DWebmWriter.cpp309 uint64_t cuesSize = cues->totalSize();
329 uint64_t totalSize = ::lseek(mFd, 0, SEEK_END); local
330 uint64_t segmentSize = totalSize - mSegmentDataStart;
/frameworks/base/tools/aapt/
H A DStringPool.cpp440 const size_t totalSize = lenSize + encLenSize + local
443 void* dat = (void*)pool->editData(preSize + strPos + totalSize);
465 strPos += totalSize;
487 const size_t totalSize = (N*sizeof(ResStringPool_span)) local
491 uint8_t* dat = (uint8_t*)pool->editData(preSize + styPos + totalSize);
505 styPos += totalSize;
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp479 size_t totalSize = 0; local
481 iterateOverNativeFiles(env, apkHandle, javaCpuAbi, sumFiles, &totalSize);
483 return totalSize;
H A Dandroid_hardware_SoundTrigger.cpp690 size_t totalSize = sizeof(struct sound_trigger_recognition_config) + dataSize; local
692 new MemoryDealer(totalSize, "SoundTrigge-JNI::StartRecognition");
696 sp<IMemory> memory = memoryDealer->allocate(totalSize);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp775 size_t totalSize = 0; local
811 size_t auSize = 4 * nals.size() + totalSize;
879 totalSize += nalSize;
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java1031 private int calculateTranslate(int start, int startSize, int totalSize, float scale) { argument
1045 int scaleFromEdge = Math.round((totalSize - totalSize * scale) / 2);
1051 int blankSize = Math.round((totalSize * scale - startSize) / 2);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1411 const uint32_t totalSize = dtohl(next->header.size); local
1436 if ((totalSize-headerSize) < minExtSize) {
1440 (int)(totalSize-headerSize), (int)minExtSize);
/frameworks/testing/espresso/libs/
H A Dguava-14.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...

Completed in 1530 milliseconds