Skip to content

Commit 5ffe98e

Browse files
committed
Squashed 'libwebp_src/' changes from ca332209c..845d5476a
845d5476a update ChangeLog 8a6a55bba update NEWS cf7c5a5de provide a way to opt-out/override WEBP_NODISCARD cc34288aa update ChangeLog f13c08868 NEWS: fix date 745559507 Merge "vwebp: fix window title when options are given" into 1.4.0 d781646c2 vwebp: fix window title when options are given c2e394de9 update NEWS f6d15cb74 bump version to 1.4.0 57c388b8f update AUTHORS b3d1b2cbf Merge changes I26f4aa22,I83386b6c,I320ed1a2 into main 07216886a webp-container-spec: fix VP8 chunk ref ('VP8'->'VP8 ') f88666eb4 webp_js/*.html: fix canvas mapping e2c8f233e cmake,wasm: simplify SDL2 related flags d537cd370 cmake: fix vwebp_sdl compile w/libsdl-org release 6c484cbf9 CMakeLists.txt: add missing WEBP_BUILD_EXTRAS check 7b0bc2352 man/cwebp.1: add more detail to -partition_limit 3c0011bbd WebPMuxGetChunk: add an assert 955a3d14a Merge "muxread,MuxGet: add an assert" into main 00abc0007 muxread,MuxGet: add an assert 40e85a0b5 Have the window title reflect the filename. 1bf46358c man/cwebp.1: clarify -pass > 1 behavior w/o -size/-psnr eba03acb0 webp-container-spec: replace 'above' with 'earlier' a16d30cb5 webp-container-spec: clarify chunk order requirements 8a7e91123 Merge "CMakeLists.txt: apply cmake-format" into main 7fac6c1bf Merge "Copy C code to not have multiplication overflow" into main e2922e439 Merge "Check for the presence of the ANDROID_ABI variable" into main 501d9274a Copy C code to not have multiplication overflow fba7d62ee CMakeLists.txt: apply cmake-format 661c1b664 Merge "windows exports: use dllexport attribute, instead of visibility." into main 8487860a8 windows exports: use dllexport attribute, instead of visibility. 8ea678b99 webp/mux.h: data lifetime note w/copy_data=0 79e05c7f9 Check for the presence of the ANDROID_ABI variable 45f995a37 Expose functions for managing non-image chunks on WebPAnimEncoder 1fb9f3dcf gifdec: fix ErrorGIFNotAvailable() declaration 4723db65b cosmetics: s/SANITY_CHECK/DCHECK/ f4b9bc9ea clear -Wextra-semi-stmt warnings 713982b88 Limit animdecoder_fuzzer to 320MB cbe825e4c cmake: fix sharpyuv simd files' build f99305e9e Makefile.vc: add ARM64 support 5efd6300d mv SharpYuvEstimate420Risk to extras/ e78e924f8 Makefile.vc: add sharpyuv_risk_table.obj d7a0506dc Add YUV420 riskiness metric. 89c5b9174 Merge "BuildHuffmanTable check sorted[] array bounds before writing" into main 34c807491 Remove alpha encoding pessimization. 13d9c30b2 Add a WEBP_NODISCARD 24d7f9cb6 Switch code to SDL2. 0b56dedc9 BuildHuffmanTable check sorted[] array bounds before writing a429c0de6 sharpyuv: convert some for() to do/while f0cd78612 DoSharpArgbToYuv: remove constant from loop 339231cc3 SharpYuvConvertWithOptions,cosmetics: fix formatting 307071f14 Remove medium/large code model-specific inline asm deadc339d Fix transfer functions where toGamma and toLinear are swapped. e7b78d437 Merge "Fix bug in FromLinearLog100." into main 15a1309ef Merge "webp-lossless-bitstream-spec: delete extra blank line" into main 54ca97524 Fix bug in FromLinearLog100. d2cb2d8cf Dereference after NULL check. e9d501071 webp-lossless-bitstream-spec: delete extra blank line 786579711 Merge changes Ief442c90,Ie6e9c9a5 into main e30a58845 webp-lossless-bitstream-spec: update variable names 09ca13680 Merge "webp-container-spec: change assert to MUST be TRUE" into main 38cb4fc0e iosbuild,xcframeworkbuild: add SharpYuv framework 40afa9269 webp-lossless-bitstream-spec: simplify abstract 9db21143d webp-container-spec: change assert to MUST be TRUE cdbf88aed Fix typo in API docs for incremental decoding 05c469843 Reformat vcpkg build instructions. 8534f5396 Merge "Never send VP8_STATUS_SUSPENDED back in non-incremental." into main 35e197bdb Never send VP8_STATUS_SUSPENDED back in non-incremental. 61441425f Add vcpkg installation instructions dce8397fe Fix next is invalid pointer when WebPSafeMalloc fails 57c58105f Cmake: wrong public macro WEBP_INCLUDE_DIRS c1ffd9ac7 Merge "vp8l_enc: fix non-C90 code" into main a3965948e Merge changes If628bb93,Ic79f6309,I45f0db23 into main f80e9b7e4 vp8l_enc: fix non-C90 code accd141da Update lossless spec for two simple codes. ac17ffffc Fix non-C90 code. 433c7dca1 Fix static analyzer warnings. 5fac76cf8 Merge tag 'v1.3.2' a35ea50de Add a fuzzer for ReadHuffmanCodes 95ea5226c Fix invalid incremental decoding check. 902bc9190 Fix OOB write in BuildHuffmanTable. 7ba44f80f Homogenize "__asm__ volatile" vs "asm volatile" 68e271354 webp-container-spec: reorder example chunk layout 943b932a7 Merge changes I6a4d0a04,Ibc37b91e into main 1cc94f952 decode.h: wrap idec example in /* */ 63acdd1e0 decode.h: fix decode example aac5c5d0d ReadHuffmanCode: rm redundant num code lengths check a2de25f6b webp-lossless-bitstream-spec: normalize list item case 68820f0e5 webp-lossless-bitstream-spec: normalize pixel ref cdb31aa80 webp-lossless-bitstream-spec: add missing periods 0535a8cf8 webp-lossless-bitstream-spec: fix grammar b6c4ce263 normalize numbered list item format dd7364c3c Merge "palette.c: fix msvc warnings" into main c63c5df61 palette.c: fix msvc warnings 0a2cad511 webp-container-spec: move terms from intro section dd88d2ff3 webp-lossless-bitstream-spec: color_cache -> color cache 6e7505473 Merge changes I644d7d39,Icf05491e,Ic02e6652,I63b11258 into main 67a7cc2b0 webp-lossless-bitstream-spec: fix code blocks 1432ebbad Refactor palette sorting computation. cd436142f webp-lossless-bitstream-spec: block -> chunk 3cb66f64b webp-lossless-bitstream-spec: add some missing commas 56471a53c webp-lossless-bitstream-spec: normalize item text in 5.1 af7fbfd2d vp8l_dec,ReadTransform: improve error status reporting 7d8e0896e vp8l_dec: add VP8LSetError() a71ce1cf7 animencoder_fuzzer: fix error check w/Nallocfuzz e94b36d66 webp-lossless-bitstream-spec: relocate details from 5.1 84628e561 webp-lossless-bitstream-spec: clarify image width changes ee7229979 alpha_dec: add missing VP8SetError() 0081693d6 enc_dec_fuzzer: use WebPDecode() 0fcb311cf enc_dec_fuzzer: fix WebPEncode/pic.error_code check 982c177c8 webp-lossless-bitstream-spec: fix struct member refs 56cf56257 webp-lossless-bitstream-spec: use RFC 7405 for ABNF 6c6b3fd31 webp-lossless-bitstream-spec,cosmetics: delete blank lines 29b9eb151 Merge changes Id56ca4fd,I662bd1d7 into main 47c0af8da ReadHuffmanCodes: rm max_alphabet_size calc b92deba35 animencoder_fuzzer: no WebPAnimEncoderAssemble check w/nallocfuzz 6be9bf8ba animencoder_fuzzer: fix leak on alloc failure 5c965e55d vp8l_dec,cosmetics: add some /*param=*/ comments e4fc2f78c webp-lossless-bitstream-spec: add validity note for max_symbol 71916726b webp-lossless-bitstream-spec: fix max_symbol definition eac3bd5c5 Have the palette code be in its own file. e2c85878f Add an initializer for the SharpYuvOptions struct. 4222b0067 Merge tag 'v1.3.1' 25d94f473 Implement more transfer functions in libsharpyuv 2153a6797 Merge changes Id0300937,I5dba5ccf,I57bb68e0,I2dba7b4e,I172aca36, ... into main 4298e9765 webp-lossless-bitstream-spec: add PredictorTransformOutput cd7e02bec webp-lossless-bitstream-spec: fix RIFF-header ABNF 6c3845f9e webp-lossless-bitstream-spec: split LZ77 Backward Ref section 7f1b6799d webp-lossless-bitstream-spec: split Meta Prefix Codes section 7b634d8f0 webp-lossless-bitstream-spec: note transform order 6d6d4915c webp-lossless-bitstream-spec: update transformations text 6b1c722a5 lossless_common.h,cosmetics: fix a typo 08d60d600 webp-lossless-bitstream-spec: split code length section 7a12afcc5 webp-lossless-bitstream-spec: rm unused anchor 14a9dbfba webp-lossless-bitstream-spec: refine single node text 64819c7cf Implement ExtractGreen_SSE2 fe80fbbd6 webp-container-spec: add some missing commas e8ed31760 Merge "treat FILTER_NONE as a regular Unfilter[] call" into main 03a7a0489 webp-lossless-bitstream-spec: rm redundant statement c437c7aac webp-lossless-bitstream-spec: mv up prefix code group def e4f17a31a webp-lossless-bitstream-spec: fix section reference e2ecd5e93 webp-lossless-bitstream-spec: clarify ABNF syntax 8b55425a5 webp-lossless-bitstream-spec: refine pixel copy text 29c9f2d41 webp-lossless-bitstream-spec: minor wording updates 6b02f6601 treat FILTER_NONE as a regular Unfilter[] call 7f75c91ce webp-container-spec: fix location of informative msg f6499943c webp-container-spec: consistently quote FourCCs 49918af32 webp-container-spec: minor wording updates 46bc4fc9d Merge "Switch ExtraCost to ints and implement it in SSE." into main 828b4ce06 Switch ExtraCost to ints and implement it in SSE. git-subtree-dir: libwebp_src git-subtree-split: 845d5476a866141ba35ac133f856fa62f0b7445f
1 parent d05b4b9 commit 5ffe98e

