summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "PaletteSortModifiedZeng: fix leak on error" into 1.3.01.3.0James Zern2023-03-011-0/+1
|\
| * PaletteSortModifiedZeng: fix leak on errorJames Zern2023-02-281-0/+1
| | | | | | | | | | Change-Id: I462bd9a3bc4670efdf251c295f6771a38c08a6ce (cherry picked from commit 0edbb6ea7176eca19955be701178fa70ecb497ee)
* | EncodeAlphaInternal: clear result->bw on errorJames Zern2023-02-281-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 (cherry picked from commit a486d800b60d0af4cc0836bf7ed8f21e12974129)
* 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
|\
| * */Android.mk: add a check for NDK_ROOTJames Zern2022-12-163-0/+9
| | | | | | | | | | | | | | | | This simplifies integration with the Android platform and avoids the files from being used when a non-NDK build is performed. In that case Android.bp is preferred. Change-Id: I6e334cf8b05a19da8452405f5f448f9e4b6e4a40
* | Merge "extras: WebpToSDL -> WebPToSDL" into mainJames Zern2022-12-166-8/+8
|\ \
| * | extras: WebpToSDL -> WebPToSDLJames Zern2022-12-156-8/+8
| |/ | | | | | | | | | | | | this normalizes the function case to what's more commonly used in the project Change-Id: If614cb8eff4afba96b2468e28c52d850651a759b
* | Merge "xcframeworkbuild.sh: bump MACOSX_CATALYST_MIN_VERSION" into mainJames Zern2022-12-161-1/+1
|\ \
| * | xcframeworkbuild.sh: bump MACOSX_CATALYST_MIN_VERSIONJames Zern2022-12-151-1/+1
| |/ | | | | | | | | | | | | 14.0 (-target x86_64-apple-ios14.0-macabi) is supported by default in Xcode 14.0.1. Change-Id: I05bc318fe321758c68c7be2e339d77512dd81684
* | doc/api.md,webp_js/README.md: Webp -> WebPJames Zern2022-12-152-2/+2
|/ | | | Change-Id: Ib30d008b5750d2e4064aaf478db6f5bc7aa5902e
* CMake: align .pc variables with autoconfJames Zern2022-12-141-3/+11
| | | | | | | | | | | | | Use prefix/exec_prefix for includedir/libdir if CMAKE_INSTALL_{LIBDIR,INCLUDEDIR} are relative and the CMake variable alone if they're absolute. This matches what autoconf will produce if a custom --libdir or --includedir are used. See also: https://github.com/AOMediaCodec/libavif/issues/1220 Change-Id: I6fbc016c0009ede42e1e5db3a9ee7ae9545d8da0
* webp-lossless-bitstream-spec,cosmetics: reflow paragraphsJames Zern2022-11-221-254/+230
| | | | Change-Id: Ifd7472fe0678b45efc62faa66de8e8dc2e9931e3
* webp-lossless-bitstream-spec: add amendment noteJames Zern2022-11-221-2/+6
| | | | | | | | | for fixes to the distance_map pseudo-code, the inverse color transform description and the num_code_lengths check. Bug: webp:448 Bug: webp:551 Change-Id: Id7e791b97704dd64bb9519657ce48b92cb457ae4
* Merge "webp-container-spec: normalize section title case" into mainJames Zern2022-11-221-2/+2
|\
| * webp-container-spec: normalize section title caseJames Zern2022-11-211-2/+2
| | | | | | | | | | | | | | Use 'title case' as recommended in RFC 7322 (Section 3.4 Capitalization) Bug: webp:448 Change-Id: I9762402499eb58acbe9ccb75f4f8d2b9c3e9b26b
* | lossless: SUBTRACT_GREEN -> SUBTRACT_GREEN_TRANSFORMJames Zern2022-11-215-5/+5
| | | | | | | | | | | | | | | | this makes the name of the TransformType enum value match the other members Bug: webp:448 Change-Id: I85b2f615f97b40fc6d544197cccfb7189dcf4fc0
* | webp-lossless-bitstream-spec: fix inv color txfm descriptionJames Zern2022-11-211-1/+1
| | | | | | | | | | | | | | | | | | The prose describing the process was missed in: 44dd765d webp-lossless-bitstream-spec: fix ColorTransform impl Bug: webp:448 Bug: webp:551 Change-Id: If5fb95103ffedeed113e3ad62510f3a19bfd280e
* | webp-lossless-bitstream-spec: fix num_code_lengths checkJames Zern2022-11-211-1/+1
| | | | | | | | | | | | | | | | | | in the 'Normal Code Length Code' description the number of valid code lengths is 19, not 18. Bug: webp:448 Bug: webp:551 Change-Id: Id929604e1d771cb09b2d0ac617e83f21077f21de
* | webp-lossless-bitstream-spec,cosmetics: grammar/capitalizationJames Zern2022-11-211-25/+25
|/ | | | | Bug: webp:448 Change-Id: I2d6cc66b45342716fdba7792c570510601432109
* Merge changes Ie975dbb5,Ifc8c93af,I6ca7c5d6,I2e8d66f5,I152477b8 into mainJames Zern2022-11-181-29/+31
|\ | | | | | | | | | | | | | | | | * changes: webp-lossless-bitstream-spec,cosmetics: reflow abstract webp-lossless-bitstream-spec: reword abstract re alpha webp-lossless-bitstream-spec,cosmetics: normalize range syntax webp-lossless-bitstream-spec: limit dist map lut to 69 cols webp-lossless-bitstream-spec: fix dist mapping example
| * webp-lossless-bitstream-spec,cosmetics: reflow abstractJames Zern2022-11-171-10/+9
| | | | | | | | | | Bug: webp:448 Change-Id: Ie975dbb52687c6c068b029fc8f84db8cf189523a
| * webp-lossless-bitstream-spec: reword abstract re alphaJames Zern2022-11-171-1/+1
| | | | | | | | | | | | | | | | 'zero alpha pixels' was a bit hard to parse; replace this with something more explicit Bug: webp:448 Change-Id: Ifc8c93af5520ffdafc58e3fc311dfb4cb19626e9
| * webp-lossless-bitstream-spec,cosmetics: normalize range syntaxJames Zern2022-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | [N-M], [N, M] -> [N..M] these were missed in: e74f8a62 webp-lossless-bitstream-spec,cosmetics: normalize range syntax Bug: webp:448 Change-Id: I6ca7c5d6b0473fdf3de0c6dba00b0f1e3da46a23
| * webp-lossless-bitstream-spec: limit dist map lut to 69 colsJames Zern2022-11-171-15/+18
| | | | | | | | | | | | | | | | | | | | | | this is similar to an earlier change for most of the code examples: 7a0a9935 doc/*.txt: restrict code to 69 columns some renderers may limit output to 72 and use a 3 space indent; this avoids overflowing into the margin Bug: webp:448 Change-Id: I2e8d66f598889c7bd824e911ea01fd70f98a4130
| * webp-lossless-bitstream-spec: fix dist mapping exampleJames Zern2022-11-171-3/+3
| | | | | | | | | | | | | | | | | | The distance code read from the bitstream is reduced by 1 before doing the lookup. The prose describing the lookup was correct, the pseudocode failed to subtract 1 and used x/y instead of xi/yi from the lookup. Bug: webp:448 Change-Id: I152477b888c26a0473a35373d3d331fddd14237f
* | webp-container-spec,cosmetics: grammar/capitalizationJames Zern2022-11-171-6/+6
| | | | | | | | | | Bug: webp:448 Change-Id: I8b5e218df95436b6b8b2ecc751c70015d46fe7a0
* | webp-container-spec,cosmetics: normalize range syntaxJames Zern2022-11-171-2/+2
|/ | | | | | | | | | this makes the syntax in this document consistent with webp-lossless-bitstream-spec.txt [N-M] -> [N..M] Bug: webp:448 Change-Id: Iebf39eefb7d3c081a3d10e2804ee215c3aed6b79
* pnmdec.c: use snprintf instead of sprintfJames Zern2022-11-151-1/+6
| | | | | | this is consistent with the rest of the example code Change-Id: Id4c02e16be84fbe21ddc74c9049d8cbda2d875a8
* sharpyuv: add SharpYuvGetVersion()James Zern2022-10-288-9/+25
| | | | Change-Id: Ic7e93c7c3ec33b8ab0105a6e81b76a7869422b55
* SharpYuvConvert: fix a race on SharpYuvGetCPUInfoJames Zern2022-10-271-2/+7
| | | | | | | | Rather than make a copy, requiring an additional lock/unlock only to set the pointer to itself, pass the address of SharpYuvGetCPUInfo and use it as a sentinel to avoid updating the pointer. Change-Id: I22fb467f1659c16805c0d3bc7aaeba6a1bb16dbb
* sharpyuv_dsp.h: restore sharpyuv_cpu.h includeJames Zern2022-10-261-0/+1
| | | | | | | | | | this was removed in: 979c0ebb sharpyuv: add SharpYuvGetCPUInfo but currently, consumers of sharpyuv_dsp.h depend on the presence of WEBP_USE_* Change-Id: I9524aa5ab767a1b46770022220372455a86f198f
* Merge changes Id72fbf3b,Ic59d23a2 into mainJames Zern2022-10-2612-30/+74
|\ | | | | | | | | | | * changes: sharpyuv: add SharpYuvGetCPUInfo cpu.c,cosmetics: fix a typo
| * sharpyuv: add SharpYuvGetCPUInfoJames Zern2022-10-2611-29/+73
| | | | | | | | | | | | | | | | | | This gives a similar structure to libwebp and fixes a bug where passing NULL to SharpYuvInit() would unconditionally set optimized function pointers. SharpYuvInit() is left as an undocumented public function and SharpYuvGetCPUInfo is kept private to serialize updates to the pointer. Change-Id: Id72fbf3ba5b396367510e3bcd1ee2e4e11b95b8c
| * cpu.c,cosmetics: fix a typoJames Zern2022-10-251-1/+1
| | | | | | | | | | | | VP8DecGetCPUInfo -> VP8GetCPUInfo Change-Id: Ic59d23a2964a881b853db62b3617117bf10ec66d
* | Merge "*.pc.in: rename lib_prefix to webp_libname_prefix" into mainJames Zern2022-10-267-11/+11
|\ \ | |/ |/|
| * *.pc.in: rename lib_prefix to webp_libname_prefixJames Zern2022-10-247-11/+11
| | | | | | | | | | | | | | this will help avoid any future conflicts with the more generic autoconf type name Change-Id: I0311e03a11a541118025c7dbe8309365f6efa847
* | sharpyuv/Makefile.am+cmake: add missing -lmJames Zern2022-10-253-1/+4
|/ | | | | | this lib uses functions from math.h Change-Id: I316f058c9e42e4888cce0d380472518a77e21517
* configure.ac: export an empty lib_prefix variableJames Zern2022-10-241-0/+2
| | | | | | | this fixes the pkg-config files after: 2498209b *.pc.in: add lib prefix to lib names w/MSVC Change-Id: I1c932103da175ca50826a8801796f0f6ee5ef583
* Merge "*.pc.in: add lib prefix to lib names w/MSVC" into mainJames Zern2022-10-206-8/+10
|\
| * *.pc.in: add lib prefix to lib names w/MSVCJames Zern2022-10-176-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this fixes the library names output after: 9ac25bcb3 CMakeLists.txt,win32: match naming convention used by nmake before this change: pkg-config --libs --msvc-syntax \ libwebp libwebpdemux libwebpmux libsharpyuv libwebpdecoder /libpath:.../lib webpdemux.lib webpmux.lib webp.lib sharpyuv.lib webpdecoder.lib after: pkg-config --libs --msvc-syntax \ libwebp libwebpdemux libwebpmux libsharpyuv libwebpdecoder /libpath:.../lib libwebpdemux.lib libwebpmux.lib libwebp.lib libsharpyuv.lib libwebpdecoder.lib Bug: webp:584 Change-Id: Ic3693b58a40e0ba683333065003b1c00aab0cf48 Fixed: webp:584
* | Merge "analysis_enc.c: fix a dead store warning" into mainJames Zern2022-10-171-2/+6
|\ \ | |/ |/|
| * analysis_enc.c: fix a dead store warningJames Zern2022-10-141-2/+6
| | | | | | | | | | | | | | | | | | | | when threading is disabled; fixes: src/enc/analysis_enc.c:429:15: warning: Value stored to 'split_row' during its initialization is never read [deadcode.DeadStores] const int split_row = (9 * last_row + 15) >> 4; ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ Change-Id: I2b02173bb8c930ed54360cce5c7b88ecce098d83
* | Merge "webp-lossless-bitstream-spec: convert BNF to ABNF" into mainJames Zern2022-10-151-40/+53
|\ \ | |/ |/|
| * webp-lossless-bitstream-spec: convert BNF to ABNFJames Zern2022-10-121-40/+53
| | | | | | | | | | | | | | | | | | this has a better canonical reference [1] and is preferred in IETF docs [1] https://www.rfc-editor.org/rfc/rfc5234 Bug: webp:448 Change-Id: I3f0bd34d3ca4c62b255d5d6cbae0c55e2940dfb5
* | Merge changes I96bc063c,I45880467,If9e18e5a,I6ee938e4,I0a410b28, ... into mainJames Zern2022-10-142-47/+68
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: webp-container-spec: add prose for rendering process webp-container-spec: note reserved fields MUST be ignored webp-lossless-bitstream-spec: improve 'small' color table stmt webp-container-spec: remove redundant sentence doc/webp-*: fix some punctuation, grammar webp-container-spec: clarify background color note webp-container-spec: come too late -> out of order webp-container-spec: prefer hex literals webp-container-spec: change SHOULD to MUST w/ANIM chunk webp-container-spec: add unknown fields MUST be ignored webp-container-spec: make padding byte=0 a MUST webp-container-spec: update note on trailing data webp-container-spec: clarify Chunk Size is in bytes
| * | webp-container-spec: add prose for rendering processJames Zern2022-10-131-7/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is given in addition to the pseudocode, which has been corrected in the process based on comments in: https://datatracker.ietf.org/doc/draft-zern-webp/ballot/#draft-zern-webp_lars-eggert Bug: webp:448 Change-Id: I96bc063c2a71572ff61609a731a9c4e8edc2b971