Files
rosetta/docs/FORMATS.md
T
2026-11-01 20:14:34 -06:00

33 KiB

Formats

GENERATED by tools/gen_registry.py from each format's contract (caps) - do not edit. Every format listed here is tested under both runtimes (luau --codegen -O2 and LuaJIT through the build) by bash tools/test.sh.

Category Format Extensions Read Write Capabilities Test
image ani .ani yes yes alpha: true, animation: true, frames: true tests/image/ani.luau
image art .art yes yes alpha: true, palette: true, frames: true, depths: 8 tests/image/art.luau
image blp .blp yes yes alpha: true, variants: "blp1", "blp2", compressions: "jpeg", "palette", "dxt1", "dxt3", "dxt5", "bgra" tests/image/blp.luau
image bmp .bmp .dib yes yes alpha: true, depths: 1, 2, 4, 8, 16, 24, 32, rle: true tests/image/bmp.luau
image dds .dds yes yes alpha: true, float: true, mipmaps: true, cubemap: true, compressed: "bc1", "bc2", "bc3", "bc4", "bc5", "bc6h", "bc7" tests/image/dds.luau
image exr .exr yes yes alpha: true, float: true, hdr: true, depths: 16, 32, multipart: true, tiled: true tests/image/exr.luau
image gif .gif yes yes animation: true, alpha: true, palette: true, depths: 1, 2, 4, 8 tests/image/gif.luau
image hdr .hdr .pic .rgbe yes yes alpha: false, float: true, depths: 32 tests/image/hdr.luau
image icns .icns yes yes alpha: true, frames: true, depths: 1, 24, 32 tests/image/icns.luau
image ico .ico .cur yes yes alpha: true, frames: true, depths: 1, 4, 8, 16, 24, 32 tests/image/ico.luau
image ilbm .iff .ilbm .lbm .pbm yes yes alpha: true, palette: true, depths: 1, 2, 3, 4, 5, 6, 7, 8, 24, 32 tests/image/ilbm.luau
image jpeg .jpg .jpeg .jpe .jfif yes yes lossy: true, alpha: false, depths: 8, 12, progressive: true, arithmetic: true tests/image/jpeg.luau
image ktx .ktx2 .ktx yes yes alpha: true, float: true, mipmaps: true, cubemap: true, compressed: "bc1", "bc2", "bc3", "bc4", "bc5", "bc6h", "bc7", "etc1", "etc2", "eac" tests/image/ktx.luau
image lmp .lmp yes yes alpha: true, depths: 8, variants: "qpic", "palette", "colormap" tests/image/lmp.luau
image pcx .pcx .pcc .dcx yes yes alpha: true, palette: true, depths: 1, 2, 4, 8, 24, 32 tests/image/pcx.luau
image png .png .apng yes yes animation: true, alpha: true, depths: 1, 2, 4, 8, 16 tests/image/png.luau
image pnm .pnm .pbm .pgm .ppm .pam .pfm yes yes alpha: true, depths: 1, 8, 16, 32, float: true tests/image/pnm.luau
image qoi .qoi yes yes alpha: true, depths: 8 tests/image/qoi.luau
image sgi .sgi .rgb .rgba .bw .int .inta yes yes alpha: true, depths: 8, 16 tests/image/sgi.luau
image spr .spr yes yes alpha: true, animation: true, variants: "quake", "halflife", "spr32" tests/image/spr.luau
image sunras .ras .sun .rs .im1 .im8 .im24 .im32 yes yes alpha: true, palette: true, depths: 1, 8, 24, 32 tests/image/sunras.luau
image tga .tga .icb .vda .vst .tpic yes yes alpha: true, palette: true, depths: 8, 15, 16, 24, 32 tests/image/tga.luau
image tiff .tif .tiff yes yes alpha: true, pages: true, depths: 1, 2, 4, 8, 16, 32, float: true tests/image/tiff.luau
image tim .tim yes yes alpha: true, palette: true, depths: 4, 8, 16, 24 tests/image/tim.luau
image vtf .vtf yes - alpha: true, animation: true, versions: "7.0", "7.1", "7.2", "7.3", "7.4", "7.5" tests/image/vtf.luau
image webp .webp yes yes animation: true, alpha: true, lossy: true, lossless: true, depths: 8 tests/image/webp.luau
image xbm .xbm .bm yes yes depths: 1 tests/image/xbm.luau
image xpm .xpm .pm yes yes alpha: true, palette: true, depths: 8 tests/image/xpm.luau
audio aac .aac .adts yes - codecs: "aac", streaming: true tests/audio/aac.luau
audio ac3 .ac3 .a52 yes - codecs: "ac3", channels: 6, streaming: true, lossy: true tests/audio/ac3.luau
audio adpcm .adpcm .ima yes yes streaming: true, lossy: true, headerless: true, codecs: "ima", "ima_wav", "ms", "ima_qt", "psx" tests/audio/adpcm.luau
audio adx .adx yes yes streaming: true, lossy: true, loops: true, channels: 8 tests/audio/adx.luau
audio aiff .aiff .aif .aifc .afc yes yes streaming: true, depths: 8, 16, 24, 32, float: true, lossy: false tests/audio/aiff.luau
audio ape .ape yes - streaming: true, seek: true, lossless: true, float: true, depths: 8, 16, 24, 32 tests/audio/ape.luau
audio au .au .snd yes yes streaming: true, depths: 8, 16, 24, 32, float: true, lossy: false tests/audio/au.luau
audio brstm .brstm .bcstm .bfstm yes - streaming: true, lossy: true, loops: true, containers: "RSTM", "CSTM", "FSTM" tests/audio/brstm.luau
audio caf .caf .caff yes yes codecs: "pcm", "alac", "aac", "ulaw", "alaw", encodeCodecs: "pcm", "alac", tags: true, streaming: true tests/audio/caf.luau
audio flac .flac .oga yes yes streaming: true, depths: 4, 8, 12, 16, 20, 24, 32, ogg: true, seek: true tests/audio/flac.luau
audio m4a .m4a .m4b .m4r yes yes codecs: "aac", "alac", encodeCodecs: "alac", tags: true, streaming: true tests/audio/m4a.luau
audio mp3 .mp3 .mp2 .mp1 .mpga yes yes streaming: true, seek: true, layers: 1, 2, 3, encodeLayers: 2, 3, channels: 2 tests/audio/mp3.luau
audio mpc .mpc .mp+ .mpp yes - codecs: "musepack", versions: 7, 8, streaming: true, lossy: true tests/audio/mpc.luau
audio opus .opus yes yes streaming: true, seek: true, lossy: true, channels: 255, rates: 48000, encodeModes: "celt", encodeChannels: 2 tests/audio/opus.luau
audio qoa .qoa yes yes streaming: true, lossy: true, seek: true, channels: 8 tests/audio/qoa.luau
audio tta .tta yes - streaming: true, seek: true, lossless: true, depths: 8, 16, 24 tests/audio/tta.luau
audio vag .vag yes yes streaming: true, lossy: true, loops: true, channels: 2 tests/audio/vag.luau
audio voc .voc yes yes streaming: true, depths: 8, 16, lossy: false tests/audio/voc.luau
audio vorbis .ogg .oga yes yes streaming: true, seek: true, lossy: true, channels: 255 tests/audio/vorbis.luau
audio wav .wav .wave .rf64 .bw64 yes yes streaming: true, depths: 8, 16, 24, 32, float: true, rf64: true tests/audio/wav.luau
audio wavpack .wv yes - streaming: true, seek: true, lossless: true, hybrid: true, float: true, depths: 8, 12, 16, 20, 24, 32 tests/audio/wavpack.luau
video avi .avi yes yes streaming: true, video: "mjpeg", "mpeg1", "mpeg2", "rawvideo", audio: true, odml: true tests/video/avi.luau
video fli .fli .flc .flx yes - streaming: true, video: "flic", depths: 8, 15, 16, 24 tests/video/fli.luau
video flv .flv yes yes streaming: true, remux: true, video: "flv1", "h264", audio: true, metadata: true tests/video/flv.luau
video h264 .h264 .264 .avc .jsv .26l .jvt yes yes streaming: true, video: "h264", depths: 8 tests/video/h264.luau
video mkv .mkv .webm .mka .mk3d yes yes streaming: true, remux: true, video: "vp8", "mjpeg", "mpeg1", "mpeg2", "theora", "rawvideo", audio: true, subtitles: true tests/video/mkv.luau
video mp4 .mp4 .m4v .mov .qt .3gp .3g2 .mj2 yes yes streaming: true, remux: true, video: "mjpeg", "mpeg1", "mpeg2", "h264", audio: true, fragments: true tests/video/mp4.luau
video mpegps .mpg .mpeg .vob .m1v .mpv .dat yes - streaming: true, video: "mpeg1", "mpeg2", audio: true tests/video/mpegps.luau
video mpegts .ts .m2ts .mts .tsv yes - streaming: true, video: "mpeg1", "mpeg2", "h264", audio: true tests/video/mpegts.luau
video ogv .ogv .ogg yes yes streaming: true, remux: true, video: "theora", audio: true tests/video/ogv.luau
video smk .smk yes - streaming: true, video: "smackvid", audio: "smackaudio", "pcm_u8", "pcm_s16le" tests/video/smk.luau
video y4m .y4m yes yes streaming: true, video: "rawvideo", depths: 8, 10, 12, 16 tests/video/y4m.luau
model 3ds .3ds yes yes materials: true, textures: true, animation: true, cameras: true, lights: true, instancing: true tests/model/3ds.luau
model 3mf .3mf yes yes materials: true, vertexColors: true, textures: true, units: true tests/model/3mf.luau
model ase .ase .ask yes yes text: true, materials: true, cameras: true, lights: true, vertexColors: true tests/model/ase.luau
model b3d .b3d yes - materials: true, textures: true, skins: true, animation: true, colors: true tests/model/b3d.luau
model blend .blend yes - materials: true, textures: true, animation: true, skins: true, morphTargets: true, cameras: true, lights: true, polygons: true, compressed: true tests/model/blend.luau
model bsp .bsp yes - variants: "quake", "bsp2", "2psb", "halflife", "quake2", "quake3", lightmaps: true, collision: true, visibility: true tests/model/bsp.luau
model buildmap .map yes yes sprites: true, slopes: true tests/model/buildmap.luau
model d3map .map yes - patches: true, variants: "doom3", "quake4" tests/model/d3map.luau
model dae .dae .zae yes yes materials: true, polygons: true, skins: true, morphTargets: true, animation: true, cameras: true, lights: true, zae: true tests/model/dae.luau
model fbx .fbx yes yes binary: true, ascii: true, materials: true, animation: true, skins: true, morphTargets: true, cameras: true, lights: true, polygons: true tests/model/fbx.luau
model gltf .gltf .glb yes yes binary: true, materials: true, animation: true, skins: true, morphTargets: true, cameras: true, lights: true, draco: true tests/model/gltf.luau
model godot .tscn .escn yes yes text: true, materials: true, cameras: true, lights: true, instances: true tests/model/godot.luau
model iqm .iqm yes yes materials: true, skins: true, animation: true, vertexColors: true tests/model/iqm.luau
model ldraw .ldr .mpd .dat yes - materials: true, lines: true, instancing: true tests/model/ldraw.luau
model lwo .lwo .lxo yes - materials: true, polygons: true, vertexColors: true, morphTargets: true tests/model/lwo.luau
model map .map yes yes variants: "quake", "valve220", "quake2", "quake3", patches: true tests/model/map.luau
model mca .mca .mcr yes - voxels: true, blocks: true tests/model/mca.luau
model md2 .md2 yes - morph: true, animation: true tests/model/md2.luau
model md3 .md3 yes - morph: true, animation: true, tags: true tests/model/md3.luau
model md5 .md5mesh .md5anim yes - skins: true, animation: true tests/model/md5.luau
model mdl .mdl yes - variants: "quake", "halflife", morph: true, skins: true, animation: true tests/model/mdl.luau
model ms3d .ms3d yes yes materials: true, skins: true, animation: true tests/model/ms3d.luau
model obj .obj yes yes materials: true, polygons: true, vertexColors: true tests/model/obj.luau
model off .off yes yes polygons: true, points: true, colors: true, binary: false tests/model/off.luau
model ply .ply yes yes ascii: true, binary: true, polygons: true, points: true, colors: true tests/model/ply.luau
model pmx .pmx .pmd yes - materials: true, skins: true, morphTargets: true, pmd: true tests/model/pmx.luau
model proc .proc yes - portals: true tests/model/proc.luau
model qb .qb yes yes voxels: true, truecolor: true tests/model/qb.luau
model rbxm .rbxm .rbxl yes yes tree: true, compression: "none", "lz4", "zstd" tests/model/rbxm.luau
model rbxmx .rbxmx .rbxlx yes yes tree: true tests/model/rbxmx.luau
model robloxmesh .mesh yes yes skinning: true, lods: true, versions: "1.00", "1.01", "2.00", "3.00", "3.01", "4.00", "4.01", "5.00", "6.00", "7.00" tests/model/robloxmesh.luau
model schematic .schem .schematic .litematic yes yes voxels: true, blocks: true, variants: "schem", "schematic", "litematic" tests/model/schematic.luau
model smd .smd yes yes skins: true, animation: true tests/model/smd.luau
model sourcemdl .mdl yes - skins: true, morph: true, animation: true, lods: true tests/model/sourcemdl.luau
model stl .stl yes yes ascii: true, binary: true, colors: true, indexed: false tests/model/stl.luau
model t3d .t3d yes - text: true, brushes: true, actors: true tests/model/t3d.luau
model udmf .udmf .textmap yes - maps: true tests/model/udmf.luau
model usda .usda .usd .usdz yes yes materials: true, animation: true, cameras: true, lights: true, polygons: true, vertexColors: true, usdz: "read", usdc: false tests/model/usda.luau
model vbsp .bsp yes - versions: 19, 20, 21, displacements: true, staticProps: true, pak: true tests/model/vbsp.luau
model vmf .vmf .vmx yes yes displacements: true, roundTrip: true tests/model/vmf.luau
model vox .vox yes yes voxels: true, sceneGraph: true, materials: true tests/model/vox.luau
model vrml .wrl .wrz .vrml yes yes materials: true, polygons: true, animation: true, cameras: true, lights: true, lines: true, points: true tests/model/vrml.luau
model x .x yes - text: true, binary: true, compressed: true, materials: true, skins: true, animation: true, polygons: true, vertexColors: true tests/model/x.luau
model x3d .x3d .x3dv .x3dz .x3dvz .x3db yes yes materials: true, polygons: true, animation: true, cameras: true, lights: true, lines: true, points: true, xml: true, classic: true tests/model/x3d.luau
cad step .step .stp .p21 yes yes complexEntities: true, sections: true, brep: "plugin", tessellate: "plugin" tests/cad/step.luau
font bdf .bdf yes yes bitmap: true tests/font/bdf.luau
font bmfont .fnt yes yes bitmap: true, variants: "text", "xml", "binary", extraFiles: true tests/font/bmfont.luau
font eot .eot yes yes variants: "1.0", "2.1", "2.2" tests/font/eot.luau
font fon .fon .fnt yes - bitmap: true, variants: "fnt2", "fnt3", "ne", "pe" tests/font/fon.luau
font hershey .jhf yes - strokes: true tests/font/hershey.luau
font pcf .pcf yes - bitmap: true tests/font/pcf.luau
font psf .psf .psfu yes yes bitmap: true, variants: "psf1", "psf2" tests/font/psf.luau
font ttf .ttf .otf .ttc .otc yes - outlines: "truetype", "cff", collection: true, kerning: true tests/font/ttf.luau
font type1 .pfb .pfa .t1 yes - outlines: "type1", variants: "pfb", "pfa" tests/font/type1.luau
font woff .woff yes - outlines: "truetype", "cff" tests/font/woff.luau
font woff2 .woff2 yes - outlines: "truetype", "cff", transforms: "glyf", "loca", "hmtx" tests/font/woff2.luau
archive 7z .7z yes - methods: "copy", "lzma", "lzma2", "deflate", "bcj", "delta", encrypted: false tests/archive/7z.luau
archive adf .adf yes - variants: "ofs", "ffs" tests/archive/adf.luau
archive applesingle .as .applesingle .appledouble yes yes forks: true, variants: "applesingle", "appledouble" tests/archive/applesingle.luau
archive ar .a .ar .deb .lib yes yes variants: "gnu", "bsd", deb: true tests/archive/ar.luau
archive arj .arj yes - methods: "store", "arj1", "arj2", "arj3", "arj4" tests/archive/arj.luau
archive binhex .hqx .hcx yes yes forks: true tests/archive/binhex.luau
archive br .br yes - stream: true tests/archive/br.luau
archive bz2 .bz2 .tbz2 .tbz yes - stream: true tests/archive/bz2.luau
archive cab .cab yes yes methods: "store", "mszip", "lzx", "quantum" tests/archive/cab.luau
archive cpio .cpio yes yes variants: "newc", "crc", "odc", "bin" tests/archive/cpio.luau
archive d64 .d64 .d71 .d81 yes yes variants: "d64", "d71", "d81" tests/archive/d64.luau
archive fat .img .ima .vfd .flp .fat yes yes variants: "fat12", "fat16", "fat32" tests/archive/fat.luau
archive grp .grp yes yes tests/archive/grp.luau
archive gzip .gz .tgz .gzip yes yes stream: true tests/archive/gzip.luau
archive iso .iso yes - extensions: "joliet", "rockridge", "eltorito" tests/archive/iso.luau
archive lha .lzh .lha .lzs yes yes methods: "lh0", "lh1", "lh4", "lh5", "lh6", "lh7", "lhx", "lzs", "lz5", "lz4", "lhd" tests/archive/lha.luau
archive lz4 .lz4 .tlz4 yes yes stream: true, legacy: true tests/archive/lz4.luau
archive macbinary .bin .macbin yes yes forks: true, variants: "I", "II", "III" tests/archive/macbinary.luau
archive mpq .mpq .w3x .w3m .sc2map .sc2data .s2ma .scm .scx yes - versions: 1, 2, 3, 4, methods: "zlib", "implode", "bzip2", "lzma", "sparse", encryption: true tests/archive/mpq.luau
archive pak .pak .sin yes yes variants: "quake", "sin" tests/archive/pak.luau
archive rpm .rpm yes - compressors: "gzip", "bzip2", "xz", "lzma", "zstd" tests/archive/rpm.luau
archive tar .tar yes yes variants: "ustar", "pax", "gnu" tests/archive/tar.luau
archive unitypackage .unitypackage yes yes tests/archive/unitypackage.luau
archive uu .uu .uue .xxe .b64 yes yes variants: "uu", "xx", "base64" tests/archive/uu.luau
archive vpk .vpk yes yes versions: 1, 2, multipart: true tests/archive/vpk.luau
archive vswap .wl6 .wl1 .sod .sdm .vswap yes - images: true, sounds: true tests/archive/vswap.luau
archive wad .wad yes yes images: true, maps: true, variants: "iwad", "pwad" tests/archive/wad.luau
archive wad2 .wad yes yes images: true, variants: "wad2", "wad3" tests/archive/wad2.luau
archive xz .xz .txz .lzma yes - stream: true, filters: "lzma2", "lzma", "delta", "x86", "powerpc", "arm", "armthumb", "sparc", "arm64" tests/archive/xz.luau
archive yenc .yenc .ync yes yes multipart: true tests/archive/yenc.luau
archive z .z .taz .tz yes yes stream: true, bits: 9, 16 tests/archive/z.luau
archive zip .zip .wsz yes yes methods: "store", "deflate", zip64: true tests/archive/zip.luau
archive zoo .zoo yes - methods: "store", "lzw", "lzh" tests/archive/zoo.luau
archive zst .zst .tzst yes - stream: true tests/archive/zst.luau
data cbor .cbor yes yes binary: true, ordered: true, tags: true tests/data/cbor.luau
data csv .csv .tsv yes yes header: true tests/data/csv.luau
data ini .ini .cfg .conf .inf .desktop yes yes ordered: true tests/data/ini.luau
data json .json .jsonl .ndjson .geojson yes yes ordered: true, streaming: true tests/data/json.luau
data msgpack .msgpack .mpk yes yes binary: true, ordered: true tests/data/msgpack.luau
data nbt .nbt .dat .mcstructure .dat_old yes yes binary: true, ordered: true, typed: true tests/data/nbt.luau
data plist .plist yes yes binary: "read", ordered: true tests/data/plist.luau
data q3shader .shader yes yes tests/data/q3shader.luau
data q3skin .skin yes yes tests/data/q3skin.luau
data snbt .snbt yes yes ordered: true, typed: true tests/data/snbt.luau
data toml .toml yes yes ordered: true, dates: true tests/data/toml.luau
data tres .tres yes yes ordered: true tests/data/tres.luau
data vdf .vdf .acf .res .kv yes yes ordered: true, binary: true tests/data/vdf.luau
data xml .xml .xsd .xsl .xslt .rss .atom .xhtml yes yes namespaces: true, streaming: true tests/data/xml.luau
data yaml .yaml .yml yes yes ordered: true, multiDocument: true, anchors: true tests/data/yaml.luau
vector gamemaps .wl6 .wl1 .sod .sdm yes - tilemap: true tests/vector/gamemaps.luau
vector ldtk .ldtk yes yes levels: true, worlds: true, intGrid: true, entities: true tests/vector/ldtk.luau
vector ogmo .ogmo yes yes projects: true, entities: true, decals: true tests/vector/ogmo.luau
vector svg .svg yes yes rasterize: true, text: false tests/vector/svg.luau
vector tiled .tmx .tmj .tsx .tsj yes yes tilesets: true, infinite: true tests/vector/tiled.luau
layered aseprite .aseprite .ase yes yes layers: true, groups: true, animation: true, depths: 8, 16, 32 tests/layered/aseprite.luau
layered ora .ora yes yes layers: true, groups: true, depths: 8 tests/layered/ora.luau
layered psd .psd .psb yes yes layers: true, groups: true, depths: 1, 8, 16, 32 tests/layered/psd.luau
subtitle ass .ass .ssa yes yes styles: true tests/subtitle/ass.luau
subtitle srt .srt yes yes styles: false tests/subtitle/srt.luau
subtitle vtt .vtt .webvtt yes yes styles: true tests/subtitle/vtt.luau
music 669 .669 yes - render: true, channels: 8, 8 tests/music/669.luau
music ahx .ahx .thx yes - render: true, channels: 4, 4, subsongs: true tests/music/ahx.luau
music far .far yes - render: true, channels: 16, 16 tests/music/far.luau
music hmp .hmp .hmi yes - render: true, hmi: true tests/music/hmp.luau
music hvl .hvl yes - render: true, channels: 4, 16, subsongs: true tests/music/hvl.luau
music it .it yes - render: true, channels: 1, 64, compressedSamples: true tests/music/it.luau
music med .med .mmd0 .mmd1 .mmd2 .mmd3 .omed yes - render: true, channels: 1, 64 tests/music/med.luau
music midi .mid .midi .smf .kar .rmi yes yes formats: 0, 1, 2, render: true, streaming: true, rmid: true tests/music/midi.luau
music mod .mod .m15 .stk .nst yes yes render: true, channels: 1, 32 tests/music/mod.luau
music mtm .mtm yes - render: true, channels: 1, 32 tests/music/mtm.luau
music mus .mus yes - render: true tests/music/mus.luau
music okt .okt .okta yes - render: true, channels: 4, 8 tests/music/okt.luau
music ptm .ptm yes - render: true, channels: 1, 32 tests/music/ptm.luau
music s3m .s3m yes - render: true, channels: 1, 32 tests/music/s3m.luau
music sf2 .sf2 yes - sm24: true, sf3: false tests/music/sf2.luau
music stm .stm yes - render: true, channels: 4, 4 tests/music/stm.luau
music ult .ult yes - render: true, channels: 1, 32 tests/music/ult.luau
music umx .umx yes - render: true, container: true tests/music/umx.luau
music xm .xm yes yes render: true, channels: 1, 64 tests/music/xm.luau
music xmi .xmi .xmidi yes - render: true, songs: true tests/music/xmi.luau
playlist m3u .m3u .m3u8 yes yes hls: true tests/playlist/m3u.luau
playlist pls .pls yes yes tests/playlist/pls.luau
playlist xspf .xspf yes yes tests/playlist/xspf.luau

