Skip to content

Commit

Permalink
Update libwebp to 1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-signal committed Sep 14, 2023
1 parent 1094d86 commit b3c1457
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Podfile
Expand Up @@ -46,7 +46,7 @@ pod 'libPhoneNumber-iOS', git: 'https://github.com/signalapp/libPhoneNumber-iOS'

pod 'YYImage', git: 'https://github.com/signalapp/YYImage', :inhibit_warnings => true
pod 'YYImage/libwebp', git: 'https://github.com/signalapp/YYImage', :inhibit_warnings => true
pod 'libwebp'
pod 'libwebp', podspec: './ThirdParty/libwebp.podspec.json'
# pod 'YYImage', path: '../YYImage'
# pod 'YYImage/libwebp', path:'../YYImage'

Expand Down
23 changes: 12 additions & 11 deletions Podfile.lock
Expand Up @@ -21,15 +21,15 @@ PODS:
- SignalCoreKit
- LibSignalClient/Tests (0.32.0):
- SignalCoreKit
- libwebp (1.2.4):
- libwebp/demux (= 1.2.4)
- libwebp/mux (= 1.2.4)
- libwebp/webp (= 1.2.4)
- libwebp/demux (1.2.4):
- libwebp (1.3.2):
- libwebp/demux (= 1.3.2)
- libwebp/mux (= 1.3.2)
- libwebp/webp (= 1.3.2)
- libwebp/demux (1.3.2):
- libwebp/webp
- libwebp/mux (1.2.4):
- libwebp/mux (1.3.2):
- libwebp/demux
- libwebp/webp (1.2.4)
- libwebp/webp (1.3.2)
- Logging (1.4.0)
- lottie-ios (3.4.1)
- Mantle (2.1.0):
Expand Down Expand Up @@ -83,7 +83,7 @@ DEPENDENCIES:
- libPhoneNumber-iOS (from `https://github.com/signalapp/libPhoneNumber-iOS`, branch `signal-master`)
- LibSignalClient (from `https://github.com/signalapp/libsignal-client.git`, tag `v0.32.0`)
- LibSignalClient/Tests (from `https://github.com/signalapp/libsignal-client.git`, tag `v0.32.0`)
- libwebp
- libwebp (from `./ThirdParty/libwebp.podspec.json`)
- lottie-ios
- Mantle (from `https://github.com/signalapp/Mantle`, branch `signal-master`)
- MobileCoin/CoreHTTP (from `https://github.com/mobilecoinofficial/MobileCoin-Swift`, tag `v5.0.0`)
Expand All @@ -106,7 +106,6 @@ SPEC REPOS:
- BonMot
- CocoaLumberjack
- GRDB.swift
- libwebp
- Logging
- lottie-ios
- PureLayout
Expand All @@ -130,6 +129,8 @@ EXTERNAL SOURCES:
LibSignalClient:
:git: https://github.com/signalapp/libsignal-client.git
:tag: v0.32.0
libwebp:
:podspec: "./ThirdParty/libwebp.podspec.json"
Mantle:
:branch: signal-master
:git: https://github.com/signalapp/Mantle
Expand Down Expand Up @@ -199,7 +200,7 @@ SPEC CHECKSUMS:
LibMobileCoin: b1a473933091536cb87fc92a7ca35c63855451f3
libPhoneNumber-iOS: 2d26d0a38933eee2702962a4dbdec2fc20e5ef9f
LibSignalClient: 6ab08d1bacab5cf039367ab5d72b6dfcda95e0ec
libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef
libwebp: 1b5562124e3ca3336fb7506e76501bed7758963a
Logging: beeb016c9c80cf77042d62e83495816847ef108b
lottie-ios: 016449b5d8be0c3dcbcfa0a9988469999cd04c5d
Mantle: 2fa750afa478cd625a94230fbf1c13462f29395b
Expand All @@ -215,6 +216,6 @@ SPEC CHECKSUMS:
SwiftProtobuf: b02b5075dcf60c9f5f403000b3b0c202a11b6ae1
YYImage: f1ddd15ac032a58b78bbed1e012b50302d318331

