intel / libyami-utils

Libyami Utilities
Apache License 2.0
24 stars 45 forks source link

jpg_ssim_test: modify ssim_test.py for jpeg testing #109

Closed wudping closed 6 years ago

wudping commented 6 years ago

1, When decoding jpeg fails, print the faied file name on the log. 2, Split the resolution string part in case some file names contain 'x'.

Signed-off-by: dongping wu dongpingx.wu@intel.com

wudping commented 6 years ago

for jpeg testing. please help to review.

xuguangxin commented 6 years ago

can you give the details in the commit log, what pattern needs your new code?

uartie commented 6 years ago

please rebase to fix CI builds

xuguangxin commented 6 years ago

not really know the issue is. the function can get right value for all cases:


In [9]: getInfo("1x2")
1 x 2

In [10]: getInfo("wxh_1x2")
1 x 2

In [11]: getInfo("2x3wxh_1x2")
2 x 3

In [12]: getInfo("2x3xh_1x2")
2 x 3

In [13]: getInfo("xh_1x2")
1 x 2

close it first.