Codecs (layer 3, shared by formats; not loadable on their own), by domain:

  • audio
    • codecs/audio/Aac: AAC-LC decoder (ISO/IEC 14496-3 subpart 4, ISO/IEC 13818-7): AudioSpecificConfig, ADTS, raw_data_block.
    • codecs/audio/Ac3: AC-3 (Dolby Digital, ATSC A/52) syncframes: syncinfo / BSI, CRC check and decoder.
    • codecs/audio/Adpcm: the 4-bit ADPCM family, decode (and encode where it is cheap).
    • codecs/audio/Alac: Apple Lossless (ALAC) decoder and encoder.
    • codecs/audio/Ape: the Monkey's Audio codec (.ape), file versions 3.95 and later.
    • codecs/audio/ApeTag: APEv1 / APEv2 tags -> Types.Tags.
    • codecs/audio/Flac: FLAC frames without the container (frame header, subframes, CRC-8 / CRC-16) and the frame encoder.
    • codecs/audio/Hively: the AHX / HivelyTracker engine (loader, replayer, waveform tables, render glue).
    • codecs/audio/Mdct: MDCT / IMDCT for any N divisible by 4, DCT-IV, and the sine / KBD / Vorbis windows.
    • codecs/audio/MidiRender: the MIDI tempo map, event timeline and the Decoder that plays a Midi through SoundFont.
    • codecs/audio/Mpa: MPEG audio layers I / II / III (ISO/IEC 11172-3, 13818-3, MPEG-2.5) without the file around it.
    • codecs/audio/Musepack: Musepack (MPC) stream versions 7 and 8.
    • codecs/audio/Opus: the Opus codec (RFC 6716) without its container.
    • codecs/audio/Pcm: PCM plumbing shared by audio formats: raw sample formats, streaming Decoders, encoder input sources.
    • codecs/audio/Qoa: the "Quite OK Audio" codec (QOA).
    • codecs/audio/Resample: sample-rate conversion by band-limited (Kaiser-windowed sinc) polyphase interpolation.
    • codecs/audio/SoundFont: SoundFont 2 banks and the sample synth that plays MIDI through them.
    • codecs/audio/Stream: the streaming Types.Decoder over a packetised codec (gapless trim, seeking with pre-roll).
    • codecs/audio/Tracker: the shared tracker engine behind music/mod, s3m, xm and it, and the formats mapped onto them.
    • codecs/audio/Tta: the TTA1 (True Audio) lossless codec.
    • codecs/audio/Vorbis: the Vorbis I decoder without its container.
    • codecs/audio/VorbisComment: Vorbis comment fields ("KEY=value"; Vorbis, Opus, FLAC) <-> Types.Tags.
    • codecs/audio/WavPack: the WavPack 4 / 5 audio codec (the blocks of .wv files, and of WavPack in Matroska).
  • compress
    • codecs/compress/Brotli: Brotli (RFC 7932) decompression, with the large-window extension.
    • codecs/compress/Bzip2: bzip2 decompressor (BWT + MTF + Huffman, the .bz2 stream format of bzip2 0.9.5 / 1.0.x).
    • codecs/compress/Deflate: DEFLATE (RFC 1951) decoder and compressor, with zlib (RFC 1950) and gzip (RFC 1952).
    • codecs/compress/Explode: decompressor for the PKWARE Data Compression Library "implode" format (DCL, 1987).
    • codecs/compress/Lz4: the LZ4 block format (lz4 doc/lz4_Block_format.md), decode and the reference "fast" encoder.
    • codecs/compress/Lzh: the LHA family of LZSS decoders (lh1, lh4-lh7, lhx, lzs, lz5, ARJ 1-4, Zoo 2).
    • codecs/compress/Lzma: LZMA and LZMA2 decoders, the .lzma ("LZMA alone") wrapper and the .xz container.
    • codecs/compress/Lzw: LZW decoder and encoder, from the GIF89a spec (appendix F) and TIFF 6.0 section 13 (new code).
    • codecs/compress/Lzx: the LZX decoder for Microsoft Cabinet folders (windows of 2^15 .. 2^21 bytes).
    • codecs/compress/PackBits: the Apple PackBits run-length code (TIFF compression 32773, PSD RLE, IFF ByteRun1).
    • codecs/compress/Quantum: the Quantum decoder (David Stafford's LZ77 + adaptive arithmetic coder) for Cabinet folders.
    • codecs/compress/UnixCompress: the LZW of Unix compress (.Z: magic 1F 9D, a flags byte: max width 9..16, block mode).
    • codecs/compress/Xxh32: XXH32 for the LZ4 frame checksums, from the xxHash specification (Yann Collet, BSD-2).
    • codecs/compress/Zstd: Zstandard decompression (RFC 8878), written from the specification; no dictionaries.
  • entropy
    • codecs/entropy/Huffman: canonical Huffman codes (RFC 1951 3.2.2 / JPEG Annex C order).
    • codecs/entropy/RangeCoder: the RFC 6716 range coder used by Opus, a port of libopus celt/entdec.c + entenc.c.
  • font
    • codecs/font/Bitmap: the standard Font value for bitmap fonts (BDF, PCF, PSF, Windows FON / FNT) and their 1-bit rows.
    • codecs/font/Cff: Compact Font Format (Adobe TN #5176) and Type 2 charstrings (TN #5177), the outlines of .otf fonts.
    • codecs/font/GlyphNames: PostScript glyph names -> Unicode (AGL specification) and Adobe StandardEncoding.
    • codecs/font/TrueType: the sfnt container (.ttf, .otf with CFF outlines, .ttc collections) as the standard Font value.
  • image
    • codecs/image/Bcn: BC1-BC7 block-compressed textures with the D3D11 rules.
    • codecs/image/Blend: rgba8 layer compositing (straight alpha) with the W3C Compositing and Blending Level 1 modes.
    • codecs/image/Dct: the 8x8 DCTs JPEG, Motion-JPEG and MPEG-1 share (native; never throws).
    • codecs/image/Etc: ETC1 / ETC2 / EAC block texture decoding (Khronos Data Format Specification 1.3, section 21).
    • codecs/image/Half: IEEE 754 binary16 <-> number (round to nearest even, overflow to infinity). New in rosetta.
    • codecs/image/Jpeg: the JPEG codec (ITU T.81), bit-exact with libjpeg-turbo's djpeg and byte-identical with cjpeg.
    • codecs/image/Miptex: Quake / GoldSrc mip textures and the WAD2 / WAD3 lump directory, read and write.
    • codecs/image/Pixels: row loops between packed pixel layouts and rgba8 for BMP / DIB, and palette helpers.
    • codecs/image/Quantize: palette quantization of rgba8 pixels (median cut or octree, Floyd-Steinberg dithering).
    • codecs/image/Raster: an antialiased scanline rasterizer (nonzero / even-odd) for line and Bézier paths, plus a stroker.
    • codecs/image/Texel: uncompressed GPU texel formats -> the standard pixel formats. New in rosetta.
    • codecs/image/Texture: one entry point over the texture pixel codecs (Bcn, Etc, Texel). New in rosetta.
    • codecs/image/Vp8: the VP8 video codec (RFC 6386), decode only.
    • codecs/image/Vp8L: WebP lossless (VP8L, RFC 9649 section 3).
    • codecs/image/Yuv: planar 4:2:0 Y'CbCr <-> rgba8, BT.601 / BT.709, limited or full range.
  • model
    • codecs/model/Brush: convex plane brushes -> polygons and Scene primitives, with Quake-family texture projection.
    • codecs/model/Displacement: Source engine displacement surfaces (VBSP ddispinfo_t / Hammer dispinfo), as
    • codecs/model/DoomMap: Doom / Heretic / Hexen binary map lumps (Hexen when BEHAVIOR is present) and UDMF TEXTMAP to
    • codecs/model/Draco: Google Draco geometry decompression (.drc; glTF KHR_draco_mesh_compression; Roblox mesh v6 / v7).
    • codecs/model/Mat4: 4x4 matrix (column-major, glTF / Types.Scene layout) and quaternion { x, y, z, w } helpers.
    • codecs/model/MeshFlatten: a Scene to one world-space mesh, for the writers of mesh-only formats (STL, PLY, OFF).
    • codecs/model/Minecraft: what Minecraft's voxel formats share (model/schematic, model/mca). New code.
    • codecs/model/Patch: Quake III / Doom 3 Bezier patches (control grids) -> evaluated grids, triangles, normals.
    • codecs/model/Polygon: 2D polygons with holes to triangles by hole bridging and ear clipping. New code.
    • codecs/model/Rbx: the Roblox instance tree and property values shared by model/rbxm and model/rbxmx.
    • codecs/model/Rig: the Scene mapping shared by game model formats (MD2 / MD3 / MDL / MD5 / SMD / ...). New code.
    • codecs/model/Sampler: Scene animation sampling, STEP / LINEAR (slerp) / CUBICSPLINE as in glTF 2.0 animations. New code.
    • codecs/model/SourceAnim: studio model animation data: the run-length coded mstudioanimvalue_t shorts (GoldSrc and
    • codecs/model/Vrml: VRML97 / X3D scene-graph engine (classic and XML encodings) for model/vrml and model/x3d.
  • text
    • codecs/text/GodotVariant: Godot's text resource syntax (.tscn / .tres / .escn, formats 2-4; Godot's
    • codecs/text/Json: JSON (RFC 8259 / ECMA-404) parse and serialize, the engine data/json, glTF, TMJ, ... use. New code.
    • codecs/text/KeyValues: Valve KeyValues text (tier1/KeyValues.cpp of the Source SDK 2013, srctools' reading of it)
    • codecs/text/Lexer: C-style tokens for id Tech / UDMF text (idLib idLexer conventions, UDMF 1.1 §I; no code taken):
    • codecs/text/Nbt: Minecraft's Named Binary Tag format and SNBT (Minecraft wiki "NBT format", wiki.vg "NBT").
    • codecs/text/Text: text decoding helpers: BOM stripping, Windows-1252 for text that is not UTF-8, line splitting.
    • codecs/text/Url: RFC 3986 reference resolution (section 5.2), local-path classification and percent-encoding.
    • codecs/text/Xml: XML 1.0 parse (DOM and pull events) and serialize. New code.
  • video
    • codecs/video/Dsp: the 8x8 IDCT (bit-exact with ffmpeg -idct int) and half-pel motion compensation of MPEG codecs.
    • codecs/video/H263: an H.263 / H.263+ and Sorenson Spark (FLV1) video decoder, bit-exact with ffmpeg -idct int.
    • codecs/video/H264: an H.264 / AVC (ITU-T H.264 | ISO/IEC 14496-10) video decoder in pure Luau, bit-exact with ffmpeg.
    • codecs/video/Legacy: FLI / FLC, Cinepak, Microsoft Video 1, QuickTime RLE / SMC and Smacker video decoders.
    • codecs/video/Mpeg1: the MPEG-1 video decoder (ISO/IEC 11172-2), the old name and API over codecs/video/Mpeg2.
    • codecs/video/Mpeg2: an MPEG-1 / MPEG-2 video decoder (ISO/IEC 11172-2, ISO/IEC 13818-2 Main profile).
    • codecs/video/Theora: a Theora video decoder (the Theora I specification, Xiph.Org), for Ogg and Matroska (V_THEORA).
    • codecs/video/Video: the video codec registry and the generic VideoDecoder. New in rosetta.