diff --git a/index.bs b/index.bs
index a62172a..90c19c3 100755
--- a/index.bs
+++ b/index.bs
@@ -93,6 +93,8 @@ url: https://www.iso.org/standard/68960.html; spec: ISOBMFF; type: property;
text: mdcv
text: clap
text: iloc
+ text: mdat
+ text: idat
url: https://www.iso.org/standard/74417.html; spec: MIAF; type: property;
text: miaf
@@ -431,6 +433,362 @@ A file containing a 'pict' track compliant with this profile is expected to list
avis, msf1, miaf, MA1A
+
As indicated in [[#file-constraints]], an AVIF file is a compliant [[!MIAF]] file. As a consequence, some [[!ISOBMFF]] or [[!HEIF]] boxes are required, as indicated in the following table. The order of the boxes is indicative in the table. The specifications listed in the "Specification"
+column may require a specific order for the box or for its children and shall be respected. For example, per [[!ISOBMFF]], the FileTypeBox
is required to appear first in an AVIF file.
+The "Version(s)" column in the following table lists the version(s) of the boxes allowed by this brand.
+Other versions of the boxes shall not be used. "-" means that the box does not have a version.
Top-Level | +Level 1 | +Level 2 | +Level 3 | +Version(s) | +Specification | +Note | +
---|---|---|---|---|---|---|
ftyp | ++ | + | + | - | +ISOBMFF | ++ |
meta | ++ | + | + | 0 | +ISOBMFF | ++ |
+ | hdlr | ++ | + | 0 | +ISOBMFF | ++ |
+ | pitm | ++ | + | 0, 1 | +ISOBMFF | ++ |
+ | iloc | ++ | + | 0, 1, 2 | +ISOBMFF | ++ |
+ | iinf | ++ | + | 0, 1 | +ISOBMFF | ++ |
+ | + | infe | ++ | 2, 3 | +ISOBMFF | ++ |
+ | iprp | ++ | + | - | +ISOBMFF | ++ |
+ | + | ipco | ++ | - | +ISOBMFF | ++ |
+ | + | + | av1C | +- | +AVIF | ++ |
+ | + | + | ispe | +0 | +HEIF | ++ |
+ | + | + | pixi | +0 | +HEIF | ++ |
+ | + | ipma | ++ | 0, 1 | +ISOBMFF | ++ |
mdat | ++ | + | + | - | +ISOBMFF | +The coded payload may be placed in 'idat' rather than 'mdat', in which case 'mdat' is not required. | +
The boxes indicated in the following table may be present in an AVIF file to provide additional signaling for image items. The boxes may be present inside the box indicated in the "Containing box" column. If present, they shall use the version indicated in the table and AVIF readers are expected to understand them. The order of the boxes is indicative in the table. Specifications may require specific order and shall be respected. Additionally, the free
and skip
boxes may be present at any level in the hierarchy. AVIF readers are expected to ignore them. Additional boxes in the meta
hierarchy not listed in the following table may also be present and may be ignored by AVIF readers.
Level 1 | +Level 2 | +Version(s) | +Specification | +Containing Box | +Description | +
---|---|---|---|---|---|
dinf | ++ | - | +ISOBMFF | +meta | +Used to indicate the location of the media information in a track | +
+ | dref | +0 | +ISOBMFF | ++ | + |
iref | ++ | 0, 1 | +ISOBMFF | +meta | +Used to indicate directional relationships between images or metadata | +
+ | auxl | +- | +HEIF | ++ | Used when an image is auxiliary to another image | +
+ | thmb | +- | +HEIF | ++ | Used when an image is a thumbnail of another image | +
+ | dimg | +- | +HEIF | ++ | Used when an image is derived from another image | +
+ | prem | +- | +HEIF | ++ | Used when when an alpha image contains premultiplied color values from another image | +
+ | cdsc | +- | +HEIF | ++ | Used to link metadata with an image | +
idat | ++ | - | +ISOBMFF | +meta | +Used to store derived image definitions | +
grpl | ++ | - | +ISOBMFF | +meta | +Used to indicate that multiple images are semantically grouped | +
+ | altr | +0 | +ISOBMFF | ++ | Used when images in a group are alternative to each other | +
pasp | ++ | - | +ISOBMFF | +ipco | +Used to signal pixel aspect ratio. If present, shall indicate a pixel aspect ratio of 1:1 | +
colr | ++ | - | +ISOBMFF | +ipco | +Used to signal information such as color primaries. | +
auxC | ++ | 0 | +HEIF | +ipco | +Used to signal the type of an auxiliary image (e.g. alpha, depth). | +
clap | ++ | - | +ISOBMFF | +ipco | +Used to signal cropping applied to an image | +
irot | ++ | - | +HEIF | +ipco | +Used to signal a rotation applied to an image | +
imir | ++ | - | +HEIF | +ipco | +Used to signal a mirroring applied to an image | +
clli | ++ | - | +ISOBMFF | +ipco | +Used to signal HDR light level information for an image | +
cclv | ++ | - | +ISOBMFF | +ipco | +Used to signal HDR color volume for an image | +
mdcv | ++ | - | +ISOBMFF | +ipco | +Used to signal HDR mastering information for an image | +
a1op | ++ | - | +AVIF | +ipco | +Used to configure rendering of a multiple operating points image | +
lsel | ++ | - | +HEIF | +ipco | +Used to configure rendering of a multilayered image | +
a1lx | ++ | - | +AVIF | +ipco | +Used to assist reader in parsing a multilayered image | +
The media type "image/avif"
is officially registered with IANA and available at: https://www.iana.org/assignments/media-types/image/avif.