Fix vp10 highbd psnr calculation
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1209 Change-Id: Ia189ec4c1cc9bbcb79a45d1904567d943e2b3bb6
This commit is contained in:
Родитель
9be7075f61
Коммит
cf26c03ce9
3
vpxenc.c
3
vpxenc.c
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче