shithub: libvpx

Download patch

ref: bdf3f07677e504e794f7167f95b7b5ceed803b70
parent: 7ecf3bc91c1773902bd645655213d1c592251707
parent: d84c09841776cd39d3218b269676289af65525f6
author: Yaowu Xu <yaowu@google.com>
date: Thu Dec 5 04:15:13 EST 2013

Merge "Disable --tune=ssim for vp9"

--- a/vp9/vp9_cx_iface.c
+++ b/vp9/vp9_cx_iface.c
@@ -198,6 +198,10 @@
   RANGE_CHECK(vp8_cfg, arnr_type,       1, 3);
   RANGE_CHECK(vp8_cfg, cq_level, 0, 63);
 
+  // TODO(yaowu): remove this when ssim tuning is implemented for vp9
+  if (vp8_cfg->tuning == VP8_TUNE_SSIM)
+      ERROR("Option --tune=ssim is not currently supported in VP9.");
+
   if (cfg->g_pass == VPX_RC_LAST_PASS) {
     size_t           packet_sz = sizeof(FIRSTPASS_STATS);
     int              n_packets = (int)(cfg->rc_twopass_stats_in.sz / packet_sz);