lp:~pcsx2-team/pcsx2-github-mirror/+git/libwebp

Owned by PCSX2 Team
Get this repository:
git clone https://git.launchpad.net/~pcsx2-team/pcsx2-github-mirror/+git/libwebp

Import details

Import Status: Reviewed

This repository is an import of the Git repository at https://github.com/webmproject/libwebp.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 15 seconds — see the log

Branches

Name Last Modified Last Commit
main 2024-05-25 18:00:32 UTC
Revert "Check all the rows."

Author: James Zern
Author Date: 2024-05-25 17:55:52 UTC

Revert "Check all the rows."

This reverts commit ee26766a89a149afe5f73fdcb8f2493ec808f2b7.

This change also reverts the parent.

Revert "Increase the transform bits if possible."

This reverts commit 7ec51c591608333fd5e6fdddbee16e1d65bef3db.

These changes result in non-lossless encodes.

Bug: oss-fuzz:69231, oss-fuzz:69109, oss-fuzz:69208
Bug: b:341475869, b:342743143
Change-Id: Ia28f558992e0aa6f024af1ff66da52e0a5e26fa3

1.4.0 2024-04-12 20:48:48 UTC
update ChangeLog

Author: James Zern
Author Date: 2024-04-12 20:48:48 UTC

update ChangeLog

Bug: webp:627
Change-Id: I67a011b62087a8ad64df3b5eb0a1c051adeea60f

1.3.2 2023-10-10 00:23:14 UTC
iosbuild,xcframeworkbuild: add SharpYuv framework

Author: James Zern
Author Date: 2023-10-06 23:28:42 UTC

iosbuild,xcframeworkbuild: add SharpYuv framework

Provides the missing symbols in WebP.framework & WebP.xcframework:
Undefined symbols for architecture arm64:
  "_SharpYuvConvert", referenced from:
      _ImportYUVAFromRGBA in libwebp.a(libwebpencode_la-picture_csp_enc.o)
  "_SharpYuvGetConversionMatrix", referenced from:
      _ImportYUVAFromRGBA in libwebp.a(libwebpencode_la-picture_csp_enc.o)
  "_SharpYuvInit", referenced from:
      _ImportYUVAFromRGBA in libwebp.a(libwebpencode_la-picture_csp_enc.o)

This was missed in:
  c3d0c2d7 fix ios build scripts after sharpyuv dep added

Bug: webp:623
Change-Id: I1c4582ec2cee801b52867674d553900d6028bea8
Fixed: webp:623
(cherry picked from commit 38cb4fc0ea29acef1eee39fde80c582f3b00d69f)

0.6.1 2023-10-09 14:24:38 UTC
Fix invalid incremental decoding check.

Author: Vincent Rabaud
Author Date: 2023-10-03 12:44:39 UTC

Fix invalid incremental decoding check.

(cherry picked from commit 95ea5226c870449522240ccff26f0b006037c520)

Change-Id: I80c2165aa9fdf43077db155d2d00e0e99db73eab

0.5.2 2023-10-06 09:53:43 UTC
Fix invalid incremental decoding check.

Author: Vincent Rabaud
Author Date: 2023-10-03 12:44:39 UTC

Fix invalid incremental decoding check.

(cherry picked from commit 95ea5226c870449522240ccff26f0b006037c520)

Change-Id: I80c2165aa9fdf43077db155d2d00e0e99db73eab

0.5.1 2023-10-03 12:29:37 UTC
Limit memory allocation when reading invalid Huffman codes.

Author: Vincent Rabaud
Author Date: 2023-10-03 12:08:26 UTC

Limit memory allocation when reading invalid Huffman codes.

This is a backported fix for: CVE-2020-36332

This is a merge of:
dce5d7643177633ebe3513af492ea8c08c299cf3
39cb9aad85ca7bb1d193013460db1f8cc6bff109
067031eaed11e91d9914e1e872738c7bdf075e0b

Change-Id: I166e3d7ccef73be26ff9eb4fa8943efd3dac2d81

chrome-m108-5359 2023-09-12 09:30:11 UTC
[M108-LTS] Fix OOB write in BuildHuffmanTable.

Author: Vincent Rabaud
Author Date: 2023-09-07 19:16:03 UTC

[M108-LTS] Fix OOB write in BuildHuffmanTable.

M108 merge issues:
  dec/vp8l_dec.c:
    - Conflicting checks before ReadHuffmanCodeLengths() return statement;
    In 114, an assignment follows the check instead of a return.
    - ReadHuffmanCodes(): Conflict after the changed huffman_tables check,
    there's an assignment in 114 instead of the setter call.

