mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-27 07:02:55 +01:00
fbda2f499c
We store the raw RGB samples decoded from JPEG, and avoid precision loss. Note that this may increase the encoding time reported by cwebp -v, since RGB->YUV now occur during WebPEncode call (in case of lossy), instead of ReadJPEG(). This also increases the memory use, since we're carying the source ARGB samples around. Change-Id: Ic2180206cfc9f5574f391e91c3b89b9d81695d01