Home
last modified time | relevance | path

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

/frameworks/av/media/module/extractors/mp4/
DItemTable.cpp322 static bool isSizeFieldValid(uint32_t offset_size) { in isSizeFieldValid()
323 return offset_size == 0 || offset_size == 4 || offset_size == 8; in isSizeFieldValid()
342 uint8_t offset_size; in parse() local
343 if (!source()->readAt(offset++, &offset_size, 1)) { in parse()
346 uint8_t length_size = (offset_size & 0xF); in parse()
347 offset_size >>= 4; in parse()
360 if (!isSizeFieldValid(offset_size) in parse()
365 offset_size, length_size, base_offset_size, index_size); in parse()
452 if (offset_size > 0) { in parse()
453 if (!source()->getUInt64Var(offset, &extent_offset, offset_size)) { in parse()
[all …]