Commit cf26c03c authored by Angie Chiang's avatar Angie Chiang

Fix vp10 highbd psnr calculation

BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1209
Change-Id: Ia189ec4c1cc9bbcb79a45d1904567d943e2b3bb6
parent 9be7075f
......@@ -2273,7 +2273,8 @@ int main(int argc, const char **argv_) {
}
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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment