#include "contributors.h"
#include <math.h>
#include "enc_statistics.h"
#include "global.h"
#include "img_distortion.h"
#include "md_distortion.h"
Go to the source code of this file.
Functions | |
void | find_snr (ImageParameters *p_Img, InputParameters *p_Inp, ImageStructure *imgREF, ImageStructure *imgSRC, DistMetric *metricSSE, DistMetric *metricPSNR) |
Definition in file img_dist_snr.c.
void find_snr | ( | ImageParameters * | p_Img, | |
InputParameters * | p_Inp, | |||
ImageStructure * | imgREF, | |||
ImageStructure * | imgSRC, | |||
DistMetric * | metricSSE, | |||
DistMetric * | metricPSNR | |||
) |
Find SNR for all three components.
Definition at line 30 of file img_dist_snr.c.
References accumulate_average(), accumulate_avslice(), compute_SSE(), distortion_metric::value, and YUV400.