summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* WebPConfig.cmake.in: use calculated include pathHEADmainJames Zern2023-05-162-2/+5
| | | | | | | | | | | | | when setting WebP_INCLUDE_DIRS; this value is relative to the WebPConfig.cmake install location (${PACKAGE_PREFIX_DIR}/include) and allows the install to be relocated after creation. See also: https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html#example-generating-package-files Bug: webp:610 Change-Id: If877625e96584a9808b0bba902e3f0b2a744aa60 Fixed: webp:610
* Merge "webp-lossless-bitstream-spec: remove use of 'dynamics'" into mainJames Zern2023-05-161-6/+5
|\
| * webp-lossless-bitstream-spec: remove use of 'dynamics'James Zern2023-05-121-6/+5
| | | | | | | | | | | | when bit width or precision are meant. Change-Id: I89c2279e99b02c3e8a3bf39860364d2ce6d909c8
* | Merge "Specialize and optimize ITransform_SSE2 using do_two" into mainJames Zern2023-05-161-55/+187
|\ \
| * | Specialize and optimize ITransform_SSE2 using do_twoNozomi Isozaki2023-05-161-55/+187
| |/ | | | | | | Change-Id: I976eb4a0cc4e669a02b55012d4aba1536f193781
* | Compare kFuzzPxLimit to max_num_operationsYannis Guyon2023-05-161-4/+7
|/ | | | | | | To avoid timeouts caused by extreme rescaling such as 1x14339 -> 51712x1 Change-Id: I291d8e3b24155c190256411a506b7312abde8c45
* neon.h,cosmetics: clear a couple lint warningsJames Zern2023-05-021-2/+2
| | | | | | Missing space after , [whitespace/comma] [3] Change-Id: Ib8fc05c31cbef5318a752e98ab5106dad55d69e9
* cpu.h,cosmetics: segment definesJames Zern2023-05-021-0/+13
| | | | Change-Id: Idc6dcd31e95de1c89b2a35b4c67fa66b92fe1a60
* cpu.h: add WEBP_AARCH64James Zern2023-05-0211-16/+24
| | | | | | | | | | and define it to true for __aarch64__ and Win Arm64 + Visual Studio. Microsoft's compiler (cl.exe) does not define __aarch64__, but relies on _M_ARM64 & _M_ARM64EC Bug: b/277254922 Change-Id: I20e4fa07a4031599db69e3d7ba9050345315ef51
* move VP8GetCPUInfo declaration to cpu.cJames Zern2023-04-2718-9/+27
| | | | | | | | | | | | | | This avoids defining a version in each translation unit when using __declspec(dllexport) which causes failures due to multiply defined symbols with clang-cl: lld-link: error: duplicate symbol: VP8GetCPUInfo >>> defined at CMakeFiles\webpdecode.dir\Debug\src\dec\alpha_dec.c.obj >>> defined at CMakeFiles\webpdsp.dir\Debug\src\dsp\dec_sse41.c.obj ... Bug: webp:607 Change-Id: I6cd1ee75b3db984aa513263a05516e867a64925d
* Make kFuzzPxLimit sanitizer dependentYannis Guyon2023-04-252-2/+13
| | | | Change-Id: Ib70f3c05fc845494c45cb357e70e9602a7e876a3
* advanced_api_fuzzer: reduce scaling limitJames Zern2023-04-181-1/+1
| | | | | | avoids another timeout while fuzzing with ASan Change-Id: Ic5dfed15347bdd36f42274b8b2a25aec79fd568c
* Merge "webp-lossless-bitstream-spec: add missing bits to ABNF" into mainJames Zern2023-04-131-4/+7
|\
| * webp-lossless-bitstream-spec: add missing bits to ABNFJames Zern2023-04-131-4/+7
| | | | | | | | | | | | | | | | alpha-is-used and the version number were missing before 'image-stream' spotted by thakis@ Change-Id: I7a4f1d2e0f0962bb1a79a0400c229738159d88a5
* | advanced_api_fuzzer: reduce scaling limitJames Zern2023-04-111-1/+1
|/ | | | | | avoids another timeout while fuzzing with ASan Change-Id: Icf7209f3f93b894684ac7364864e4568b6b2c057
* Merge "deps.cmake: remove unneeded header checks" into mainJames Zern2023-04-112-53/+0
|\
| * deps.cmake: remove unneeded header checksJames Zern2023-04-112-53/+0
| | | | | | | | | | | | | | | | These were picked up when matching autoconf's default checks and aren't useful except to compare the generated config.h. Removing them speeds up cmake, especially on windows where creating new processes is slow. Change-Id: Ie891aad0a809af16357168d2ff7fd65922ee4011
* | webp-lossless-bitstream-spec: condense normal-prefix-codeJames Zern2023-04-101-2/+1
| | | | | | | | | | | | | | | | | | | | Have this match simple-prefix-code and redirect to "Normal Code Length Code" as the added indirection to 'code-length-code' and the undefined 'encoded-code-lengths' doesn't add much. spotted by thakis@ Change-Id: Icd6b64a47c4e0001e93271d9ae5585be4a6d5906
* | webp-lossless-bitstream-spec: fix 2 code typosJames Zern2023-04-101-2/+2
|/ | | | | | | | | | - add missing '(' in DIV_ROUND_UP - in 6.2.2, rename 'pos' variable reference to match definition ('position') spotted by thakis@ Change-Id: Ida3ed281c2c753ebbb0e1eb3c4ed04dadc79ca24
* Merge "cpu.h: enable NEON w/_M_ARM64EC" into mainJames Zern2023-04-071-2/+3
|\
| * cpu.h: enable NEON w/_M_ARM64ECJames Zern2023-04-061-2/+3
| | | | | | | | | | | | | | | | | | The Arm64EC (Emulation Compatible) ABI was added for Windows 11 [1]. [1] https://learn.microsoft.com/en-us/windows/arm/arm64ec Bug: b/277254922 Change-Id: I3767e1b3db61fa9c33eef7a9ed7abee7c502e36f
* | Add contribution instructionsYannis Guyon2023-04-071-1/+38
|/ | | | Change-Id: Icc58ef6c1e79e59977e0093973ad353237560e8e
* Merge changes Ibd89e56b,Ic57e7f84,I89096614 into mainJames Zern2023-03-251-1/+1
|\ | | | | | | | | | | | | * changes: advanced_api_fuzzer: reduce scaling limit Skip slow scaling in libwebp advanced_api_fuzzer Reduce libwebp advanced_api_fuzzer threshold
| * advanced_api_fuzzer: reduce scaling limitJames Zern2023-03-241-1/+1
| | | | | | | | | | | | avoids another timeout while fuzzing with ASan Change-Id: Ibd89e56bf936aeea040cd4c47ccae20960417ac0
| * Skip slow scaling in libwebp advanced_api_fuzzeryguyon@google.com2023-03-241-1/+1
| | | | | | | | Change-Id: Ic57e7f8418afec42f042197a401aaf4cc047b23f
| * Reduce libwebp advanced_api_fuzzer thresholdyguyon@google.com2023-03-241-1/+1
| | | | | | | | | | | | To avoid timeouts. Change-Id: I8909661479cdbcb940bb44c6f9130906cab3f271
* | upsampling_neon.c: fix WEBP_SWAP_16BIT_CSP checkJames Zern2023-03-241-1/+1
|/ | | | | | | | | | this is always defined by default to 0 since: v0.6.0-158-g663a6d9d unify the ALTERNATE_CODE flag usage previously the !defined() check would cause a mismatch between C and assembly. Change-Id: Idca0b8e39ca90d63785fd4125aeb7af86c5aae61
* Merge changes Ic389aaa2,I329ccd79 into mainJames Zern2023-03-204-12/+11
|\ | | | | | | | | | | * changes: img2webp: normalize help output cwebp: reflow -near_lossless help text
| * img2webp: normalize help outputJames Zern2023-03-173-7/+7
| | | | | | | | | | | | | | this makes the output from img2webp and the ordering in doc/tools.md and man/img2webp.1 consistent Change-Id: Ic389aaa29c20128f2b87f231be383094602f125b
| * cwebp: reflow -near_lossless help textJames Zern2023-03-172-5/+4
| | | | | | | | | | | | | | this matches the output from img2webp added in: 0825faa4 img2webp: add -sharp_yuv/-near_lossless Change-Id: I329ccd796d7e9bee36de1429fceafe83d7dc5532
* | Makefile.vc: fix img2webp link w/dynamic cfgJames Zern2023-03-181-1/+1
|/ | | | | | | add a dependency on libsharpyuv, which is needed after: 0825faa4c img2webp: add -sharp_yuv/-near_lossless Change-Id: I2471549aa85a4ead6e00d6c459d9774ea4254eaa
* img2webp: add -sharp_yuv/-near_losslessjzern@google.com2023-03-175-3/+34
| | | | | | | | Both are global settings. Modifying them at the frame level is left as a follow up based on need. Bug: b/272739498 Change-Id: If15256c052f73fe3df56be5e0095e76d9870cc0f
* Merge "PaletteSortModifiedZeng: fix leak on error" into mainJames Zern2023-02-281-0/+1
|\
| * PaletteSortModifiedZeng: fix leak on errorJames Zern2023-02-231-0/+1
| | | | | | | | Change-Id: I462bd9a3bc4670efdf251c295f6771a38c08a6ce
* | Merge "EncodeAlphaInternal: clear result->bw on error" into mainJames Zern2023-02-281-1/+3
|\ \ | |/ |/|
| * EncodeAlphaInternal: clear result->bw on errorJames Zern2023-02-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids a double free should the function fail prior to VP8BitWriterInit() and a previous trial result's buffer carried over. Previously in ApplyFiltersAndEncode() trial.bw (with a previous iteration's buffer) would be freed, followed by best.bw pointing to the same buffer. Since: 187d379d add a fallback to ALPHA_NO_COMPRESSION In addition, check the return value of VP8BitWriterInit() in this function. Bug: webp:603 Change-Id: Ic258381ee26c8c16bc211d157c8153831c8c6910
* | Merge "Update yapf style from "chromium" to "yapf"" into mainJames Zern2023-02-241-1/+1
|\ \ | |/ |/|
| * Update yapf style from "chromium" to "yapf"Thiago Perrotta2023-02-231-1/+1
| | | | | | | | | | | | | | yapf v0.30.0 renamed "chromium" style to "yapf". Bug: chromium:1306598 Change-Id: I2a637d2c5d64f81ba411b1c0d07339ad7480bd66
* | Skip big scaled advanced_api_fuzzerYannis Guyon2023-02-081-5/+16
| | | | | | | | | | | | To avoid timeouts. Change-Id: I8f04fd45313bef47004a616d2460be992692030d
* | Fix scaling limit in advanced_api_fuzzer.cYannis Guyon2023-02-071-5/+11
| | | | | | | | | | | | | | config.options.scaled_width or config.options.scaled_height being 0 means a ratio-conservative scaling so 7361842 was not enough. Change-Id: Ib75241eb683cf824bc46222c5c07535b6c6d7313
* | Limit scaling in libwebp advanced_api_fuzzer.cYannis Guyon2023-01-271-3/+8
| | | | | | | | Change-Id: Ic1e3fdc76f4bdcb1ac68cf4f9334d2e77ca29374
* | Merge "CMakeLists.txt: allow CMAKE_INSTALL_RPATH to be set empty" into mainJames Zern2023-01-181-1/+1
|\ \
| * | CMakeLists.txt: allow CMAKE_INSTALL_RPATH to be set emptyJames Zern2023-01-171-1/+1
| |/ | | | | | | | | | | | | | | | | this allows the user to override the default non-empty value added in: b4994eaa CMake: set rpath for shared objects Bug: webp:592 Change-Id: I069dcbcd8c2f1e8654d9bc98149139f398ac2c93 Fixed: webp:592
* | libwebp{,demux,mux}.pc.in: Requires -> Requires.privateJames Zern2023-01-173-3/+3
|/ | | | | | | | | | | | | | The libraries don't expose the symbols in libsharpyuv / libwebp, they're only needed when static linking. Noted for libwebp (Requires: libsharpyuv) in: https://crbug.com/webp/590#c5. libwebpdemux and libwebpmux had a similar issue with libwebp. See also: https://web.archive.org/web/20190921014607/https://wiki.openmandriva.org/en/Overlinking_issues_in_packaging Change-Id: Ia1866b6b44cbb1ef1a77fd45fbcf10c027eae788
* Merge tag 'v1.3.0'James Zern2023-01-1217-32/+183
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libwebp-1.3.0 - 12/16/2022: version 1.3.0 This is a binary compatible release. * add libsharpyuv, which exposes -sharp_yuv/config.use_sharp_yuv functionality to other libraries; libwebp now depends on this library * major updates to the container and lossless bitstream docs (#448, #546, #551) * miscellaneous warning, bug & build fixes (#576, #583, #584) * tag 'v1.3.0': update ChangeLog update NEWS bump version to 1.3.0 update AUTHORS Bug: webp:590 Bug: b/262806895 Change-Id: I4bc5cfb0708fab3569dc567d22bfdbcb5ff2a1ad
| * update ChangeLogv1.3.0-rc1v1.3.0James Zern2022-12-191-0/+141
| | | | | | | | Change-Id: If794cc65c0813fbff7f5e0ecbd519d5387beb16d
| * update NEWSJames Zern2022-12-161-0/+8
| | | | | | | | | | Bug: webp:590 Change-Id: I877bda2d177bd371cd2a43974200c66cf5fa8a10
| * bump version to 1.3.0James Zern2022-12-1614-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libwebp{,decoder} - 1.3.0 libwebp libtool - 8.6.1 libwebpdecoder libtool - 4.6.1 mux - 1.3.0 libtool - 3.11.0 demux - 1.3.0 libtool - 2.12.0 sharpyuv - 0.2.0 (unchanged, first release) libtool - 0.0.0 (ditto) Bug: webp:590 Change-Id: Ibf3ed56af87667c30650d8dd60eb0ff3bdcb6749
| * update AUTHORSJames Zern2022-12-161-0/+2
|/ | | | | Bug: webp:590 Change-Id: I5f18987cd56f5efd47fe901b097669346c698446
* Merge "*/Android.mk: add a check for NDK_ROOT" into mainJames Zern2022-12-163-0/+9
|\