/frameworks/av/media/libstagefright/rtsp/ |
H A D | AH263Assembler.cpp | 159 size_t totalSize = 0; local 164 totalSize += unit->size(); 168 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
H A D | ARTPAssembler.cpp | 77 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 D | AAMRAssembler.cpp | 152 size_t totalSize = 0; local 177 totalSize += getFrameSize(mIsWide, (toc >> 3) & 0x0f); 186 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
H A D | AAVCAssembler.cpp | 215 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/base/include/androidfw/ |
H A D | BackupHelpers.h | 40 int totalSize; member in struct:android::SnapshotHeader
|
/frameworks/av/media/img_utils/src/ |
H A D | DngUtils.cpp | 241 uint32_t totalSize = NUMBER_INT_ARGS * sizeof(uint32_t) + NUMBER_DOUBLE_ARGS * sizeof(double) + local 244 err = mEndianOut.write(&totalSize, 0, 1);
|
H A D | TiffWriter.cpp | 69 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/libmedia/ |
H A D | ICrypto.cpp | 122 size_t totalSize = 0; local 124 totalSize += subSamples[i].mNumBytesOfEncryptedData; 125 totalSize += subSamples[i].mNumBytesOfClearData; 128 data.writeInt32(totalSize); 129 data.write(srcPtr, totalSize); 247 size_t totalSize = data.readInt32(); local 248 void *srcData = malloc(totalSize); 249 data.read(srcData, totalSize); 264 dstPtr = malloc(totalSize); 287 CHECK_LE(result, static_cast<ssize_t>(totalSize)); [all...] |
/frameworks/av/media/libstagefright/ |
H A D | WAVExtractor.cpp | 149 size_t totalSize = U32_LE_AT(&header[4]); local 152 size_t remainingSize = totalSize;
|
H A D | NuCachedSource2.cpp | 48 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 D | OggExtractor.cpp | 440 size_t totalSize = 0;; local 442 totalSize += page->mLace[i]; 457 return sizeof(header) + page->mNumSegments + totalSize;
|
H A D | OMXCodec.cpp | 1653 size_t totalSize = def.nBufferCountActual * def.nBufferSize; local 1654 mDealer[portIndex] = new MemoryDealer(totalSize, "OMXCodec");
|
H A D | ACodec.cpp | 550 size_t totalSize = def.nBufferCountActual * def.nBufferSize; local 551 mDealer[portIndex] = new MemoryDealer(totalSize, "ACodec"); 870 size_t totalSize = bufferCount * 8; local 871 mDealer[kPortIndexOutput] = new MemoryDealer(totalSize, "ACodec");
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 38 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 D | WebmWriter.cpp | 309 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 D | StringPool.cpp | 452 const size_t totalSize = lenSize + encLenSize + local 455 void* dat = (void*)pool->editData(preSize + strPos + totalSize); 477 strPos += totalSize; 499 const size_t totalSize = (N*sizeof(ResStringPool_span)) local 503 uint8_t* dat = (uint8_t*)pool->editData(preSize + styPos + totalSize); 517 styPos += totalSize;
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 479 size_t totalSize = 0; local 481 iterateOverNativeFiles(env, apkHandle, javaCpuAbi, sumFiles, &totalSize); 483 return totalSize;
|
H A D | android_hardware_SoundTrigger.cpp | 693 size_t totalSize = sizeof(struct sound_trigger_recognition_config) + dataSize; local 695 new MemoryDealer(totalSize, "SoundTrigge-JNI::StartRecognition"); 699 sp<IMemory> memory = memoryDealer->allocate(totalSize);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 791 size_t totalSize = 0; local 827 size_t auSize = 4 * nals.size() + totalSize; 895 totalSize += nalSize;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewController.java | 1082 private int calculateTranslate(int start, int startSize, int totalSize, float scale) { argument 1096 int scaleFromEdge = Math.round((totalSize - totalSize * scale) / 2); 1102 int blankSize = Math.round((totalSize * scale - startSize) / 2);
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1415 const uint32_t totalSize = dtohl(next->header.size); local 1440 if ((totalSize-headerSize) < minExtSize) { 1444 (int)(totalSize-headerSize), (int)minExtSize);
|