#include "contributors.h"
#include <math.h>
#include "global.h"
#include "img_distortion.h"
#include "enc_statistics.h"

Go to the source code of this file.
Functions | |
| void | find_snr (ImageStructure *imgREF, ImageStructure *imgSRC, DistMetric *metricSSE, DistMetric *metricPSNR) |
Definition in file img_dist_snr.c.
| void find_snr | ( | ImageStructure * | imgREF, | |
| ImageStructure * | imgSRC, | |||
| DistMetric * | metricSSE, | |||
| DistMetric * | metricPSNR | |||
| ) |
Find SNR for all three components.
Definition at line 29 of file img_dist_snr.c.
References accumulate_average(), accumulate_avslice(), ImageParameters::type, DistMetric::value, and YUV400.
