Cargo Features

[dependencies]
ultrahdr-core = { version = "0.4.0", default-features = false, features = ["std", "simd", "transfer", "zencodec"] }
default = std, transfer

These default features are set whenever ultrahdr-core is added without default-features = false somewhere in the dependency tree.

std default

Enables std of enough

Cooperative cancellation

and std of optional archmage

SIMD (optional - for explicit SIMD optimizations)

and std of optional linear-srgb and optional magetypes

linear-srgb:

Transfer functions (optional)

simd = archmage, magetypes

Enable explicit SIMD optimizations

Affects apply_simd::apply_gain_row_simd, apply_simd::apply_gain_row_simd, apply_simd::apply_gain_row_simd

transfer default

Transfer functions (sRGB, PQ, HLG) via linear-srgb.

Enables linear-srgb

Affects color::streaming_tonemap, color::tonemap, color::transfer

zencodec

From conversions for zen* ecosystem types.

Enables zencodec and zenpixels

zenpixels:

Zen ecosystem interop (optional)

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

archmage simd?
magetypes simd?