| 1 | //! Encoding of AVIF images. |
|---|---|
| 2 | /// |
| 3 | /// The [AVIF] specification defines an image derivative of the AV1 bitstream, an open video codec. |
| 4 | /// |
| 5 | /// [AVIF]: https://aomediacodec.github.io/av1-avif/ |
| 6 | #[cfg(feature = "avif-native")] |
| 7 | pub use self::decoder::AvifDecoder; |
| 8 | #[cfg(feature = "avif")] |
| 9 | pub use self::encoder::{AvifEncoder, ColorSpace}; |
| 10 | |
| 11 | #[cfg(feature = "avif-native")] |
| 12 | mod decoder; |
| 13 | #[cfg(feature = "avif")] |
| 14 | mod encoder; |
| 15 | #[cfg(feature = "avif-native")] |
| 16 | mod yuv; |
| 17 |