File tree

124 files changed

+9508
-1821
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+9508
-1821
lines changed

‎AUTHORS‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Contributors:
22
- Aidan O'Loan (aidanol at gmail dot com)
33
- Alan Browning (browning at google dot com)
44
- Alexandru Ardelean (ardeleanalex at gmail dot com)
5+
- Anuraag Agrawal (anuraaga at gmail dot com)
6+
- Arthur Eubanks (aeubanks at google dot com)
57
- Brian Ledger (brianpl at google dot com)
68
- Charles Munger (clm at google dot com)
79
- Cheng Yi (cyi at google dot com)
@@ -19,6 +21,8 @@ Contributors:
1921
- Jehan (jehan at girinstud dot io)
2022
- Jeremy Maitin-Shepard (jbms at google dot com)
2123
- Johann Koenig (johann dot koenig at duck dot com)
24+
- Jonathan Grant (jgrantinfotech at gmail dot com)
25+
- Jonliu1993 (13720414433 at 163 dot com)
2226
- Jovan Zelincevic (jovan dot zelincevic at imgtec dot com)
2327
- Jyrki Alakuijala (jyrki at google dot com)
2428
- Konstantin Ivlev (tomskside at gmail dot com)
@@ -28,13 +32,16 @@ Contributors:
2832
- Marcin Kowalczyk (qrczak at google dot com)
2933
- Martin Olsson (mnemo at minimum dot se)
3034
- Maryla Ustarroz-Calonge (maryla at google dot com)
35+
- Masahiro Hanada (hanada at atmark-techno dot com)
3136
- Mikołaj Zalewski (mikolajz at google dot com)
3237
- Mislav Bradac (mislavm at google dot com)
38+
- natewood (natewood at fb dot com)
3339
- Nico Weber (thakis at chromium dot org)
3440
- Noel Chromium (noel at chromium dot org)
3541
- Nozomi Isozaki (nontan at pixiv dot co dot jp)
3642
- Oliver Wolff (oliver dot wolff at qt dot io)
3743
- Owen Rodley (orodley at google dot com)
44+
- Ozkan Sezer (sezeroz at gmail dot com)
3845
- Parag Salasakar (img dot mips1 at gmail dot com)
3946
- Pascal Massimino (pascal dot massimino at gmail dot com)
4047
- Paweł Hajdan, Jr (phajdan dot jr at chromium dot org)

