• Yaowu Xu's avatar
    Added the ability to accumulate coef stats across encodings · bb25083d
    Yaowu Xu authored
    This commit added the ability to accumulate the coef stats across
    different encodings using an intermediate binary stats files. The
    accumulation happens only the binary stats file exists in current
    directory. The encoder needs to be built with "ENTROPY_STATS" to
    allow the output. The commit also fixed a few formating issues in
    output stats file.
    
    Change-Id: Ib1a41180aa554845cf51e4421a230b128a3a82b4
    bb25083d
psnr.h 679 bytes
/*
 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */
#ifndef __INC_PSNR_H
#define __INC_PSNR_H
extern double vp8_mse2psnr(double Samples, double Peak, double Mse);
extern double vp8_calc_psnr(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, double *YPsnr, double *UPsnr, double *VPsnr, double *sq_error);
#endif