#![allow(clippy::manual_clamp, clippy::excessive_precision)]
mod aq_common;
mod chroma_rect;
mod coder;
mod coefs;
mod dispatch;
mod partition_rd;
mod skip_tables;
mod tile;
mod wht;
mod av2;
mod avif;
#[cfg(all(target_arch = "x86_64", feature = "avx"))]
mod avx;
mod bitwriter;
mod cdef;
mod cdf_tables;
mod coef_q;
pub mod coeff;
mod coeffs;
mod color;
mod cost;
mod dct;
mod encoder;
mod err;
mod idct;
mod intrapred;
mod isobmff;
mod loopfilter;
mod metadata;
mod msac_enc;
#[cfg(all(target_arch = "aarch64", feature = "neon"))]
mod neon;
mod obu;
mod odec;
mod par;
mod pixel;
mod qm_tables;
mod quant;
mod rangecoder;
mod rd_sse;
mod tables;
mod trellis;
mod trellis_dist;
mod util;
mod wiener;
pub mod av2_image {
pub use crate::av2::simple::*;
}
pub use av2::video::{
Av2VideoEncoder, VideoPreset, VideoPresetConfig, VideoRdoqEffort, VideoThreadingPolicy,
VideoTransformSearch, encode_ivf,
};
pub use av2::{Av2Encoder, Av2Frame, DarkAq, Tuning, TxPart, av2_map_quality};
pub use avif::{
ChromaFormat, EncodeConfig, Speed, encode_gray_alpha8, encode_gray_alpha10,
encode_gray_alpha12, encode_gray8, encode_gray10, encode_gray12, encode_rgb8, encode_rgb10,
encode_rgb12, encode_rgba8, encode_rgba8_with_alpha, encode_rgba10, encode_rgba10_with_alpha,
encode_rgba12, encode_rgba12_with_alpha, encode_yuv8, encode_yuv10, encode_yuv12,
encode_yuva8_with_alpha, encode_yuva10_with_alpha, encode_yuva12_with_alpha,
};
pub use color::{
ChromaSamplePosition, Cicp, ColorMetadata, ItutT35, MasteringDisplay, MatrixCoefficients,
Primaries, TransferFunction,
};
pub use encoder::{
PlanarImage, encode_lossless, encode_lossless_gray, encode_lossless_gray_alpha,
encode_lossless_gray_obu, encode_lossless_obu, encode_lossless_with_alpha,
};
pub use err::EncodeError;
pub use metadata::{ContentLightLevel, Metadata, Orientation};
pub use pixel::{BitDepth, Pixel};