commit | cf26c03ce9e5d024cc46a786906ada05f316c6bd | [log] [tgz] |
---|---|---|
author | Angie Chiang <angiebird@google.com> | Mon May 02 14:03:33 2016 -0700 |
committer | Angie Chiang <angiebird@google.com> | Mon May 02 15:37:32 2016 -0700 |
tree | 563e10e9d8d4a2d290dc9ce4762d386c87dfe5be | |
parent | 9be7075f61c74a1eebf5a895789b216086633217 [diff] |
Fix vp10 highbd psnr calculation BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1209 Change-Id: Ia189ec4c1cc9bbcb79a45d1904567d943e2b3bb6
diff --git a/vpxenc.c b/vpxenc.c index ca29816..7fb28cd 100644 --- a/vpxenc.c +++ b/vpxenc.c
@@ -2273,7 +2273,8 @@ } if (global.show_psnr) { - if (global.codec->fourcc == VP9_FOURCC) { + if (global.codec->fourcc == VP9_FOURCC || + global.codec->fourcc == VP10_FOURCC) { FOREACH_STREAM( show_psnr(stream, (1 << stream->config.cfg.g_input_bit_depth) - 1)); } else {