Skip to main content

Crate av_denoise_core

Crate av_denoise_core 

Source
Expand description

§av-denoise-core

The core library and kernels for the av-denoise system.

You should use either the av-denoise library, binary or VapourSynth plugin, not this crate directly.

Re-exports§

pub use cache::COMPILATION_CACHE_ENV;
pub use cache::CacheAlreadyInitialisedError;
pub use cache::install_compilation_cache;
pub use device::Device;
pub use frame::ChannelIntent;
pub use frame::FrameLayout;
pub use frame::PlanarDenoiser;
pub use frame::PlaneOptions;
pub use frame::Planes;
pub use frame::Subsampling;
pub use frame::push_needs_retry;

Modules§

accelerate
The hardware backends kernels can run on.
cache
Where CubeCL keeps its compiled kernels.
device
Which physical device to run on.
enumerate
frame
sniff
Picking a backend that actually works on this machine.

Structs§

Denoiser
A stateful denoiser that cleans a stream of frames.
DenoiserOptions
How a Denoiser should be set up.
HqParams
Parameters for the quality-focused nlmeans-hq variant.
MotionSearch
The motion search’s tuning, for a denoiser that always tracks motion.
Nl4dOptions
Settings for Algorithm::Nl4d.
NlmTuning
NLM tuning knobs.
NlmeansHqOptions
Settings for Algorithm::NlmeansHq.
NlmeansOptions
Settings for Algorithm::Nlmeans.
UnsupportedDepthError
Returned when a source declares a bit depth the denoiser does not handle.
WindowSpan
How many source frames a windowed operation needs behind and ahead of its target frame, target frame itself not counted in either number.

Enums§

Algorithm
Which denoising algorithm to run.
ChannelMode
Which channels of a frame the denoiser works on.
DenoiserError
Errors reported by the high-level Denoiser.
DenoisingMode
Whether a frame is cleaned on its own or alongside its neighbours.
Depth
Bit depth of a source’s samples.
MotionCompensationMode
How motion compensation is set up for a denoise pass.
MotionEstimation
How motion toward a temporal neighbour is estimated.
NlmeansVariant
Which nlmeans implementation a preset, or an explicit choice, selects.
PrefilterMode
How the reference image for each frame is produced.
Preset
Speed vs quality dial.

Constants§

DEFAULT_PILOT_STRENGTH_SCALE
The measured default strength for the pilot pass, as a multiplier on the main pass strength.
MAX_PENDING
How many readbacks the high-level Denoiser keeps in flight at once.

Functions§

denormalize
Reverse of normalize.
nl4d_default_lambda_ht
The default lambda_ht for nl4d’s hard-threshold stage, per plane.
nl4d_spatial_radius_for
How wide the centre frame’s candidate search is at each preset, for nl4d.
nl4d_temporal_radius_for
How far the temporal window reaches at each preset, for nl4d.
nlmeans_search_radius_for
How far nlmeans looks for similar patches inside a frame, at a preset.
nlmeans_temporal_radius_for
How many neighbouring frames on each side nlmeans looks at, at a preset.
nlmeans_variant_for
Which NlmeansVariant a preset runs.
normalize
Scales native-depth samples into normalised [0, 1] f32.
parse_prefilter
Parses a --prefilter-style string into a PrefilterMode.