#![cfg_attr(not(feature = "std"), no_std)]
#![forbid(unsafe_code)]
extern crate alloc;
whereat::define_at_crate_info!(path = "zenpixels/");
pub mod descriptor;
pub mod orientation;
#[cfg(feature = "planar")]
pub mod planar;
pub mod policy;
pub mod cicp;
pub mod color;
pub mod hdr;
#[cfg(feature = "icc")]
pub mod icc;
pub mod pixel_types;
pub(crate) mod registry;
pub mod buffer;
pub use orientation::Orientation;
pub use descriptor::{
AlphaMode, ByteOrder, ChannelLayout, ChannelType, ColorModel, ColorPrimaries, PixelDescriptor,
PixelFormat, SignalRange, TransferFunction,
};
#[cfg(feature = "planar")]
pub use planar::{
MultiPlaneImage, Plane, PlaneDescriptor, PlaneLayout, PlaneMask, PlaneRelationship,
PlaneSemantic, Subsampling, YuvMatrix,
};
pub use buffer::{Bgrx, BufferError, Pixel, PixelBuffer, PixelSlice, PixelSliceMut, Rgbx};
pub use cicp::Cicp;
pub use color::{
ColorAuthority, ColorContext, ColorOrigin, ColorProfileSource, ColorProvenance, NamedProfile,
};
pub use hdr::{ContentLightLevel, MasteringDisplay};
pub use pixel_types::{GrayAlpha8, GrayAlpha16, GrayAlphaF32};
pub use policy::{AlphaPolicy, ConvertOptions, DepthPolicy, GrayExpand, LumaCoefficients};
pub use whereat::{At, ResultAtExt, at};