mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
def64e920f
The output was always 99dB because the lossless pipeline is not modifying the 'picture'. Changing that is not that simple because near_lossless impacts both VP8ApplyNearLossless() and ApplyPredictFilter(); the latter cannot be applied as is to the input and thus the final modified 'picture' cannot be easily retrieved without decoding the encoded bitstream. Hence ReadWebP() is called in cwebp.c on the encoded bitstream kept in memory to get the correct distortion. However -get_psnr returns a different distortion than get_disto for lossy encoding configurations because cwebp loads the source as YUV while get_disto directly reads it as RGB without conversion loss. Change-Id: I5c32cf8f89eb137973dc7eebda747682d921b8e2 |
||
---|---|---|
.. | ||
Android.mk | ||
anim_diff.c | ||
anim_dump.c | ||
anim_util.c | ||
anim_util.h | ||
cwebp.c | ||
dwebp.c | ||
example_util.c | ||
example_util.h | ||
gif2webp.c | ||
gifdec.c | ||
gifdec.h | ||
img2webp.c | ||
Makefile.am | ||
stopwatch.h | ||
test_ref.ppm | ||
test.webp | ||
unicode_gif.h | ||
unicode.h | ||
vwebp.c | ||
webpinfo.c | ||
webpmux.c |