‎Android.mk‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ utils_dec_srcs := \
164164
src/utils/color_cache_utils.c \
165165
src/utils/filters_utils.c \
166166
src/utils/huffman_utils.c \
167+
src/utils/palette.c \
167168
src/utils/quant_levels_dec_utils.c \
168169
src/utils/random_utils.c \
169170
src/utils/rescaler_utils.c \

‎CMakeLists.txt‎

Lines changed: 58 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ option(WEBP_ENABLE_SWAP_16BIT_CSP "Enable byte swap for 16 bit colorspaces."
5151
OFF)
5252
set(WEBP_BITTRACE "0" CACHE STRING "Bit trace mode (0=none, 1=bit, 2=bytes)")
5353
set_property(CACHE WEBP_BITTRACE PROPERTY STRINGS 0 1 2)
54+
option(WEBP_ENABLE_WUNUSED_RESULT "Add [[nodiscard]] to some functions. \
55+
CMake must be at least 3.21 to force C23" OFF)
5456

5557
if(WEBP_LINK_STATIC)
5658
if(WIN32)
@@ -133,7 +135,7 @@ if(WEBP_UNICODE)
133135
add_definitions(-DUNICODE -D_UNICODE)
134136
endif()
135137

136-
if(MSVC AND BUILD_SHARED_LIBS)
138+
if(WIN32 AND BUILD_SHARED_LIBS)
137139
add_definitions(-DWEBP_DLL)
138140
endif()
139141

@@ -161,7 +163,20 @@ if(MSVC)
161163
set(CMAKE_STATIC_LIBRARY_PREFIX "${webp_libname_prefix}")
162164
endif()
163165

164-
set(CMAKE_C_VISIBILITY_PRESET hidden)
166+
if(NOT WIN32)
167+
set(CMAKE_C_VISIBILITY_PRESET hidden)
168+
endif()
169+
170+
if(WEBP_ENABLE_WUNUSED_RESULT)
171+
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.21.0)
172+
set(CMAKE_C_STANDARD 23)
173+
else()
174+
unset(CMAKE_C_STANDARD)
175+
add_compile_options($<$<COMPILE_LANGUAGE:C>:-std=gnu2x>)
176+
endif()
177+
add_compile_options(-Wunused-result)
178+
add_definitions(-DWEBP_ENABLE_NODISCARD=1)
179+
endif()
165180