PODFILE CHECKSUM: 44c7d86ffb377286fd263d3c39b170db9eb12b74
PODFILE CHECKSUM: 4b8db9103a3e69bac2cc3052dbe9f25af101f06c

COCOAPODS: 1.12.1
2 changes: 1 addition & 1 deletion Pods
Submodule Pods updated 91 files
+83 −0 Local Podspecs/libwebp.podspec.json
+12 −11 Manifest.lock
+4,194 −4,186 Pods.xcodeproj/project.pbxproj
+1 −1 Target Support Files/libwebp/libwebp-Info.plist
+1 −1 libwebp/README.md
+0 −34 libwebp/sharpyuv/Makefile.am
+44 −15 libwebp/sharpyuv/sharpyuv.c
+31 −9 libwebp/sharpyuv/sharpyuv.h
+14 −0 libwebp/sharpyuv/sharpyuv_cpu.c
+22 −0 libwebp/sharpyuv/sharpyuv_cpu.h
+1 −1 libwebp/sharpyuv/sharpyuv_csp.c
+4 −3 libwebp/sharpyuv/sharpyuv_csp.h
+10 −8 libwebp/sharpyuv/sharpyuv_dsp.c
+3 −4 libwebp/sharpyuv/sharpyuv_dsp.h
+0 −1 libwebp/sharpyuv/sharpyuv_gamma.c
+1 −1 libwebp/sharpyuv/sharpyuv_gamma.h
+4 −5 libwebp/sharpyuv/sharpyuv_neon.c
+2 −5 libwebp/sharpyuv/sharpyuv_sse2.c
+2 −2 libwebp/src/Makefile.am
+2 −1 libwebp/src/dec/tree_dec.c
+2 −0 libwebp/src/dec/vp8_dec.c
+2 −2 libwebp/src/dec/vp8i_dec.h
+26 −22 libwebp/src/dec/vp8l_dec.c
+1 −1 libwebp/src/dec/vp8li_dec.h
+21 −14 libwebp/src/dec/webp_dec.c
+1 −1 libwebp/src/demux/Makefile.am
+2 −2 libwebp/src/demux/demux.c
+2 −2 libwebp/src/demux/libwebpdemux.pc.in
+5 −5 libwebp/src/demux/libwebpdemux.rc
+1 −0 libwebp/src/dsp/alpha_processing.c
+6 −6 libwebp/src/dsp/alpha_processing_sse2.c
+1 −1 libwebp/src/dsp/alpha_processing_sse41.c
+1 −0 libwebp/src/dsp/cost.c
+2 −2 libwebp/src/dsp/cost_neon.c
+7 −1 libwebp/src/dsp/cpu.c
+25 −13 libwebp/src/dsp/cpu.h
+1 −0 libwebp/src/dsp/dec.c
+2 −2 libwebp/src/dsp/dec_neon.c
+47 −46 libwebp/src/dsp/dec_sse2.c
+1 −1 libwebp/src/dsp/dec_sse41.c
+1 −0 libwebp/src/dsp/enc.c
+8 −3 libwebp/src/dsp/enc_neon.c
+213 −80 libwebp/src/dsp/enc_sse2.c
+1 −0 libwebp/src/dsp/filters.c
+7 −6 libwebp/src/dsp/lossless.c
+10 −9 libwebp/src/dsp/lossless_enc.c
+1 −1 libwebp/src/dsp/lossless_enc_neon.c
+4 −4 libwebp/src/dsp/lossless_enc_sse2.c
+1 −1 libwebp/src/dsp/lossless_neon.c
+42 −46 libwebp/src/dsp/lossless_sse2.c
+4 −3 libwebp/src/dsp/lossless_sse41.c
+2 −2 libwebp/src/dsp/neon.h
+9 −4 libwebp/src/dsp/quant.h
+1 −0 libwebp/src/dsp/rescaler.c
+3 −3 libwebp/src/dsp/rescaler_sse2.c
+1 −0 libwebp/src/dsp/ssim.c
+1 −0 libwebp/src/dsp/upsampling.c
+1 −1 libwebp/src/dsp/upsampling_neon.c
+1 −1 libwebp/src/dsp/upsampling_sse2.c
+1 −0 libwebp/src/dsp/yuv.c
+8 −5 libwebp/src/dsp/yuv_sse2.c
+4 −2 libwebp/src/dsp/yuv_sse41.c
+15 −5 libwebp/src/enc/alpha_enc.c
+10 −2 libwebp/src/enc/analysis_enc.c
+3 −6 libwebp/src/enc/backward_references_enc.c
+7 −1 libwebp/src/enc/frame_enc.c
+13 −21 libwebp/src/enc/picture_csp_enc.c
+12 −8 libwebp/src/enc/picture_rescale_enc.c
+5 −1 libwebp/src/enc/syntax_enc.c
+2 −2 libwebp/src/enc/vp8i_enc.h
+25 −24 libwebp/src/enc/vp8l_enc.c
+6 −4 libwebp/src/enc/webp_enc.c
+2 −1 libwebp/src/libwebp.pc.in
+5 −5 libwebp/src/libwebp.rc
+1 −1 libwebp/src/libwebpdecoder.pc.in
+5 −5 libwebp/src/libwebpdecoder.rc
+1 −1 libwebp/src/mux/Makefile.am
+2 −2 libwebp/src/mux/libwebpmux.pc.in
+5 −5 libwebp/src/mux/libwebpmux.rc
+2 −2 libwebp/src/mux/muxi.h
+5 −2 libwebp/src/mux/muxread.c
+2 −2 libwebp/src/utils/bit_reader_inl_utils.h
+2 −1 libwebp/src/utils/bit_reader_utils.c
+2 −1 libwebp/src/utils/bit_reader_utils.h
+80 −19 libwebp/src/utils/huffman_utils.c
+24 −3 libwebp/src/utils/huffman_utils.h
+11 −1 libwebp/src/utils/utils.h
+3 −2 libwebp/src/webp/decode.h
+1 −1 libwebp/src/webp/format_constants.h
+5 −1 libwebp/src/webp/types.h
+5 −1 libwebp/src/webp/types.h.bak
69 changes: 69 additions & 0 deletions ThirdParty/libwebp.podspec.json
@@ -0,0 +1,69 @@
{
"name": "libwebp",
"version": "1.3.2",
"summary": "Library to encode and decode images in WebP format.",
"homepage": "https://developers.google.com/speed/webp/",
"authors": "Google Inc.",
"license": {
"type": "BSD",
"file": "COPYING"
},
"source": {
"git": "https://github.com/webmproject/libwebp.git",
"tag": "v1.3.2"
},
"compiler_flags": "-D_THREAD_SAFE",
"requires_arc": false,
"platforms": {
"osx": "10.10",
"ios": "9.0",
"tvos": "9.0",
"watchos": "2.0"
},
"pod_target_xcconfig": {
"USER_HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/libwebp/ ${PODS_TARGET_SRCROOT}/"
},
"preserve_paths": "src",
"default_subspecs": ["webp", "demux", "mux"],
"prepare_command": "sed -i.bak 's/<inttypes.h>/<stdint.h>/g' './src/webp/types.h'",
"subspecs": [
{
"name": "webp",
"source_files": [
"src/webp/decode.h",
"src/webp/encode.h",
"src/webp/types.h",
"src/webp/mux_types.h",
"src/webp/format_constants.h",
"src/utils/*.{h,c}",
"src/dsp/*.{h,c}",
"src/dec/*.{h,c}",
"src/enc/*.{h,c}",
"sharpyuv/*.{h,c}"
],
"public_header_files": [
"src/webp/decode.h",
"src/webp/encode.h",
"src/webp/types.h",
"src/webp/mux_types.h",
"src/webp/format_constants.h"
]
},
{
"name": "demux",
"dependencies": {
"libwebp/webp": []
},
"source_files": ["src/demux/*.{h,c}", "src/webp/demux.h"],
"public_header_files": "src/webp/demux.h"
},
{
"name": "mux",
"dependencies": {
"libwebp/demux": []
},
"source_files": ["src/mux/*.{h,c}", "src/webp/mux.h"],
"public_header_files": "src/webp/mux.h"
}
]
}

0 comments on commit b3c1457

Please sign in to comment.