Home
last modified time | relevance | path

Searched refs:chunk_data_size (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp871 off64_t chunk_data_size = chunk_size - (data_offset - *offset); in parseChunk() local
872 if (chunk_data_size < 0) { in parseChunk()
876 if (chunk_type != FOURCC("mdat") && chunk_data_size > kMaxAtomSize) { in parseChunk()
878 sprintf(errMsg, "%s atom has size %" PRId64, chunk, chunk_data_size); in parseChunk()
1335 if ((err = parseTrackHeader(data_offset, chunk_data_size)) != OK) { in parseChunk()
1415 if (chunk_data_size < 4 || mLastTrack == NULL) { in parseChunk()
1515 if (chunk_data_size < (off64_t)sizeof(buffer)) { in parseChunk()
1571 if (mLastTrack == NULL || chunk_data_size < 11) { in parseChunk()
1575 auto buffer = heapbuffer<uint8_t>(chunk_data_size); in parseChunk()
1581 data_offset, buffer.get(), chunk_data_size) < chunk_data_size) { in parseChunk()
[all …]
DItemTable.cpp159 off64_t chunk_data_size = chunk_size - (data_offset - *offset); in parseChunk() local
160 if (chunk_data_size < 0) { in parseChunk()
165 status_t err = onChunkData(chunk_type, data_offset, chunk_data_size); in parseChunk()
1221 status_t ItemTable::parse(uint32_t type, off64_t data_offset, size_t chunk_data_size) { in parse() argument
1225 return parseIlocBox(data_offset, chunk_data_size); in parse()
1229 return parseIinfBox(data_offset, chunk_data_size); in parse()
1233 return parseIprpBox(data_offset, chunk_data_size); in parse()
1237 return parsePitmBox(data_offset, chunk_data_size); in parse()
1241 return parseIdatBox(data_offset, chunk_data_size); in parse()
1245 return parseIrefBox(data_offset, chunk_data_size); in parse()