Skip to main content

Module frame

Module frame 

Source

Structs§

FrameLayout
PlanarDenoiser
Wraps the luma and chroma Denoiser instances needed for one subsampled YUV source.
PlaneOptions
The per-plane option set a caller resolves once and passes into PlanarDenoiser::create.
Planes
A planar YUV frame holding little-endian wire bytes.

Enums§

ChannelIntent
Which planes a caller wants cleaned, once --channel-mode (or the equivalent host option) has been resolved.
Subsampling

Functions§

f32_to_plane
Reverse of plane_to_f32.
fill_plane
Builds a plane of samples copies of value in wire-byte form.
interleave_uv_to_f32
Interleaves separate U and V planes into [U, V, U, V, ...] as f32 in [0, 1].
interleave_yuv_to_f32
Interleaves equal-length Y, U, and V planes from a YUV444 source into [Y0, U0, V0, Y1, U1, V1, ...] as f32 in [0, 1].
plane_to_f32
Converts one wire-byte plane to normalised f32.
push_needs_retry
Reads the result of a PlanarDenoiser::push call for the push-then-drain-then-retry loop that file_mode.rs and stream_mode.rs both use.
unpack_uv_from_f32
Reverse of interleave_uv_to_f32.