• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Eyevinn / mp4ff / 45215089562
85%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2026 04:19PM UTC
Jobs 1
Files 260
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Nov 2026 04:18PM UTC coverage: 84.997% (+0.05%) from 84.944%
45215089562

push

github

tobbee
feat(mp4): access the properties, references and data of image items

The item boxes of a HEIF, HEIC or AVIF image are decoded, but getting from an item ID to what the boxes say about the item took loops over ipma, iloc and iref, and working out where the bytes of an item are.

File.Meta is the file-level meta box. IprpBox.GetItemProperties returns the properties of an item in the order they are associated, with the essential flag. IlocBox.GetItem returns its location. IrefBox.GetToItemIDs and GetFromItemIDs follow the references of a type from or to an item, for example to the tiles of a grid or from the thumbnails, auxiliary images and metadata of an image. DecodeImageGrid decodes the data of a grid item (ISO/IEC 23008-12 clause 6.6.2.3).

MetaBox.GetItemData returns the data of an item from the mdat box, in memory or decoded lazily, or from the idat box, and joins several extents. Every extent must be inside its source and the extents together may not be larger than the source, so that a malformed iloc box cannot make the data larger than the file. Data in another file, data made from other items (construction method 2) and an extent without length outside idat give an error.

Validated on 35 files from avifenc, heif-enc, sips, macOS desktop pictures and an iPhone: the data of every item is the same with the mdat box in memory and decoded lazily, each grid has as many tiles as its rows and columns give, and the primary image or its first tile, written out with the parameter sets of its hvcC or as OBUs, decodes with ffmpeg (28 HEVC) and dav1d (7 AV1) to the size that ispe gives. The new FuzzItemData ran 8.4 million executions without failures.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

120 of 122 new or added lines in 2 files covered. (98.36%)

29233 of 34393 relevant lines covered (85.0%)

0.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
98.32
mp4/item.go
Jobs
ID Job ID Ran Files Coverage
1 45215089562.1 23 Nov 2026 04:19PM UTC 260
85.0
GitHub Action Run
Source Files on build 45215089562
  • Tree
  • List 260
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e6d65808 on github
  • Prev Build on master (#45178802315)
  • Next Build on master (#45215637532)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc