Cargo Features

[dependencies]
yuvutils-rs = { version = "0.8.0", default-features = false, features = ["avx", "sse", "rdm", "nightly_f16", "nightly_avx512", "nightly_i8mm", "fast_mode", "professional_mode", "rayon", "big_endian", "geometry", "rdp"] }
default = avx, rdm, sse

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

avx default

On x86 architectures runtime dispatch is used to detect if AVX, SSE is available disable those features only for testing or reducing binary size, if you're sure that your hardware do not support it or already shadowed by another feature.

It is safe to enable any features because all features availability will be checked at runtime.

Enables AVX2 support

sse default

Enables SSE4.1 support

rdm default

RDM corresponds FEAT_RDM on ARM

nightly_f16

Turning on f16 support, nightly compiler is required

nightly_avx512

Enables AVX-512, support, nightly compiler is required

Enables nightly_avx512 of fast_transpose

nightly_i8mm

Enables FEAT_I8MM on ARM

fast_mode

Enables fast_mode support on available paths

professional_mode

Enables professional_mode support on available paths

rayon

Enables rayon support, use with care, in common, YUV encoding/decoding is more usually expected to be used in single thread mode

Enables rayon

big_endian

Support for Big-Endian YUV

geometry

Enables fast_transpose

rdp