1#![deny(unsafe_op_in_unsafe_fn)]
11
12pub mod bits;
13pub mod bmff;
14pub mod bytes;
15pub mod decoder;
16mod error;
17pub mod exif;
18pub mod huffman;
19pub mod image;
20pub mod integrity;
21pub mod metadata;
22pub mod orientation;
23pub mod par;
24pub mod profile;
25pub mod simd;
26pub mod tiff;
27pub mod types;
28
29pub use bytes::{ByteOrder, Cursor, ReadAt};
30pub use decoder::{
31 DecodeContext, DecodeUnit, FrameInfo, PackOrder, PackedPayload, RandomAccess, RawDecoder, SampleFormat,
32};
33pub use error::{Error, Result};
34pub use image::{Limits, PixelData, RawImage, alloc_zeroed, max_nonneg_bits};
35pub use integrity::{CorruptReason, DataUnit, DecodeWarning, RowGeometry, SensorBytes, Truncation};
36pub use metadata::{
37 DngExtras, DngProfileInfo, EXTRA_CROP_SOURCE, EXTRA_IMAGE_SIZE, ExposureInfo, GpsInfo, LensInfo, PreviewEncoding,
38 PreviewInfo, PreviewKind, RawMetadata,
39};
40pub use orientation::{OrientationMetadata, OrientationPolicy, OrientationSource};
41pub use profile::{Profiler, Stage};
42pub use types::*;