First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.

This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.

Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
(cherry picked from commit 902bc9190331343b2017211debcec8d2ab87e17a)

chrome-m114-5735 2023-09-12 09:09:54 UTC
[M114-LTS] Fix OOB write in BuildHuffmanTable.

Author: Vincent Rabaud
Author Date: 2023-09-07 19:16:03 UTC

[M114-LTS] Fix OOB write in BuildHuffmanTable.

M114 merge issues:
  dec/vp8l_dec.c:
    - Conflicting checks before ReadHuffmanCodeLengths() return statement;
    In 114, an assignment follows the check instead of a return.
    - ReadHuffmanCodes(): Conflict after the changed huffman_tables check,
    there's an assignment in 114 instead of the setter call.

First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.

This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.

Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
(cherry picked from commit 902bc9190331343b2017211debcec8d2ab87e17a)

1.2.0 2023-09-09 02:26:42 UTC
Fix OOB write in BuildHuffmanTable.

Author: Vincent Rabaud
Author Date: 2023-09-07 19:16:03 UTC

Fix OOB write in BuildHuffmanTable.

First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.

This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.

Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
(cherry picked from commit 902bc9190331343b2017211debcec8d2ab87e17a)
(cherry picked from commit 2af26267cdfcb63a88e5c74a85927a12d6ca1d76)

1.2.2 2023-09-09 02:25:32 UTC
Fix OOB write in BuildHuffmanTable.

Author: Vincent Rabaud
Author Date: 2023-09-07 19:16:03 UTC

Fix OOB write in BuildHuffmanTable.

First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.

This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.

Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
(cherry picked from commit 902bc9190331343b2017211debcec8d2ab87e17a)
(cherry picked from commit 2af26267cdfcb63a88e5c74a85927a12d6ca1d76)

1.3.0 2023-09-09 02:23:20 UTC
Fix OOB write in BuildHuffmanTable.

Author: Vincent Rabaud
Author Date: 2023-09-07 19:16:03 UTC

Fix OOB write in BuildHuffmanTable.

First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.

This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.

Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
(cherry picked from commit 902bc9190331343b2017211debcec8d2ab87e17a)
(cherry picked from commit 2af26267cdfcb63a88e5c74a85927a12d6ca1d76)

chrome-m109-5414 2023-09-08 01:13:52 UTC
Fix OOB write in BuildHuffmanTable.

Author: Vincent Rabaud
Author Date: 2023-09-07 19:16:03 UTC

Fix OOB write in BuildHuffmanTable.

First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.

This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.

Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
(cherry picked from commit 902bc9190331343b2017211debcec8d2ab87e17a)
(cherry picked from commit 2af26267cdfcb63a88e5c74a85927a12d6ca1d76)

chrome-m116-5845 2023-09-08 01:12:56 UTC
Fix OOB write in BuildHuffmanTable.

Author: Vincent Rabaud
Author Date: 2023-09-07 19:16:03 UTC

Fix OOB write in BuildHuffmanTable.

First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.

This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.

Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
(cherry picked from commit 902bc9190331343b2017211debcec8d2ab87e17a)
(cherry picked from commit 2af26267cdfcb63a88e5c74a85927a12d6ca1d76)

1.0.3 2023-09-07 22:42:30 UTC
Fix OOB write in BuildHuffmanTable.

Author: Vincent Rabaud
Author Date: 2023-09-07 19:16:03 UTC

Fix OOB write in BuildHuffmanTable.

First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.

This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.

Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
(cherry picked from commit 902bc9190331343b2017211debcec8d2ab87e17a)
(cherry picked from commit 2af26267cdfcb63a88e5c74a85927a12d6ca1d76)

1.1.0 2023-09-07 22:40:16 UTC
Fix OOB write in BuildHuffmanTable.

Author: Vincent Rabaud
Author Date: 2023-09-07 19:16:03 UTC

Fix OOB write in BuildHuffmanTable.

First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.

This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.

Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
(cherry picked from commit 902bc9190331343b2017211debcec8d2ab87e17a)
(cherry picked from commit 2af26267cdfcb63a88e5c74a85927a12d6ca1d76)

1.2.4 2023-09-07 22:36:52 UTC
Fix OOB write in BuildHuffmanTable.

Author: Vincent Rabaud
Author Date: 2023-09-07 19:16:03 UTC

