[][src]Module av_metrics::video

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
FrameInfo

A container holding the data for one video frame. This includes all planes of the video. Currently, only YUV/YCbCr format is supported. Bit depths up to 16-bit are supported.

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.