av_metrics

Module video

Source
Expand description

Contains metrics related to video/image quality.

Modules§

ciede
The CIEDE2000 color difference formula.
decode
Contains a trait and utilities for implementing decoders. Prebuilt decoders are included in the av-metrics-decoders crate.
psnr
Peak Signal-to-Noise Ratio metric.
psnr_hvs
Peak Signal-to-Noise Ratio metric accounting for the Human Visual System.
ssim
Structural Similarity index.

Structs§

Frame
Represents a raw video frame
PlanarMetrics
Certain metrics return a value per plane. This struct contains the output for those metrics per plane, as well as a weighted average of the planes.
Plane
One data plane of a frame.

Enums§

ChromaSamplePosition
Sample position for subsampled chroma
ChromaSampling
Chroma subsampling format

Traits§

CastFromPrimitive
Trait for casting between primitive types.
Pixel
A type that can be used as a pixel type.