Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/mp4/
DItemTable.cpp316 static bool isSizeFieldValid(uint32_t offset_size) { in isSizeFieldValid()
317 return offset_size == 0 || offset_size == 4 || offset_size == 8; in isSizeFieldValid()
336 uint8_t offset_size; in parse() local
337 if (!source()->readAt(offset++, &offset_size, 1)) { in parse()
340 uint8_t length_size = (offset_size & 0xF); in parse()
341 offset_size >>= 4; in parse()
354 if (!isSizeFieldValid(offset_size) in parse()
359 offset_size, length_size, base_offset_size, index_size); in parse()
446 if (offset_size > 0) { in parse()
447 if (!source()->getUInt64Var(offset, &extent_offset, offset_size)) { in parse()
[all …]