| Merge "Fix universal macOS binaries builds" into main | 1 year ago |
| api.md: add WebPValidateDecoderConfig to pseudocode This is similar to the WebPValidateConfig() call in the encode example. Bug: webp:427525168 Change-Id: I475484cb1a5d581757f5a693da186138b3dfabb3 | 1 year ago |
| Add missing {}s to conditionals & loops This was necessary after: 44257cb8 apply clang-format Which made some single-line statements into multi-line. Using braces on multi-line statements better conforms with the Google style guide. Bug: 433996651 Change-Id: I615c0ecf3b94571f67fceadfe8c15914aea45ccb | 1 year ago |
| apply clang-format (Debian clang-format version 19.1.7 (3+build4)) with --style=Google. Manual changes: * clang-format disabled around macros with stringification (mostly assembly) * some inline assembly strings were adjusted to avoid awkward line breaks * trailing commas, // or suffixes (ull) added to help array formatting * thread_utils.c: parameter comments were changed to the more common /*...=*/ style to improve formatting The automatically generated code under swig/ was skipped. Bug: 433996651 Change-Id: Iea3f24160d78d2a2653971cdf13fa932e47ff1b3 | 1 year ago |
| update gradle to 6.1.1 somewhat arbitrary version selection, but this matches what's currently in use in ExoPlayer in the dev-v2 branch fixes: FAILURE: Build failed with an exception. * What went wrong: Could not determine java version from '11.0.9.1'. and removes the wrapper task as this is predefined in later versions: Build file '/home/jzern/external/libwebp/build.gradle' line: 437 * What went wrong: A problem occurred evaluating root project 'libwebp'. > Cannot add task 'wrapper' as a task with that name already exists. Change-Id: Ib9ef757d874cd6d4b08da3e7cef3ac5316935966 | 5 years ago |
| apply clang-format (Debian clang-format version 19.1.7 (3+build4)) with --style=Google. Manual changes: * clang-format disabled around macros with stringification (mostly assembly) * some inline assembly strings were adjusted to avoid awkward line breaks * trailing commas, // or suffixes (ull) added to help array formatting * thread_utils.c: parameter comments were changed to the more common /*...=*/ style to improve formatting The automatically generated code under swig/ was skipped. Bug: 433996651 Change-Id: Iea3f24160d78d2a2653971cdf13fa932e47ff1b3 | 1 year ago |
| run_static_analysis.sh: fix scan-build archive path move any error reports to the top-level of OUTPUT_DIR rather than BUILD_DIR Change-Id: Icb6677c42a89ef86d9d295a27b79a8a591672b87 | 4 years ago |
| autoconf: update ax_pthread.m4 from git://git.savannah.gnu.org/autoconf-archive.git 100644 blob d383ad5c6d6a5061370800bb1dc89b7a334c0638 m4/ax_pthread.m4 dd94691 AX_PTHREAD: add support for Clang 386b290 AX_PTHREAD: fix support for AIX e40cfd6 AX_PTHREAD: improve support for AIX Change-Id: Ic1f1edc656e4e917b88f151493147f650b94242f | 12 years ago |
| cwebp: add -resize_mode * down_only: downsample only if one of the input dimensions is larger than the target * up_only: upsample only if one of the input dimensions is smaller than the target * always: the original behavior This change doesn't add related modes like area (@ in ImageMagick) or minimum width/height (^ in ImageMagick). These can be added if a need arises. Bug: webp:405437935 Change-Id: I7752789dce6e3b9c3fb7d6edf63ca5559bb3463c | 1 year ago |
| sharpyuv: remove unnecessary rgb_bit_depth -> bit_depth Change-Id: I1c57dd83720ee286636762f0dd5ac586930d7838 | 1 year ago |
| Add fbounds-safety annotations in quant_levels_dec_utils.c/.h. Reasoning: Image Data Buffers: The data parameter of WebPDequantizeLevels (in both .c and .h) and InitParams (src/utils/quant_levels_dec_utils.c:232) is annotated with WEBP_SIZED_BY((long)stride * height), as it points to the start of the image buffer. The src and dst fields in SmoothParams (src/utils/quant_levels_dec_utils.c:54) are annotated as WEBP_INDEXABLE. They are initialized from data in InitParams (L266) and are advanced row by row using pointer arithmetic (e.g., p->src += p->stride in VFilter L111, p->dst += p->stride in ApplyFilter L165). WEBP_INDEXABLE is used because the pointers iterate within the buffer and are only accessed with positive indices. Scratch Buffers (SmoothParams): Scratch buffers are allocated in InitParams via WebPSafeMalloc. The local variable mem holding this allocation (L245) is explicitly annotated as WEBP_BIDI_INDEXABLE to ensure safety when compiling with error suppression. - start, cur, top: These pointers are used for iteration and pointer arithmetic within the circular scratch buffer. They are annotated as WEBP_INDEXABLE. - end: This pointer is annotated as WEBP_BIDI_INDEXABLE because it is used in subtraction (p->end - width) in InitParams (L257) to calculate p->top. - average: This buffer is accessed sequentially up to width. It is annotated as WEBP_COUNTED_BY(width). Initialization in InitParams is reordered (L261) to ensure p->width is set before p->average. - correction: This lookup table requires negative indexing. To avoid using WEBP_BIDI_INDEXABLE in the struct, it is annotated as WEBP_COUNTED_BY_OR_NULL(CORRECTION_LUT_SIZE) (L75), pointing to the start of the buffer. CORRECTION_LUT_SIZE is defined (L33). InitCorrectionLUT (L188) and ApplyFilter (L147) calculate a local middle pointer which is explicitly annotated as WEBP_BIDI_INDEXABLE to allow safe negative indexing. Local Pointers: To ensure safety when compiling with error suppression (where locals default to unsafe), explicit annotations are added to local pointers derived from safe struct members: - VFilter (L87): src, cur, top, out are WEBP_INDEXABLE. - HFilter (L121): in, out are WEBP_INDEXABLE. - ApplyFilter (L145): average, dst are WEBP_INDEXABLE. - CountLevels (L214): data is WEBP_INDEXABLE. Bug: 432511821 Change-Id: I6bdf86f80c94a5b182c5aef7e4092fe4ea24afb8 | 1 year ago |
| swig,cosmetics: normalize includes after: 98c27801 IWYU: Include all headers for symbols used in files. Change-Id: I847a4024a9e9a8b6beb3d20b48f74da16c547192 | 1 year ago |
| fuzz: fix typo in nalloc env variable Change-Id: Icc0d48c8699b0fc8e820e89c44bfc55ddfe4d675 | 1 year ago |
| webp_js/README.md: add some more code formatting (``) Bug: webp:427525168 Change-Id: I979d0e7406ecc482a5ebb7d94cc50117f8384acc | 1 year ago |
| add .clang-format Google style, with no overrides. This may help automatic formatting in some tools that don't pass --style by default. Bug: 433996651 Change-Id: I5fb28f43bd3dd1862aaf89b73a24dfb63f80a193 | 1 year ago |
| add .cmake-format.py Created with cmake-format 0.6.13 using: --dump-config --max-subgroups-hwrap 3 --first-comment-is-literal true Change-Id: Ica8ca81086dcf466d4ea9693ffcb4e31aa0af002 | 3 years ago |
| update gradle to 6.1.1 somewhat arbitrary version selection, but this matches what's currently in use in ExoPlayer in the dev-v2 branch fixes: FAILURE: Build failed with an exception. * What went wrong: Could not determine java version from '11.0.9.1'. and removes the wrapper task as this is predefined in later versions: Build file '/home/jzern/external/libwebp/build.gradle' line: 437 * What went wrong: A problem occurred evaluating root project 'libwebp'. > Cannot add task 'wrapper' as a task with that name already exists. Change-Id: Ib9ef757d874cd6d4b08da3e7cef3ac5316935966 | 5 years ago |
| Add huffman_fuzzer to .gitignore Change-Id: I1ec33a29beb1a9111e57c85ef67e4c4616908c56 | 2 years ago |
| update AUTHORS Bug: webp:427525168 Change-Id: Ib7eef7f6b57e1f481be8f7200d4227dcbb53a0d9 | 1 year ago |
| presubmit: Add pylint-2.7 and .pylintrc Added files to skip to prevent lint over generated code. Change-Id: I62de5ec4fa7b6d764df1d8671c0263f668904e52 Bug: b:185520507 | 5 years ago |
| Update yapf style from "chromium" to "yapf" yapf v0.30.0 renamed "chromium" style to "yapf". Bug: chromium:1306598 Change-Id: I2a637d2c5d64f81ba411b1c0d07339ad7480bd66 | 3 years ago |
| update AUTHORS Bug: webp:427525168 Change-Id: Ib7eef7f6b57e1f481be8f7200d4227dcbb53a0d9 | 1 year ago |
| mv SharpYuvEstimate420Risk to extras/ There's no need for this in libsharpyuv currently. This avoids an ABI bump and library size increase. Change-Id: I3e4c79052fdb4d628a2d36491547233dd0b6dc34 | 2 years ago |
| Add -fbounds-safety to webpdecodeutils webpdecodeutils is a subset of webputils, so we add -fbounds-safety to it to ensure that the files are being compiled the same way between modules. Bug: webp:432511821 Change-Id: I5c01a87601a13c331b628c605238e645d1efa77f | 1 year ago |
| CONTRIBUTING.md: update clang-format text The project now uses clang-format --style=Google to format the code. Bug: 433996651 Change-Id: I3e4dedcb20006ef46692f89c3605d966c4880052 | 1 year ago |
| Initial commit Change-Id: I4712afb3912625e7aaccfa5160dcf78ee252f159 | 15 years ago |
| update ChangeLog Bug: webp:427525168 Change-Id: Ic3542c736a4cea3ec3b6529fe546ce9267295169 | 1 year ago |
| Make libwebp depend on libsharpyuv. Change-Id: I6d8ebfe1f855024fc0694b1aa584f71fa27b83ae | 4 years ago |
| Get AVX2 into WebP lossless Change-Id: Ifad3102c9f899a46401985515cd98f3f7a21887f | 1 year ago |
| update NEWS Bug: webp:427525168 Change-Id: I792a12dda98b1937da2bb92d4e1626caf7f44c28 | 1 year ago |
| fix typo: constitutes -> constitute Change-Id: I5b20ef41f4a810e11a4499b46b5e7dc93247beed | 11 years ago |
| patch-check: detect duplicated files Change-Id: Ia78425e7f8054d4b0b4e6b365ba0f5887cbcf2d1 Bug: b:185520507 | 4 years ago |
| bump version to 1.6.0 libwebp{,decoder} - 1.6.0 libwebp libtool - 9.0.2 libwebpdecoder libtool - 5.0.2 mux - 1.6.0 libtool - 4.2.1 demux - 1.6.0 libtool - 2.17.0 sharpyuv - 0.4.2 libtool - 1.2.1 Bug: webp:427525168 Change-Id: Icac046c653b8f0901867cb9680be0cad22314e45 | 1 year ago |
| build: just use autoreconf, avoid calling tools manually patch by Jan Engelhardt (jengelh at medozas dot de) fixes http://code.google.com/p/webp/issues/detail?id=59 Change-Id: I3fbb9124ce0b430b6340b3df5496e75cc5a9fedc | 15 years ago |
| mv SharpYuvEstimate420Risk to extras/ There's no need for this in libsharpyuv currently. This avoids an ABI bump and library size increase. Change-Id: I3e4c79052fdb4d628a2d36491547233dd0b6dc34 | 2 years ago |
| add codereview.settings Allow uploading changes with 'git cl upload' Change-Id: I5c96ff42a00656978980624a863f78fb10de033b | 7 years ago |
| configure: add -Wself-assign Bug: 432511225 Change-Id: I4e074909221ac4c0a26613d4441ea00c430bcb94 | 1 year ago |
| Add gradle support Change-Id: I8d522e582959e1a17605430316c1506349a7193c | 10 years ago |
| update gradle to 6.1.1 somewhat arbitrary version selection, but this matches what's currently in use in ExoPlayer in the dev-v2 branch fixes: FAILURE: Build failed with an exception. * What went wrong: Could not determine java version from '11.0.9.1'. and removes the wrapper task as this is predefined in later versions: Build file '/home/jzern/external/libwebp/build.gradle' line: 437 * What went wrong: A problem occurred evaluating root project 'libwebp'. > Cannot add task 'wrapper' as a task with that name already exists. Change-Id: Ib9ef757d874cd6d4b08da3e7cef3ac5316935966 | 5 years ago |
| update gradle to 6.1.1 somewhat arbitrary version selection, but this matches what's currently in use in ExoPlayer in the dev-v2 branch fixes: FAILURE: Build failed with an exception. * What went wrong: Could not determine java version from '11.0.9.1'. and removes the wrapper task as this is predefined in later versions: Build file '/home/jzern/external/libwebp/build.gradle' line: 437 * What went wrong: A problem occurred evaluating root project 'libwebp'. > Cannot add task 'wrapper' as a task with that name already exists. Change-Id: Ib9ef757d874cd6d4b08da3e7cef3ac5316935966 | 5 years ago |
| {xcframework,ios}build.sh: remove 32-bit targets The armv7, armv7s and i386 iOS targets were deprecated in Xcode 14 [1] and failed to build with Xcode 16.4. [1]: https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes Building iOS projects with deployment targets for the armv7, armv7s, and i386 architectures is no longer supported. (92831716) Change-Id: I08d376fea64638d056258798bd7e586ca6880454 | 1 year ago |
| mv SharpYuvEstimate420Risk to extras/ There's no need for this in libsharpyuv currently. This avoids an ABI bump and library size increase. Change-Id: I3e4c79052fdb4d628a2d36491547233dd0b6dc34 | 2 years ago |
| {xcframework,ios}build.sh: remove 32-bit targets The armv7, armv7s and i386 iOS targets were deprecated in Xcode 14 [1] and failed to build with Xcode 16.4. [1]: https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes Building iOS projects with deployment targets for the armv7, armv7s, and i386 architectures is no longer supported. (92831716) Change-Id: I08d376fea64638d056258798bd7e586ca6880454 | 1 year ago |