166181
# ##############################################################################
167182
# Android only.
@@ -463,6 +478,7 @@ endif()
463478
if(WEBP_BUILD_ANIM_UTILS
464479
OR WEBP_BUILD_CWEBP
465480
OR WEBP_BUILD_DWEBP
481+
OR WEBP_BUILD_EXTRAS
466482
OR WEBP_BUILD_GIF2WEBP
467483
OR WEBP_BUILD_IMG2WEBP
468484
OR WEBP_BUILD_VWEBP
@@ -499,6 +515,8 @@ if(WEBP_BUILD_ANIM_UTILS
499515
TARGET exampleutil imageioutil imagedec imageenc
500516
PROPERTY INCLUDE_DIRECTORIES ${CMAKE_CURRENT_SOURCE_DIR}/src
501517
${CMAKE_CURRENT_BINARY_DIR}/src)
518+
target_include_directories(imagedec PRIVATE ${WEBP_DEP_IMG_INCLUDE_DIRS})
519+
target_include_directories(imageenc PRIVATE ${WEBP_DEP_IMG_INCLUDE_DIRS})
502520
endif()
503521

504522
if(WEBP_BUILD_DWEBP)
@@ -638,15 +656,30 @@ if(WEBP_BUILD_EXTRAS)
638656
${CMAKE_CURRENT_BINARY_DIR})
639657

640658
# vwebp_sdl
641-
find_package(SDL)
642-
if(WEBP_BUILD_VWEBP AND SDL_FOUND)
659+
find_package(SDL2 QUIET)
660+
if(WEBP_BUILD_VWEBP AND SDL2_FOUND)
643661
add_executable(vwebp_sdl ${VWEBP_SDL_SRCS})
644-
target_link_libraries(vwebp_sdl ${SDL_LIBRARY} imageioutil webp)
662+
target_link_libraries(vwebp_sdl ${SDL2_LIBRARIES} imageioutil webp)
645663
target_include_directories(
646664
vwebp_sdl PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}
647-
${CMAKE_CURRENT_BINARY_DIR}/src ${SDL_INCLUDE_DIR})
665+
${CMAKE_CURRENT_BINARY_DIR}/src ${SDL2_INCLUDE_DIRS})
648666
set(WEBP_HAVE_SDL 1)
649667
target_compile_definitions(vwebp_sdl PUBLIC WEBP_HAVE_SDL)
668+
669+
set(CMAKE_REQUIRED_INCLUDES "${SDL2_INCLUDE_DIRS}")
670+
check_c_source_compiles(
671+
"
672+
#define SDL_MAIN_HANDLED
673+
#include \"SDL.h\"
674+
int main(void) {
675+
return 0;
676+
}
677+
"
678+
HAVE_JUST_SDL_H)
679+
set(CMAKE_REQUIRED_INCLUDES)
680+
if(HAVE_JUST_SDL_H)
681+
target_compile_definitions(vwebp_sdl PRIVATE WEBP_HAVE_JUST_SDL_H)
682+
endif()
650683
endif()
651684
endif()
652685

