/frameworks/base/opengl/java/android/opengl/ |
D | ETC1Util.java | 172 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/ |
D | TextDescriptions.cpp | 97 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/ |
D | JPEGSource.cpp | 172 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()
|
D | AVIExtractor.cpp | 435 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 …]
|
D | WAVExtractor.cpp | 162 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()
|
D | MPEG4Extractor.cpp | 3680 uint64_t chunkSize = ntohl(hdr[0]); in BetterSniffMPEG4() local 3684 if (chunkSize == 1) { in BetterSniffMPEG4() 3685 if (source->readAt(offset + 8, &chunkSize, 8) < 8) { in BetterSniffMPEG4() 3689 chunkSize = ntoh64(chunkSize); in BetterSniffMPEG4() 3692 if (chunkSize < 16) { in BetterSniffMPEG4() 3696 } else if (chunkSize < 8) { in BetterSniffMPEG4() 3701 off64_t chunkDataSize = offset + chunkSize - chunkDataOffset; in BetterSniffMPEG4() 3705 ALOGV("saw chunk type %s, size %lld @ %lld", chunkstring, chunkSize, offset); in BetterSniffMPEG4() 3744 moovAtomEndOffset = offset + chunkSize; in BetterSniffMPEG4() 3754 offset += chunkSize; in BetterSniffMPEG4()
|
/frameworks/base/core/jni/android/graphics/ |
D | NinePatch.cpp | 65 size_t chunkSize = env->GetArrayLength(obj); in validateNinePatchChunk() local 66 if (chunkSize < (int) (sizeof(Res_png_9patch))) { in validateNinePatchChunk() 71 int8_t* storage = new int8_t[chunkSize]; in validateNinePatchChunk() 73 env->GetByteArrayRegion(obj, 0, chunkSize, reinterpret_cast<jbyte*>(storage)); in validateNinePatchChunk()
|
/frameworks/native/opengl/libs/EGL/ |
D | trace.cpp | 133 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/ |
D | BackupHelperDispatcher.java | 32 int chunkSize; // not including the header field in BackupHelperDispatcher.Header 65 skipChunk_native(oldStateFD, header.chunkSize); in performBackup()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 900 ssize_t chunkSize; in dequeueAccessUnitMPEG4Video() local 901 while ((chunkSize = getNextChunkSize( in dequeueAccessUnitMPEG4Video() 939 &data[offset], chunkSize, in dequeueAccessUnitMPEG4Video() 981 offset += chunkSize; in dequeueAccessUnitMPEG4Video() 1004 offset += chunkSize; in dequeueAccessUnitMPEG4Video() 1022 offset += chunkSize; in dequeueAccessUnitMPEG4Video()
|
/frameworks/av/services/audioflinger/ |
D | test-resample.cpp | 35 chunkSize = size + sizeof(HeaderWav); in HeaderWav() 50 uint32_t chunkSize; // File size member
|