Home
last modified time | relevance | path

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

/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.cpp97 ssize_t chunkSize = U32_AT(tmpData); in extract3GPPLocalDescriptions() local
100 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() local
295 if (size < chunkSize) { in extract3GPPGlobalDescriptions()
374 data += chunkSize; in extract3GPPGlobalDescriptions()
375 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()
DAVIExtractor.cpp435 uint32_t chunkSize = U32LE_AT(&tmp[4]); in parseChunk() local
437 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 …]
DWAVExtractor.cpp162 uint32_t chunkSize = U32_LE_AT(&chunkHeader[4]); in init() local
164 if (chunkSize > remainingSize) { in init()
169 if (chunkSize < 16) { in init()
279 mDataSize = chunkSize; in init()
325 offset += chunkSize; in init()
DMPEG4Extractor.cpp4664 uint64_t chunkSize = ntohl(hdr[0]); in BetterSniffMPEG4() local
4668 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()
/frameworks/base/core/jni/android/graphics/
DNinePatch.cpp68 size_t chunkSize = env->GetArrayLength(obj); in validateNinePatchChunk() local
69 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()
/frameworks/native/opengl/libs/EGL/
Dtrace.cpp133 GLsizei chunkCount, GLsizei chunkSize, const void* value) { in TraceValue() argument
135 GLsizei count = chunkCount * chunkSize; in TraceValue()
160 if (chunkSize > 1 && i < count-1 in TraceValue()
161 && (i % chunkSize) == (chunkSize-1)) { in TraceValue()
/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/
DPng.cpp523 int chunkSize = sizeof(png_uint_32) * 6; in writePng() local
525 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() local
537 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()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1219 ssize_t chunkSize; in dequeueAccessUnitMPEG4Video() local
1220 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()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...