summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* libwebp: Display "libjpeg error:" in imageio/jpegdecYannis Guyon2019-03-081-0/+1
| | | | | | | | For clearer error message in cwebp. BUG=webp:420 Change-Id: Ie60b53c4c6b77a96f81f3b5cd285b7c7003a1308
* WebPRescalerGetScaledDimensions: round scaled dimension upSkal2019-02-181-4/+4
| | | | | | | | | | This is to prevent resizing to dimension 0 + added some safety checks about src_width > 0 and src_height > 0 BUG=webp:418 Change-Id: Ic04a53ad26455d80538bc8681882a554fca2a340
* libwebp: Fix missing '{' in READMEYannis Guyon2019-02-151-1/+1
| | | | Change-Id: I205e9dc24450b258b416550cd3f59ce5049546c7
* Merge "unicode,INIT_WARGV: add missing cast"James Zern2019-01-251-1/+2
|\
| * unicode,INIT_WARGV: add missing castJames Zern2019-01-241-1/+2
| | | | | | | | | | | | | | | | CommandLineToArgvW() returns a LPWSTR*, storing to const LPWSTR* is incorrect without a cast; fixes gcc -Wincompatible-pointer-types and clang(-cl) -Wincompatible-pointer-types-discads-qualifiers warnings Change-Id: Iad5b49c4862c7be68251272e50d3c751099559bc
* | tag the VP8LHashPix() function for potential uint roll-overJames Zern2019-01-241-1/+3
|/ | | | | | BUG=webp:412 Change-Id: I10af39b774ef8e5d138670ddeaca4e15eade4ff6
* tag the GetPixPairHash64() function for potential uint roll-overSkal2019-01-231-1/+2
| | | | | | BUG=webp:412 Change-Id: I448583d72378afc0c6fabec45d4f8a2d6164ab15
* Have the color cache computation be u32-bit only.Vincent Rabaud2019-01-232-6/+6
| | | | | | BUG=webp:412 Change-Id: I18a3acb1b7f5d64f538b5c27521bc9e8dd599f5e
* Remove BINARYEN_METHOD in wasm settings.Vincent Rabaud2019-01-231-1/+1
| | | | | | | | This was removed according to https://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#debugging BUG=webp:413 Change-Id: If8f1a3f1260d34cdd2b937b286e4c57fb48ed828
* update ChangeLogv1.0.2-rc1v1.0.2James Zern2019-01-141-0/+30
| | | | Change-Id: I805c2c1791f74771d3355f8143e3a697c72b39cd
* update NEWSJames Zern2019-01-141-0/+8
| | | | Change-Id: I179bf63a718221dab4b4335fdccd78e9b36242c7
* bump version to 1.0.2James Zern2019-01-1415-32/+32
| | | | | | | | | | | | | | libwebp{,decoder} - 1.0.2 libwebp libtool - 7.4.0 libwebpdecoder libtool - 3.4.0 mux - 1.0.2 libtool - 3.4.0 demux - 1.0.2 libtool - 2.6.0 Change-Id: I59b1cdd832d36355c4554361fe45e518218d4a90
* update AUTHORSJames Zern2019-01-142-3/+4
| | | | Change-Id: I3b564e47d583336647dcce30b03ce07e836af903
* man/cwebp.1: refine near-lossless textJames Zern2019-01-111-5/+7
| | | | Change-Id: Ida25a8979b689ae798b01b40c0842912631bd60c
* Clarify the doc about GetFeatures.Vincent Rabaud2019-01-091-0/+12
| | | | | | | | | Taking the comments from the internal ParseHeadersInternal. (which is called by GetFeatures). BUG=webp:411 Change-Id: I9999b4a183805e2db1456610a30024a0d8be4d00
* near_lossless: fix fuzzing-detected integer overflowSkal2019-01-061-6/+8
| | | | | | | | | It's safer to clip the passed param instead of doing 32b arithmetic and clipping afterward. Output is unchanged, but code no longer rely on UB. Change-Id: Ia5b4de6e8863981753f1d17f062965a6a5da5bed
* webp: Fix VP8LBitWriterClone() bugYannis Guyon2019-01-021-0/+1
| | | | | | | | | | | dst->cur_ was not set. The bug occurred only with several VP8LBitWriter instances (thread_level > 0) and in 32-bit (in 64-bit, src->cur_ was always 0 in VP8LBitWriterClone()). BUG=chromium:917029 Change-Id: I0d94a3d8e62b247fd616eebe1009868dc8a5ed2e
* neon IsFlatJohann2018-12-033-14/+72
| | | | | | | | | | | | | | Move IsFlat to its own header. This allows it to continue to be inlined. Using the RTCD and creating a distinct function slows down arm builds. flower mug C 3.59 2.12 NEON 3.47 2.01 BUG=b/118740850 Change-Id: Id77e8f76d9e9790c498806e7070bbe37c10bc2e9
* IsFlat: inline when possibleJohann2018-11-291-1/+2
| | | | Change-Id: Ia7471d29f73233cdc58cd11ae8bdf7ce31b9ce9f
* IsFlat: use int for threshJohann2018-11-291-2/+2
| | | | | | | | thresh is defined by FLATNESS_LIMIT_* which ranges from 2-10. score_t is int64 which is a touch overkill. Change-Id: I308bd440bf11643665d3642fe361495a257b6e52
* fix unprobable leak in webp_sdl.cSkal2018-11-271-0/+1
| | | | Change-Id: I26f21f4a09349bf7e7cede0d906f55f497235ff6
* Merge "IsFlat: return int"Johann Koenig2018-11-181-1/+1
|\
| * IsFlat: return intJohann2018-11-161-1/+1
| | | | | | | | | | | | IsFlat is a boolean function. Don't use a specialized return type. Change-Id: I070395082023ceb50251c44f5f4253b90394710c
* | Merge tag 'v1.0.1'James Zern2018-11-1618-28/+168
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libwebp-1.0.1 - 11/2/2018: version 1.0.1 This is a binary compatible release. * lossless encoder speedups * big-endian fix for alpha decoding (issue #393) * gif2webp fix for loop count=65535 transcode (issue #382) * further security related hardening in libwebp & libwebpmux (issues #383, #385, #386, #387, #388, #391) (oss-fuzz #9099, #9100, #9105, #9106, #9111, #9112, #9119, #9123, #9170, #9178, #9179, #9183, #9186, #9191, #9364, #9417, #9496, #10349, #10423, #10634, #10700, #10838, #10922, #11021, #11088, #11152) * miscellaneous bug & build fixes (issues #381, #394, #396, #397, #400) * tag 'v1.0.1': update ChangeLog Fix pair update in stochastic entropy merging. README.mux: add a reference to the AnimDecoder API CMake: fix webp_js compilation update NEWS bump version to 1.0.1 Speed-up: Make sure we only initialize histograms when needed. update AUTHORS img2webp: add help note about arguments from a file Speedups for empty histograms. Split HistogramAdd to only have the high level logic in C. Fix compilation on windows and clang-cl+ninja. Change-Id: I4b58eee66b25da184ac4bf4c70e43e43682b3a23
| * | update ChangeLogv1.0.1-rc2v1.0.1James Zern2018-11-081-0/+93
| | | | | | | | | | | | Change-Id: I39043d4986664312947a0668cb1b7bfbcf5a2477
| * | Fix pair update in stochastic entropy merging.Vincent Rabaud2018-11-071-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old code simply did not make sense. The effect is that the pair would be popped from the queue no matter what; as the queue is small, it does not matter that much on the results. But it will matter for a later CL. Change-Id: If50c9fa9d7f3ac3c48bb7336d81479287d4944c4 (cherry picked from commit 485ff86fbb174b518834503cb39c9c8e20567f38)
| * | README.mux: add a reference to the AnimDecoder APIJames Zern2018-11-061-0/+29
| | | | | | | | | | | | | | | | | | this balances the AnimEncoder section Change-Id: I205c8d0bd6104509e06737dcbf9a7651fd4bc6a3
| * | CMake: fix webp_js compilationskal2018-11-061-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | Stick to the strict necessary for running webp_js, and avoid building sub-lib or examples with heavy dependencies. Change-Id: Ife4170a7839fb3201b2cf158d98d17bebe10008f (cherry picked from commit 4cd0582d50eaa79140723c180fc6bfd3891b07f5)
| * | update NEWSJames Zern2018-11-031-0/+12
| | | | | | | | | | | | Change-Id: I4a97342d47247724f12da9d8a7d8f22047c2a179
| * | bump version to 1.0.1James Zern2018-11-0215-28/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libwebp{,decoder} - 1.0.1 libwebp libtool - 7.3.0 libwebpdecoder libtool - 3.3.0 mux - 1.0.1 libtool - 3.3.0 demux - 1.0.1 libtool - 2.5.0 Change-Id: I4310caed27d1e53cc8c1b534571e3d653ad434c8
| * | Speed-up: Make sure we only initialize histograms when needed.Vincent Rabaud2018-11-025-16/+67
| | | | | | | | | | | | | | | | | | | | | | | | Also, histograms in a HistogramSet can be initialized all at once. Change-Id: Ibbfa6034dce58dca8bb9113487e2ae507222ce7d (cherry picked from commit 6752904b2f57aa19e325f773e81ac70b4f302f26)
| * | update AUTHORSJames Zern2018-10-271-0/+3
| | | | | | | | | | | | Change-Id: Ie7731464088d985a7398401c8ef45bd26c536fe5
| * | img2webp: add help note about arguments from a fileJames Zern2018-10-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this was added in: 94a8377b extract the command-line parsing helpers to example_util and matches the help in webpmux https://groups.google.com/a/webmproject.org/d/msg/webp-discuss/DJs-w_-Id6o/svFXs2CqBgAJ BUG=webp:101 Change-Id: I2944d1fb1ed3030c356960be2a6c8de15a79311f (cherry picked from commit b6284d8247b0bc2c27efa37cdbf3c6a46a0f1791)
| * | Speedups for empty histograms.Vincent Rabaud2018-10-263-44/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When histograms are empty, it is easy to add them. They should also not be considered when merging histograms (it is a waste of CPU). This does not change the compression performance, just the speed. Change-Id: I42c721ca0f9c5ea067e73b792aa3db6d5e71d01f (cherry picked from commit decf6f6b873206797d3a39b85d9e03a5dbfc82e7)
| * | Split HistogramAdd to only have the high level logic in C.Vincent Rabaud2018-10-264-122/+72
| | | | | | | | | | | | | | | Change-Id: Ic9eaebf7128ca0215b49d2a13bde1f5b94a28061 (cherry picked from commit dea3e89983f299b3325898fa5b9474be258553b2)
| * | Fix compilation on windows and clang-cl+ninja.Vincent Rabaud2018-10-261-8/+20
| | | | | | | | | | | | | | | Change-Id: I4e468519e1bcb99da5057f3b6646b077a1e0e7f1 (cherry picked from commit a376e7b96a255e93aa87e23e46c1c518496abe9d)
* | | utils.h: only define WEBP_NEED_LOG_TABLE_8BIT when neededJames Zern2018-11-161-13/+13
| |/ |/| | | | | Change-Id: I6ba7a4288034decc5235f07013bd7877545a8b61
* | neon: GetResidualCostJohann2018-11-141-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Direct copy of sse2. Slight improvement because neon has abs(). flower.ppm had minimal improvement. Somewhat expected because GetResidualCost_C is only ~3.6% mug.ppm had a better improvement because GetResidualCost_C is almost 9%. C 2.150 NEON 2.130 BUG=b/118740850 Change-Id: Ibc0dd97a81596635f5599cf568205974b4fd2597
* | neon: SetResidualCoeffsJohann2018-11-147-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | Much faster with aarch64. Still somewhat faster without vmaxv. C: 3.700s ArmV7: 3.675 aarch64: 3.600 BUG=b/118740850 Change-Id: I3be852da89633eca4bddce443c87f5e4a2f55868
* | Simpler histogram clustering.Vincent Rabaud2018-11-112-123/+246
| | | | | | | | | | | | | | Instead of re-organizing the list of histograms, set the unused ones to NULL. Change-Id: I8d25e1bb8f78ae9486ff358cc647ba1821cd5fcf
* | add codereview.settingsJohann2018-11-071-0/+4
| | | | | | | | | | | | Allow uploading changes with 'git cl upload' Change-Id: I5c96ff42a00656978980624a863f78fb10de033b
* | Fix pair update in stochastic entropy merging.Vincent Rabaud2018-11-071-7/+15
| | | | | | | | | | | | | | | | | | | | The old code simply did not make sense. The effect is that the pair would be popped from the queue no matter what; as the queue is small, it does not matter that much on the results. But it will matter for a later CL. Change-Id: If50c9fa9d7f3ac3c48bb7336d81479287d4944c4
* | CMake: fix webp_js compilationskal2018-11-061-2/+10
| | | | | | | | | | | | | | Stick to the strict necessary for running webp_js, and avoid building sub-lib or examples with heavy dependencies. Change-Id: Ife4170a7839fb3201b2cf158d98d17bebe10008f
* | Speed-up: Make sure we only initialize histograms when needed.Vincent Rabaud2018-10-315-16/+67
| | | | | | | | | | | | | | Also, histograms in a HistogramSet can be initialized all at once. Change-Id: Ibbfa6034dce58dca8bb9113487e2ae507222ce7d
* | img2webp: add help note about arguments from a fileJames Zern2018-10-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | this was added in: 94a8377b extract the command-line parsing helpers to example_util and matches the help in webpmux https://groups.google.com/a/webmproject.org/d/msg/webp-discuss/DJs-w_-Id6o/svFXs2CqBgAJ BUG=webp:101 Change-Id: I2944d1fb1ed3030c356960be2a6c8de15a79311f
* | Speedups for empty histograms.Vincent Rabaud2018-10-203-44/+114
| | | | | | | | | | | | | | | | | | | | When histograms are empty, it is easy to add them. They should also not be considered when merging histograms (it is a waste of CPU). This does not change the compression performance, just the speed. Change-Id: I42c721ca0f9c5ea067e73b792aa3db6d5e71d01f
* | Split HistogramAdd to only have the high level logic in C.Vincent Rabaud2018-10-194-122/+72
| | | | | | | | Change-Id: Ic9eaebf7128ca0215b49d2a13bde1f5b94a28061
* | Merge "Fix compilation on windows and clang-cl+ninja."Vincent Rabaud2018-10-171-8/+20
|\ \
| * | Fix compilation on windows and clang-cl+ninja.Vincent Rabaud2018-10-161-8/+20
| | | | | | | | | | | | Change-Id: I4e468519e1bcb99da5057f3b6646b077a1e0e7f1
* | | Merge "libwebp: Unicode command tools on Windows"Yannis Guyon2018-10-1723-214/+485
|\ \ \ | |_|/ |/| |