Searched refs:chunk_size (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | MPEG4Extractor.cpp | 813 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk() local 817 if (chunk_size == 1) { in parseChunk() 818 if (mDataSource->readAt(*offset + 8, &chunk_size, 8) < 8) { in parseChunk() 821 chunk_size = ntoh64(chunk_size); in parseChunk() 824 if (chunk_size < 16) { in parseChunk() 828 } else if (chunk_size == 0) { in parseChunk() 833 chunk_size = (sourceSize - *offset); in parseChunk() 844 } else if (chunk_size < 8) { in parseChunk() 846 ALOGE("invalid chunk size: %" PRIu64, chunk_size); in parseChunk() 857 printf("%sfound chunk '%s' of size %" PRIu64 "\n", indent, chunk, chunk_size); in parseChunk() [all …]
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 1255 int chunk_size = sizeof(png_uint_32) * 6; in write_png() local 1257 unknowns[o_index].data = (png_byte*) calloc(chunk_size, 1); in write_png() 1258 png_byte outputData[chunk_size]; in write_png() 1262 memcpy(unknowns[o_index].data, &outputData, chunk_size); in write_png() 1263 unknowns[o_index].size = chunk_size; in write_png() 1267 int chunk_size = sizeof(png_uint_32) * 4; in write_png() local 1269 unknowns[b_index].data = (png_byte*) calloc(chunk_size, 1); in write_png() 1270 memcpy(unknowns[b_index].data, &imageInfo.layoutBoundsLeft, chunk_size); in write_png() 1271 unknowns[b_index].size = chunk_size; in write_png()
|