@@ -661,31 +694,44 @@ if(WEBP_BUILD_WEBP_JS)
661694
else()
662695
set(emscripten_stack_size "-sTOTAL_STACK=5MB")
663696
endif()
697+
find_package(SDL2 REQUIRED)
664698
# wasm2js does not support SIMD.
665699
if(NOT WEBP_ENABLE_SIMD)
666700
# JavaScript version
667701
add_executable(webp_js ${CMAKE_CURRENT_SOURCE_DIR}/extras/webp_to_sdl.c)
668-
target_link_libraries(webp_js webpdecoder SDL)
702+
target_link_libraries(webp_js webpdecoder SDL2)
669703
target_include_directories(webp_js PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
670704
set(WEBP_HAVE_SDL 1)
671705
set_target_properties(
672706
webp_js
673-
PROPERTIES LINK_FLAGS "-sWASM=0 ${emscripten_stack_size} \
707+
PROPERTIES
708+
# Emscripten puts -sUSE_SDL2=1 in this variable, though it's needed at
709+
# compile time to ensure the headers are downloaded.
710+
COMPILE_OPTIONS "${SDL2_LIBRARIES}"
711+
LINK_FLAGS
712+
"-sWASM=0 ${emscripten_stack_size} \
674713
-sEXPORTED_FUNCTIONS=_WebPToSDL -sINVOKE_RUN=0 \
675-
-sEXPORTED_RUNTIME_METHODS=cwrap")
714+
-sEXPORTED_RUNTIME_METHODS=cwrap ${SDL2_LIBRARIES} \
715+
-sALLOW_MEMORY_GROWTH")
676716
set_target_properties(webp_js PROPERTIES OUTPUT_NAME webp)
677717
target_compile_definitions(webp_js PUBLIC EMSCRIPTEN WEBP_HAVE_SDL)
678718
endif()
679719

680720
# WASM version
681721
add_executable(webp_wasm ${CMAKE_CURRENT_SOURCE_DIR}/extras/webp_to_sdl.c)
682-
target_link_libraries(webp_wasm webpdecoder SDL)
722+
target_link_libraries(webp_wasm webpdecoder SDL2)
683723
target_include_directories(webp_wasm PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
684724
set_target_properties(
685725
webp_wasm
686-
PROPERTIES LINK_FLAGS "-sWASM=1 ${emscripten_stack_size} \
726+
PROPERTIES
727+
# Emscripten puts -sUSE_SDL2=1 in this variable, though it's needed at
728+
# compile time to ensure the headers are downloaded.
729+
COMPILE_OPTIONS "${SDL2_LIBRARIES}"
730+
LINK_FLAGS
731+
"-sWASM=1 ${emscripten_stack_size} \
687732
-sEXPORTED_FUNCTIONS=_WebPToSDL -sINVOKE_RUN=0 \
688-
-sEXPORTED_RUNTIME_METHODS=cwrap")
733+
-sEXPORTED_RUNTIME_METHODS=cwrap ${SDL2_LIBRARIES} \
734+
-sALLOW_MEMORY_GROWTH")
689735
target_compile_definitions(webp_wasm PUBLIC EMSCRIPTEN WEBP_HAVE_SDL)
690736

691737
target_compile_definitions(webpdspdecode PUBLIC EMSCRIPTEN)

‎ChangeLog‎

Lines changed: 152 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,171 @@
1+
8a6a55bb update NEWS
2+
cf7c5a5d provide a way to opt-out/override WEBP_NODISCARD
3+
cc34288a update ChangeLog (tag: v1.4.0-rc1)
4+
f13c0886 NEWS: fix date
5+
74555950 Merge "vwebp: fix window title when options are given" into 1.4.0
6+
d781646c vwebp: fix window title when options are given
7+
c2e394de update NEWS
8+
f6d15cb7 bump version to 1.4.0
9+
57c388b8 update AUTHORS
10+
b3d1b2cb Merge changes I26f4aa22,I83386b6c,I320ed1a2 into main
11+
07216886 webp-container-spec: fix VP8 chunk ref ('VP8'->'VP8 ')
12+
f88666eb webp_js/*.html: fix canvas mapping
13+
e2c8f233 cmake,wasm: simplify SDL2 related flags
14+
d537cd37 cmake: fix vwebp_sdl compile w/libsdl-org release
15+
6c484cbf CMakeLists.txt: add missing WEBP_BUILD_EXTRAS check
16+
7b0bc235 man/cwebp.1: add more detail to -partition_limit
17+
3c0011bb WebPMuxGetChunk: add an assert
18+
955a3d14 Merge "muxread,MuxGet: add an assert" into main
19+
00abc000 muxread,MuxGet: add an assert
20+
40e85a0b Have the window title reflect the filename.
21+
1bf46358 man/cwebp.1: clarify -pass > 1 behavior w/o -size/-psnr
22+
eba03acb webp-container-spec: replace 'above' with 'earlier'
23+
a16d30cb webp-container-spec: clarify chunk order requirements
24+
8a7e9112 Merge "CMakeLists.txt: apply cmake-format" into main
25+
7fac6c1b Merge "Copy C code to not have multiplication overflow" into main
26+
e2922e43 Merge "Check for the presence of the ANDROID_ABI variable" into main
27+
501d9274 Copy C code to not have multiplication overflow
28+
fba7d62e CMakeLists.txt: apply cmake-format
29+
661c1b66 Merge "windows exports: use dllexport attribute, instead of visibility." into main
30+
8487860a windows exports: use dllexport attribute, instead of visibility.
31+
8ea678b9 webp/mux.h: data lifetime note w/copy_data=0
32+
79e05c7f Check for the presence of the ANDROID_ABI variable
33+
45f995a3 Expose functions for managing non-image chunks on WebPAnimEncoder
34+
1fb9f3dc gifdec: fix ErrorGIFNotAvailable() declaration
35+
4723db65 cosmetics: s/SANITY_CHECK/DCHECK/
36+
f4b9bc9e clear -Wextra-semi-stmt warnings
37+
713982b8 Limit animdecoder_fuzzer to 320MB
38+
cbe825e4 cmake: fix sharpyuv simd files' build
39+
f99305e9 Makefile.vc: add ARM64 support
40+
5efd6300 mv SharpYuvEstimate420Risk to extras/
41+
e78e924f Makefile.vc: add sharpyuv_risk_table.obj
42+
d7a0506d Add YUV420 riskiness metric.
43+
89c5b917 Merge "BuildHuffmanTable check sorted[] array bounds before writing" into main
44+
34c80749 Remove alpha encoding pessimization.
45+
13d9c30b Add a WEBP_NODISCARD
46+
24d7f9cb Switch code to SDL2.
47+
0b56dedc BuildHuffmanTable check sorted[] array bounds before writing
48+
a429c0de sharpyuv: convert some for() to do/while
49+
f0cd7861 DoSharpArgbToYuv: remove constant from loop
50+
339231cc SharpYuvConvertWithOptions,cosmetics: fix formatting
51+
307071f1 Remove medium/large code model-specific inline asm
52+
deadc339 Fix transfer functions where toGamma and toLinear are swapped.
53+
e7b78d43 Merge "Fix bug in FromLinearLog100." into main
54+
15a1309e Merge "webp-lossless-bitstream-spec: delete extra blank line" into main
55+
54ca9752 Fix bug in FromLinearLog100.
56+
d2cb2d8c Dereference after NULL check.
57+
e9d50107 webp-lossless-bitstream-spec: delete extra blank line
58+
78657971 Merge changes Ief442c90,Ie6e9c9a5 into main
59+
e30a5884 webp-lossless-bitstream-spec: update variable names
60+
09ca1368 Merge "webp-container-spec: change assert to MUST be TRUE" into main
61+
38cb4fc0 iosbuild,xcframeworkbuild: add SharpYuv framework
62+
40afa926 webp-lossless-bitstream-spec: simplify abstract
63+
9db21143 webp-container-spec: change assert to MUST be TRUE
64+
cdbf88ae Fix typo in API docs for incremental decoding
65+
05c46984 Reformat vcpkg build instructions.
66+
8534f539 Merge "Never send VP8_STATUS_SUSPENDED back in non-incremental." into main
67+
35e197bd Never send VP8_STATUS_SUSPENDED back in non-incremental.
68+
61441425 Add vcpkg installation instructions
69+
dce8397f Fix next is invalid pointer when WebPSafeMalloc fails
70+
57c58105 Cmake: wrong public macro WEBP_INCLUDE_DIRS
71+
c1ffd9ac Merge "vp8l_enc: fix non-C90 code" into main
72+
a3965948 Merge changes If628bb93,Ic79f6309,I45f0db23 into main
73+
f80e9b7e vp8l_enc: fix non-C90 code
74+
accd141d Update lossless spec for two simple codes.
75+
ac17ffff Fix non-C90 code.
76+
433c7dca Fix static analyzer warnings.
77+
5fac76cf Merge tag 'v1.3.2'
78+
ca332209 update ChangeLog (tag: v1.3.2)
179
1ace578c update NEWS
280
63234c42 bump version to 1.3.2
81+
a35ea50d Add a fuzzer for ReadHuffmanCodes
82+
95ea5226 Fix invalid incremental decoding check.
383
2af26267 Fix OOB write in BuildHuffmanTable.
84+
902bc919 Fix OOB write in BuildHuffmanTable.
85+
7ba44f80 Homogenize "__asm__ volatile" vs "asm volatile"
86+
68e27135 webp-container-spec: reorder example chunk layout
87+
943b932a Merge changes I6a4d0a04,Ibc37b91e into main
88+
1cc94f95 decode.h: wrap idec example in /* */
89+
63acdd1e decode.h: fix decode example
90+
aac5c5d0 ReadHuffmanCode: rm redundant num code lengths check
91+
a2de25f6 webp-lossless-bitstream-spec: normalize list item case
92+
68820f0e webp-lossless-bitstream-spec: normalize pixel ref
93+
cdb31aa8 webp-lossless-bitstream-spec: add missing periods
94+
0535a8cf webp-lossless-bitstream-spec: fix grammar
95+
b6c4ce26 normalize numbered list item format
96+
dd7364c3 Merge "palette.c: fix msvc warnings" into main
97+
c63c5df6 palette.c: fix msvc warnings
98+
0a2cad51 webp-container-spec: move terms from intro section
99+
dd88d2ff webp-lossless-bitstream-spec: color_cache -> color cache
100+
6e750547 Merge changes I644d7d39,Icf05491e,Ic02e6652,I63b11258 into main
101+
67a7cc2b webp-lossless-bitstream-spec: fix code blocks
102+
1432ebba Refactor palette sorting computation.
103+
cd436142 webp-lossless-bitstream-spec: block -> chunk
104+
3cb66f64 webp-lossless-bitstream-spec: add some missing commas
105+
56471a53 webp-lossless-bitstream-spec: normalize item text in 5.1
106+
af7fbfd2 vp8l_dec,ReadTransform: improve error status reporting
107+
7d8e0896 vp8l_dec: add VP8LSetError()
108+
a71ce1cf animencoder_fuzzer: fix error check w/Nallocfuzz
109+
e94b36d6 webp-lossless-bitstream-spec: relocate details from 5.1
110+
84628e56 webp-lossless-bitstream-spec: clarify image width changes
111+
ee722997 alpha_dec: add missing VP8SetError()
112+
0081693d enc_dec_fuzzer: use WebPDecode()
113+
0fcb311c enc_dec_fuzzer: fix WebPEncode/pic.error_code check
114+
982c177c webp-lossless-bitstream-spec: fix struct member refs
115+
56cf5625 webp-lossless-bitstream-spec: use RFC 7405 for ABNF
116+
6c6b3fd3 webp-lossless-bitstream-spec,cosmetics: delete blank lines
117+
29b9eb15 Merge changes Id56ca4fd,I662bd1d7 into main
118+
47c0af8d ReadHuffmanCodes: rm max_alphabet_size calc
119+
b92deba3 animencoder_fuzzer: no WebPAnimEncoderAssemble check w/nallocfuzz
120+
6be9bf8b animencoder_fuzzer: fix leak on alloc failure
121+
5c965e55 vp8l_dec,cosmetics: add some /*param=*/ comments
122+
e4fc2f78 webp-lossless-bitstream-spec: add validity note for max_symbol
123+
71916726 webp-lossless-bitstream-spec: fix max_symbol definition
124+
eac3bd5c Have the palette code be in its own file.
125+
e2c85878 Add an initializer for the SharpYuvOptions struct.
126+
4222b006 Merge tag 'v1.3.1'
127+
25d94f47 Implement more transfer functions in libsharpyuv
128+
2153a679 Merge changes Id0300937,I5dba5ccf,I57bb68e0,I2dba7b4e,I172aca36, ... into main
129+
4298e976 webp-lossless-bitstream-spec: add PredictorTransformOutput
130+
cd7e02be webp-lossless-bitstream-spec: fix RIFF-header ABNF
131+
6c3845f9 webp-lossless-bitstream-spec: split LZ77 Backward Ref section
132+
7f1b6799 webp-lossless-bitstream-spec: split Meta Prefix Codes section
133+
7b634d8f webp-lossless-bitstream-spec: note transform order
134+
6d6d4915 webp-lossless-bitstream-spec: update transformations text
4135
fd7bb21c update ChangeLog (tag: v1.3.1-rc2, tag: v1.3.1)
5136
e1adea50 update NEWS
137+
6b1c722a lossless_common.h,cosmetics: fix a typo
138+
08d60d60 webp-lossless-bitstream-spec: split code length section
139+
7a12afcc webp-lossless-bitstream-spec: rm unused anchor
6140
43393320 enc/*: normalize WebPEncodingSetError() calls
7141
287fdefe enc/*: add missing WebPEncodingSetError() calls
8142
c3bd7cff EncodeAlphaInternal: add missing error check
143+
14a9dbfb webp-lossless-bitstream-spec: refine single node text
144+
64819c7c Implement ExtractGreen_SSE2
9145
d49cfbb3 vp8l_enc,WriteImage: add missing error check
10146
2e5a9ec3 muxread,MuxImageParse: add missing error checks
11147
ebb6f949 cmake,emscripten: explicitly set stack size
12148
59a2b1f9 WebPDecodeYUV: check u/v/stride/uv_stride ptrs
13149
8e965ccb Call png_get_channels() to see if image has alpha
150+
fe80fbbd webp-container-spec: add some missing commas
151+
e8ed3176 Merge "treat FILTER_NONE as a regular Unfilter[] call" into main
152+
03a7a048 webp-lossless-bitstream-spec: rm redundant statement
153+
c437c7aa webp-lossless-bitstream-spec: mv up prefix code group def
154+
e4f17a31 webp-lossless-bitstream-spec: fix section reference
155+
e2ecd5e9 webp-lossless-bitstream-spec: clarify ABNF syntax
156+
8b55425a webp-lossless-bitstream-spec: refine pixel copy text
157+
29c9f2d4 webp-lossless-bitstream-spec: minor wording updates
158+
6b02f660 treat FILTER_NONE as a regular Unfilter[] call
159+
7f75c91c webp-container-spec: fix location of informative msg
160+
f6499943 webp-container-spec: consistently quote FourCCs
161+
49918af3 webp-container-spec: minor wording updates
14162
7f0a3419 update ChangeLog (tag: v1.3.1-rc1)
15163
bab7efbe update NEWS
16164
7138bf8f bump version to 1.3.1
17165
435b4ded update AUTHORS
18166
47351229 update .mailmap
167+
46bc4fc9 Merge "Switch ExtraCost to ints and implement it in SSE." into main
168+
828b4ce0 Switch ExtraCost to ints and implement it in SSE.
19169
ff6c7f4e CONTRIBUTING.md: add C style / cmake-format notes
20170
dd530437 add .cmake-format.py
21171
adbe2cb1 cmake,cosmetics: apply cmake-format
@@ -1213,7 +1363,7 @@ b016cb91 NEON: faster fancy upsampling
12131363
f04eb376 Merge tag 'v0.5.2'
12141364
341d711c NEON: 5% faster conversion to RGB565 and RGBA4444
12151365
abb54827 remove Clang warnings with unused arch arguments.
1216-
ece9684f update ChangeLog (tag: v0.5.2-rc2, tag: v0.5.2, origin/0.5.2)
1366+
ece9684f update ChangeLog (tag: v0.5.2-rc2, tag: v0.5.2)
12171367
aa7744ca anim_util: quiet implicit conv warnings in 32-bit
12181368
d9120271 jpegdec: correct ContextFill signature
12191369
24eb3940 Remove some errors when compiling the code as C++.
@@ -1500,7 +1650,7 @@ bbb6ecd9 Merge "Add MSA optimized distortion functions"
15001650
c0991a14 io,EmitRescaledAlphaYUV: factor out a common expr
15011651
48bf5ed1 build.gradle: remove tab
15021652
bfef6c9f Merge tag 'v0.5.1'
1503-
3d97bb75 update ChangeLog (tag: v0.5.1, origin/0.5.1)
1653+
3d97bb75 update ChangeLog (tag: v0.5.1)
15041654
deb54d91 Clarify the expected 'config' lifespan in WebPIDecode()
15051655
435308e0 Add MSA optimized encoder transform functions
15061656
dce64bfa Add MSA optimized alpha filter functions

0 commit comments

Comments
 (0)