[][src]Module av_metrics::video

Contains metrics related to video/image quality.

Modules

ciede

The CIEDE2000 color difference formula.

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

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.

PlaneData

Contains the data for one plane in a video frame. For chroma planes, this data is represented in the original chroma sampling. E.g. if this is a 4:2:0 video clip, the chroma planes will have half the resolution, in each dimension, of the luma plane.

Enums

ChromaSamplePosition

Sample position for subsampled chroma

ChromaSampling

Available chroma sampling formats.

Traits

CastFromPrimitive

Defines a type which supports being cast to from a generic integer type.

Decoder

A trait for allowing metrics to decode generic video formats.

Pixel

A trait for types which may represent a pixel in a video. Currently implemented for u8 and u16. u8 should be used for low-bit-depth video, and u16 for high-bit-depth video.