mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
dwebp: use default dct_method
No significant speed diff was observed. Avoids idct mismatch artifacts. Change-Id: I9ca64d165d313f23b4aa231e7a97a20213ff86c7
This commit is contained in:
parent
4bb8465f8c
commit
b11c9d6284
@ -232,7 +232,6 @@ int ReadJPEG(FILE* in_file, WebPPicture* const pic, Metadata* const metadata) {
|
|||||||
jpeg_read_header(&dinfo, TRUE);
|
jpeg_read_header(&dinfo, TRUE);
|
||||||
|
|
||||||
dinfo.out_color_space = JCS_RGB;
|
dinfo.out_color_space = JCS_RGB;
|
||||||
dinfo.dct_method = JDCT_IFAST;
|
|
||||||
dinfo.do_fancy_upsampling = TRUE;
|
dinfo.do_fancy_upsampling = TRUE;
|
||||||
|
|
||||||
jpeg_start_decompress(&dinfo);
|
jpeg_start_decompress(&dinfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user