Searched refs:chunkSize (Results 1 – 12 of 12) sorted by relevance
172 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); in createTexture() local173 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() local220 dataBuffer.get(ioBuffer, 0, chunkSize); in writeTexture()221 output.write(ioBuffer, 0, chunkSize); in writeTexture()222 i += chunkSize; in writeTexture()
97 ssize_t chunkSize = U32_AT(tmpData); in extract3GPPLocalDescriptions() local100 if (chunkSize <= 0) { in extract3GPPLocalDescriptions()276 if (size > chunkSize) { in extract3GPPLocalDescriptions()277 data += chunkSize; in extract3GPPLocalDescriptions()278 size -= chunkSize; in extract3GPPLocalDescriptions()290 ssize_t chunkSize = U32_AT(data); in extract3GPPGlobalDescriptions() local295 if (size < chunkSize) { in extract3GPPGlobalDescriptions()374 data += chunkSize; in extract3GPPGlobalDescriptions()375 size -= chunkSize; in extract3GPPGlobalDescriptions()
172 uint16_t chunkSize; in parseJPEG() local173 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()
435 uint32_t chunkSize = U32LE_AT(&tmp[4]); in parseChunk() local437 if (size >= 0 && chunkSize + 8 > size) { in parseChunk()467 chunkSize - 4); in parseChunk()476 off64_t subOffsetLimit = subOffset + chunkSize - 4; in parseChunk()502 err = parseStreamHeader(offset + 8, chunkSize); in parseChunk()508 err = parseStreamFormat(offset + 8, chunkSize); in parseChunk()514 err = parseIndex(offset + 8, chunkSize); in parseChunk()527 if (chunkSize & 1) { in parseChunk()528 ++chunkSize; in parseChunk()531 return chunkSize + 8; in parseChunk()[all …]
162 uint32_t chunkSize = U32_LE_AT(&chunkHeader[4]); in init() local164 if (chunkSize > remainingSize) { in init()169 if (chunkSize < 16) { in init()279 mDataSize = chunkSize; in init()325 offset += chunkSize; in init()
4664 uint64_t chunkSize = ntohl(hdr[0]); in BetterSniffMPEG4() local4668 if (chunkSize == 1) { in BetterSniffMPEG4()4669 if (source->readAt(offset + 8, &chunkSize, 8) < 8) { in BetterSniffMPEG4()4673 chunkSize = ntoh64(chunkSize); in BetterSniffMPEG4()4676 if (chunkSize < 16) { in BetterSniffMPEG4()4680 } else if (chunkSize < 8) { in BetterSniffMPEG4()4685 off64_t chunkDataSize = offset + chunkSize - chunkDataOffset; in BetterSniffMPEG4()4689 … ALOGV("saw chunk type %s, size %" PRIu64 " @ %lld", chunkstring, chunkSize, (long long)offset); in BetterSniffMPEG4()4728 moovAtomEndOffset = offset + chunkSize; in BetterSniffMPEG4()4738 offset += chunkSize; in BetterSniffMPEG4()
68 size_t chunkSize = env->GetArrayLength(obj); in validateNinePatchChunk() local69 if (chunkSize < (int) (sizeof(Res_png_9patch))) { in validateNinePatchChunk()74 int8_t* storage = new int8_t[chunkSize]; in validateNinePatchChunk()76 env->GetByteArrayRegion(obj, 0, chunkSize, reinterpret_cast<jbyte*>(storage)); in validateNinePatchChunk()
133 GLsizei chunkCount, GLsizei chunkSize, const void* value) { in TraceValue() argument135 GLsizei count = chunkCount * chunkSize; in TraceValue()160 if (chunkSize > 1 && i < count-1 in TraceValue()161 && (i % chunkSize) == (chunkSize-1)) { in TraceValue()
32 int chunkSize; // not including the header field in BackupHelperDispatcher.Header64 skipChunk_native(oldStateFD, header.chunkSize); in performBackup()
523 int chunkSize = sizeof(png_uint_32) * 6; in writePng() local525 unknowns[oIndex].data = (png_byte*) calloc(chunkSize, 1); in writePng()526 png_byte outputData[chunkSize]; in writePng()530 memcpy(unknowns[oIndex].data, &outputData, chunkSize); in writePng()531 unknowns[oIndex].size = chunkSize; in writePng()535 int chunkSize = sizeof(png_uint_32) * 4; in writePng() local537 unknowns[bIndex].data = (png_byte*) calloc(chunkSize, 1); in writePng()538 memcpy(unknowns[bIndex].data, &info->layoutBoundsLeft, chunkSize); in writePng()539 unknowns[bIndex].size = chunkSize; in writePng()
1219 ssize_t chunkSize; in dequeueAccessUnitMPEG4Video() local1220 while ((chunkSize = getNextChunkSize( in dequeueAccessUnitMPEG4Video()1267 &data[offset], chunkSize, in dequeueAccessUnitMPEG4Video()1314 offset += chunkSize; in dequeueAccessUnitMPEG4Video()1343 offset += chunkSize; in dequeueAccessUnitMPEG4Video()1362 offset += chunkSize; in dequeueAccessUnitMPEG4Video()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...