Skip to main content

Module fourcc

Module fourcc 

Source
Expand description

The entire experimental surface of this format, in one place.

AV2F is not an AOM standard. AVIF is defined by a published AOM specification that fixes its brand (avif), item type (av01) and configuration box (av1C); no equivalent document exists for AV2 — or at least none that this crate’s authors have seen. Every four-character code below is therefore chosen, not specified.

They are gathered here, and nowhere else, so that the day a real specification appears the change is this file and nothing more. Nothing in the reader or writer hard-codes a four-character code; they all read these constants.

Until then, files produced by this crate are readable by this crate and by nothing else. See the crate README.

Constants§

BRAND
Major brand written into ftyp, and the brand a reader requires.
COMPATIBLE_BRANDS
Compatible brands written into ftyp after the major brand.
CONFIG_BOX
Codec configuration property box type.
CONFIG_VERSION
Marker byte written into the configuration record so a future reader can tell files made by this crate apart from anything a real specification later defines. Bumped only if the layout of our config record changes.
EXTENSION
Recommended file extension.
ITEM_TYPE
infe item type for the coded image item.