Home
last modified time | relevance | path

Searched refs:chunkSize (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libstagefright/include/media/stagefright/
DDataSource.h93 size_t chunkSize = (4095 / sizeof(T)) + 1);
142 size_t chunkSize) in getVector() argument
145 if (chunkSize == 0) { in getVector()
152 T tmp[chunkSize]; in getVector()
154 size_t numBytesPerChunk = chunkSize * sizeof(T); in getVector()
157 for (i = 0; i + chunkSize < count; i += chunkSize) { in getVector()
170 x->appendArray(tmp, chunkSize); in getVector()
/frameworks/base/opengl/java/android/opengl/
DETC1Util.java172 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); in createTexture() local
173 if (input.read(ioBuffer, 0, chunkSize) != chunkSize) { in createTexture()
176 dataBuffer.put(ioBuffer, 0, chunkSize); in createTexture()
177 i += chunkSize; in createTexture()
219 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); in writeTexture() local
220 dataBuffer.get(ioBuffer, 0, chunkSize); in writeTexture()
221 output.write(ioBuffer, 0, chunkSize); in writeTexture()
222 i += chunkSize; in writeTexture()
/frameworks/av/media/libstagefright/timedtext/
DTextDescriptions.cpp104 ssize_t chunkSize = U32_AT(tmpData); // size includes size and type in extract3GPPLocalDescriptions() local
107 if (chunkSize <= 8 || chunkSize > size) { in extract3GPPLocalDescriptions()
111 size_t remaining = chunkSize - 8; in extract3GPPLocalDescriptions()
366 data += chunkSize; in extract3GPPLocalDescriptions()
367 size -= chunkSize; in extract3GPPLocalDescriptions()
380 ssize_t chunkSize = U32_AT(data); in extract3GPPGlobalDescriptions() local
386 if (chunkSize <= 8 || size < chunkSize) { in extract3GPPGlobalDescriptions()
501 data += chunkSize; in extract3GPPGlobalDescriptions()
502 size -= chunkSize; in extract3GPPGlobalDescriptions()
/frameworks/av/media/libstagefright/
DJPEGSource.cpp172 uint16_t chunkSize; in parseJPEG() local
173 if (!mSource->getUInt16(i, &chunkSize)) { in parseJPEG()
179 if (chunkSize < 2) { in parseJPEG()
216 i += chunkSize - 2; in parseJPEG()
224 i += chunkSize - 2; in parseJPEG()
DWAVExtractor.cpp166 uint32_t chunkSize = U32_LE_AT(&chunkHeader[4]); in init() local
168 if (chunkSize > remainingSize) { in init()
173 if (chunkSize < 16) { in init()
286 mDataSize = chunkSize; in init()
342 offset += chunkSize; in init()
DMPEG4Extractor.cpp5328 uint64_t chunkSize = ntohl(hdr[0]); in BetterSniffMPEG4() local
5332 if (chunkSize == 1) { in BetterSniffMPEG4()
5333 if (source->readAt(offset + 8, &chunkSize, 8) < 8) { in BetterSniffMPEG4()
5337 chunkSize = ntoh64(chunkSize); in BetterSniffMPEG4()
5340 if (chunkSize < 16) { in BetterSniffMPEG4()
5345 } else if (chunkSize < 8) { in BetterSniffMPEG4()
5351 off64_t chunkDataSize = chunkSize - (chunkDataOffset - offset); in BetterSniffMPEG4()
5359 … ALOGV("saw chunk type %s, size %" PRIu64 " @ %lld", chunkstring, chunkSize, (long long)offset); in BetterSniffMPEG4()
5398 moovAtomEndOffset = offset + chunkSize; in BetterSniffMPEG4()
5408 offset += chunkSize; in BetterSniffMPEG4()
/frameworks/base/core/jni/android/graphics/
DNinePatch.cpp67 size_t chunkSize = env->GetArrayLength(obj); in validateNinePatchChunk() local
68 if (chunkSize < (int) (sizeof(Res_png_9patch))) { in validateNinePatchChunk()
73 int8_t* storage = new int8_t[chunkSize]; in validateNinePatchChunk()
75 env->GetByteArrayRegion(obj, 0, chunkSize, reinterpret_cast<jbyte*>(storage)); in validateNinePatchChunk()
/frameworks/base/core/java/android/util/proto/
DEncodedBuffer.java104 public EncodedBuffer(int chunkSize) { in EncodedBuffer() argument
105 if (chunkSize <= 0) { in EncodedBuffer()
106 chunkSize = 8 * 1024; in EncodedBuffer()
108 mChunkSize = chunkSize; in EncodedBuffer()
DProtoOutputStream.java233 public ProtoOutputStream(int chunkSize) { in ProtoOutputStream() argument
234 mBuffer = new EncodedBuffer(chunkSize); in ProtoOutputStream()
/frameworks/base/core/java/android/app/backup/
DBackupHelperDispatcher.java32 int chunkSize; // not including the header field in BackupHelperDispatcher.Header
64 skipChunk_native(oldStateFD, header.chunkSize); in performBackup()
/frameworks/base/tools/aapt2/compile/
DPng.cpp548 int chunkSize = sizeof(png_uint_32) * 6; in writePng() local
550 unknowns[oIndex].data = (png_byte*)calloc(chunkSize, 1); in writePng()
551 png_byte outputData[chunkSize]; in writePng()
555 memcpy(unknowns[oIndex].data, &outputData, chunkSize); in writePng()
556 unknowns[oIndex].size = chunkSize; in writePng()
560 int chunkSize = sizeof(png_uint_32) * 4; in writePng() local
562 unknowns[bIndex].data = (png_byte*)calloc(chunkSize, 1); in writePng()
563 memcpy(unknowns[bIndex].data, &info->layoutBoundsLeft, chunkSize); in writePng()
564 unknowns[bIndex].size = chunkSize; in writePng()
/frameworks/av/media/libaaudio/examples/loopback/src/
DLoopbackAnalyzer.h275 const int chunkSize = 64; variable
282 int16_t buffer[chunkSize];
286 int32_t framesToWrite = framesLeft < chunkSize ? framesLeft : chunkSize;
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java507 int chunkSize = (int) Math.min(inputRemaining, CHUNK_SIZE_BYTES); in computeContentDigests() local
508 setUnsignedInt32LittleEndian(chunkSize, chunkContentPrefix, 1); in computeContentDigests()
513 input.feedIntoMessageDigests(mds, inputOffset, chunkSize); in computeContentDigests()
537 inputOffset += chunkSize; in computeContentDigests()
538 inputRemaining -= chunkSize; in computeContentDigests()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1534 ssize_t chunkSize; in dequeueAccessUnitMPEG4Video() local
1535 while ((chunkSize = getNextChunkSize( in dequeueAccessUnitMPEG4Video()
1550 offset += chunkSize; in dequeueAccessUnitMPEG4Video()
1585 &data[offset], chunkSize, in dequeueAccessUnitMPEG4Video()
1632 offset += chunkSize; in dequeueAccessUnitMPEG4Video()
1661 offset += chunkSize; in dequeueAccessUnitMPEG4Video()
1680 offset += chunkSize; in dequeueAccessUnitMPEG4Video()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerServiceImpl.java93 final int chunkSize = chunk.size(); in updateOverlaysForUser() local
94 for (int j = 0; j < chunkSize; j++) { in updateOverlaysForUser()
/frameworks/base/media/java/android/media/
DExifInterface.java2165 long chunkSize = signatureInputStream.readInt(); in isHeifFormat() local
2174 if (chunkSize == 1) { in isHeifFormat()
2177 chunkSize = signatureInputStream.readLong(); in isHeifFormat()
2178 if (chunkSize < 16) { in isHeifFormat()
2186 if (chunkSize > signatureCheckBytes.length) { in isHeifFormat()
2187 chunkSize = signatureCheckBytes.length; in isHeifFormat()
2190 long chunkDataSize = chunkSize - chunkDataOffset; in isHeifFormat()
/frameworks/base/config/
Dboot-image-profile.txt13253 HPLjava/util/stream/AbstractSpinedBuffer;->chunkSize(I)I