Fix OOB write in BuildHuffmanTable.

First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.

This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.

Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
(cherry picked from commit 902bc9190331343b2017211debcec8d2ab87e17a)
(cherry picked from commit 2af26267cdfcb63a88e5c74a85927a12d6ca1d76)

1.3.1 2023-09-07 22:14:39 UTC
Fix OOB write in BuildHuffmanTable.

Author: Vincent Rabaud
Author Date: 2023-09-07 19:16:03 UTC

Fix OOB write in BuildHuffmanTable.

First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.

This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.

Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
(cherry picked from commit 902bc9190331343b2017211debcec8d2ab87e17a)

1.2.3 2022-08-03 23:57:12 UTC
lossless: fix crunch mode w/WEBP_REDUCE_SIZE

Author: James Zern
Author Date: 2022-07-21 02:27:26 UTC

lossless: fix crunch mode w/WEBP_REDUCE_SIZE

WEBP_REDUCE_SIZE was introduced to bring down the library size by
removing cropping and scaling support. Previously WebPPictureView() was
only used with these two, but in
  ec178f2c Add progress hook granularity in lossless
an additional use was added in VP8LEncodeStream() when extra side
configurations are used in crunch mode (-mt, quality == 100 & method ==
6 or quality >= 75 & method == 5 with a palette present currently).

WebPPictureView() and, for coherency, WebPPictureIsView() are
restored in this configuration to avoid affecting the general encode
path.

Previously WebPPictureView() was assumed to always succeed in these
cases which could result in crashes with WEBP_REDUCE_SIZE defined.

Bug: chromium:1345547
Bug: chromium:1345595
Bug: chromium:1345772
Bug: chromium:1345804
Change-Id: Ifecde36a726a434510478a764514b1469942c684
(cherry picked from commit 84163d9d027e4acc51120f3136d251f8e8ee0acd)

1.0.0 2022-04-07 04:56:58 UTC
GetBackwardReferences: fail on alloc error

Author: James Zern
Author Date: 2022-04-04 17:47:40 UTC

GetBackwardReferences: fail on alloc error

previously failures in the call to
VP8LBackwardReferencesTraceBackwards() would be ignored which, though it
wouldn't result in a crash, would produce non-deterministic output

Change-Id: Id9890a60883c3270ec75e968506d46eea32b76d4
(cherry picked from commit e3cfafaf719c2e163d3548d7a415da96fdff714f)
(cherry picked from commit 20ef03ee351d4ff03fc5ff3ec4804a879d1b9d5c)
(cherry picked from commit 89e226a3c70ae04fe8e1884aa0b291f39adb2fdf)

1.0.1 2022-04-07 04:56:48 UTC
GetBackwardReferences: fail on alloc error

Author: James Zern
Author Date: 2022-04-04 17:47:40 UTC

GetBackwardReferences: fail on alloc error

previously failures in the call to
VP8LBackwardReferencesTraceBackwards() would be ignored which, though it
wouldn't result in a crash, would produce non-deterministic output

Change-Id: Id9890a60883c3270ec75e968506d46eea32b76d4
(cherry picked from commit e3cfafaf719c2e163d3548d7a415da96fdff714f)
(cherry picked from commit 20ef03ee351d4ff03fc5ff3ec4804a879d1b9d5c)
(cherry picked from commit 89e226a3c70ae04fe8e1884aa0b291f39adb2fdf)

1.0.2 2022-04-07 04:56:38 UTC
GetBackwardReferences: fail on alloc error

Author: James Zern
Author Date: 2022-04-04 17:47:40 UTC

GetBackwardReferences: fail on alloc error

previously failures in the call to
VP8LBackwardReferencesTraceBackwards() would be ignored which, though it
wouldn't result in a crash, would produce non-deterministic output

Change-Id: Id9890a60883c3270ec75e968506d46eea32b76d4
(cherry picked from commit e3cfafaf719c2e163d3548d7a415da96fdff714f)
(cherry picked from commit 20ef03ee351d4ff03fc5ff3ec4804a879d1b9d5c)
(cherry picked from commit 89e226a3c70ae04fe8e1884aa0b291f39adb2fdf)

1.2.1 2022-04-07 04:49:58 UTC
GetBackwardReferences: fail on alloc error

Author: James Zern
Author Date: 2022-04-04 17:47:40 UTC

GetBackwardReferences: fail on alloc error

previously failures in the call to
VP8LBackwardReferencesTraceBackwards() would be ignored which, though it
wouldn't result in a crash, would produce non-deterministic output

