1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! Crate-local uncompressed image representation returned by
//! `oxideav-tiff`'s standalone (no `oxideav-core`) decode API.
//!
//! Defined here (rather than reusing `oxideav_core::VideoFrame`) so the
//! crate can be built with the default `registry` feature off — i.e.
//! without depending on `oxideav-core` at all. When the `registry`
//! feature is on the [`crate::registry`] module provides
//! `From<TiffImage> for oxideav_core::Frame` so the `Decoder` trait
//! surface still interoperates cleanly.
/// Pixel layout produced by [`crate::decode_tiff`].
/// One image plane: row-major bytes plus the row stride in bytes.
/// One decoded TIFF image.
///
/// All-`std`, no `oxideav-core` types — the crate's standalone path
/// hands these out directly. The gated [`crate::registry`] module
/// provides a `From<TiffImage> for oxideav_core::Frame` conversion.