• Deb Mukherjee's avatar
    Make "good" quality 2-pass vpxenc encoding default · 0d8723f8
    Deb Mukherjee authored
    Currently, the best quality mode in VP9 is not very well developed,
    and unnecessarily makes the encode too slow. Hence the command line
    default is changed to "good" quality. Also, the number of passes
    default is changed to 2 passes as well, since 1-pass encoding is
    not very efficient in VP9.
    
    Besides, a number of VP9 defaults are set to the currently
    recommended settings. With these changes, vpxenc
    run with --codec=vp9 --kf-max-dist=9999 --cpu-used=0 should
    work about the same as our borg results.
    Note when the --cpu-used=0 option is dropped there will be a slight
    difference in the output, because of a difference in the cpu-used
    value for the first pass. Specifically, the default when unspecified
    is to use cpu_used=1 for the first pass and cpu_used=0 for the
    second pass. But when specified, both passes will use the cpu-used
    value specified.
    
    Note that this also changes the default for VP8 as being "good"
    but other options stay unchanged.
    
    Change-Id: Ib23c1a05ae2f36ee076c0e34403efbda518c5066
    0d8723f8
vp9_psnr.h 576 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 VP9_ENCODER_VP9_PSNR_H_
#define VP9_ENCODER_VP9_PSNR_H_
double vp9_mse2psnr(double samples, double peak, double mse);
#endif  // VP9_ENCODER_VP9_PSNR_H_