Change-Id: Id9890a60883c3270ec75e968506d46eea32b76d4
(cherry picked from commit e3cfafaf719c2e163d3548d7a415da96fdff714f)
(cherry picked from commit 20ef03ee351d4ff03fc5ff3ec4804a879d1b9d5c)

wasm-simd 2021-11-19 00:47:01 UTC
Fix checking for Wasm SIMD support

Author: Zhi An Ng
Author Date: 2021-11-19 00:47:01 UTC

Fix checking for Wasm SIMD support

The defined(WEBP_ENABLE_WASM_SIMD) in dsp.h meant that cpu.cmake will
never successfully compile with Wasm SIMD, since it doesn't set any
compile flags. We remove that requirement, and instead determine in
dec.c if we want to be using Wasm SIMD intrinsics.

Bug: v8:12371
Change-Id: I5d313f6d95301e6153254229a9ea234fec990cd6

portable-intrinsics 2017-11-02 18:20:09 UTC
README.wasm: add instructions for enabling mulhi

Author: James Zern
Author Date: 2017-11-02 18:20:09 UTC

README.wasm: add instructions for enabling mulhi

Change-Id: I1e9dd737f06ad76f73824352291a6e129ca5ded1

sandbox/jzern@google.com/mips-testing 2017-06-03 02:58:33 UTC
rescaler_mips32: disable ImportRowShrink

Author: James Zern
Author Date: 2017-06-03 02:58:33 UTC

rescaler_mips32: disable ImportRowShrink

this function is failing the 'accum == 0' assert on skia bots for
rescaling to 13x13

BUG=skia:6682

Change-Id: I9f9f3adf28cec63ad6e38ed3128f18825d5b70cc

0.6.0 2017-01-30 20:23:57 UTC
update ChangeLog

Author: James Zern
Author Date: 2017-01-30 20:23:57 UTC

update ChangeLog

Change-Id: Ibaa88480519114b8f36f96c51d44b5c3b8a6433d

0.5.0 2015-12-18 08:04:24 UTC
update ChangeLog

Author: James Zern
Author Date: 2015-12-18 08:04:24 UTC

update ChangeLog

Change-Id: I1df7a610c466eb1cfc675e030c12fcff21f57c1b

0.4.4 2015-10-23 20:20:40 UTC
update ChangeLog

Author: James Zern
Author Date: 2015-10-21 06:10:02 UTC

update ChangeLog

Change-Id: I839ad7871f0bbe7a8a3a900b3176d2754eef0f6e

0.4.3 2015-03-11 06:06:09 UTC
update ChangeLog

Author: James Zern
Author Date: 2015-03-11 06:06:09 UTC

update ChangeLog

Change-Id: I794a5d58005bb0934ce0de06483567e8ed6bd8eb

0.4.2 2014-10-17 14:15:30 UTC
update ChangeLog

Author: James Zern
Author Date: 2014-10-17 14:14:08 UTC

update ChangeLog

Change-Id: I32a22786f99d0c239761a362485a4a91c783851b

0.4.1 2014-07-29 00:22:32 UTC
update ChangeLog

Author: James Zern
Author Date: 2014-07-29 00:22:32 UTC

update ChangeLog

Change-Id: I3b930aa6cb72d17f41e52d645de1d9b2f3a0238b

0.4.0 2013-12-20 08:49:40 UTC
update ChangeLog

Author: James Zern
Author Date: 2013-12-20 08:48:07 UTC

update ChangeLog

Change-Id: If51472e72adaec0a198a8b09becb8be192153ca8

0.3.0 2013-10-16 17:17:16 UTC
libwebp.jar: build w/Java 1.6 for Android compat

Author: James Zern
Author Date: 2013-10-11 15:59:37 UTC

libwebp.jar: build w/Java 1.6 for Android compat

broken since:
 a5c297c swig/java: reduce wrapper function code duplication

this was a part of v0.3.1, but not v0.3.0.

Change-Id: I001d4bd0a7a1aa1b2d267bc63bc1d8226bff00c1
(cherry picked from commit de899516c752faab0bfe87eb6614e7960022809f)

0.2.0 2012-10-30 23:32:36 UTC
Update ChangeLog

Author: James Zern
Author Date: 2012-10-30 23:32:36 UTC

Update ChangeLog

Change-Id: I89a9c8cf6793c38e2b13d6e0557414fb05620eec

134 of 34 results
This repository contains Public information 
Everyone can see this information.