MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / readMetadata

Method readMetadata

src/bmffimage.cpp:723–741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721}
722
723void BmffImage::readMetadata() {
724 openOrThrow();
725 IoCloser closer(*io_);
726
727 clearMetadata();
728 ilocs_.clear();
729 visits_max_ = io_->size() / 16;
730 unknownID_ = 0xffff;
731 exifID_ = unknownID_;
732 xmpID_ = unknownID_;
733
734 uint64_t address = 0;
735 const auto file_end = io_->size();
736 while (address < file_end) {
737 io_->seek(address, BasicIo::beg);
738 address = boxHandler(std::cout, kpsNone, file_end, 0);
739 }
740 bReadMetadata_ = true;
741} // BmffImage::readMetadata
742
743void BmffImage::printStructure(std::ostream& out, Exiv2::PrintStructureOption option, size_t depth) {
744 if (!bReadMetadata_)

Callers

nothing calls this directly

Calls 3

seekMethod · 0.80
clearMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected