digiKam
quality.h File Reference

Go to the source code of this file.

Functions

LIBDE265_API uint32_t compute_distortion_ssd (const de265_image *img1, const de265_image *img2, int x0, int y0, int log2size, int cIdx)
 
LIBDE265_API double MSE (const uint8_t *img, int imgStride, const uint8_t *ref, int refStride, int width, int height)
 
LIBDE265_API double PSNR (double mse)
 
LIBDE265_API uint32_t SAD (const uint8_t *img, int imgStride, const uint8_t *ref, int refStride, int width, int height)
 
LIBDE265_API uint32_t SSD (const uint8_t *img, int imgStride, const uint8_t *ref, int refStride, int width, int height)
 

Function Documentation

◆ compute_distortion_ssd()

LIBDE265_API uint32_t compute_distortion_ssd ( const de265_image img1,
const de265_image img2,
int  x0,
int  y0,
int  log2size,
int  cIdx 
)

◆ MSE()

LIBDE265_API double MSE ( const uint8_t *  img,
int  imgStride,
const uint8_t *  ref,
int  refStride,
int  width,
int  height 
)

◆ PSNR()

LIBDE265_API double PSNR ( double  mse)

◆ SAD()

LIBDE265_API uint32_t SAD ( const uint8_t *  img,
int  imgStride,
const uint8_t *  ref,
int  refStride,
int  width,
int  height 
)

◆ SSD()

LIBDE265_API uint32_t SSD ( const uint8_t *  img,
int  imgStride,
const uint8_t *  ref,
int  refStride,
int  width,
int  height 
)