libwebp/src/enc
Nico Weber af650c0bd2 Fix a Wxor-used-as-pow false positive
Since people seem to write "2 ^ X" hoping that it means "1 << X", clang
recently added a warning for this pattern.

It incorrectly fires on this file. To suppress it, restructure the code
to be less clever. (Alternatively we could use "xor" instead of "^" or
write "0x2" instead of "2" but both seem worse.)

No intended behavior change.

Bug: chromium:995200
Change-Id: I64744345be5f5a8cd1f4aaeaf0982da239b378a7
2019-09-04 23:35:46 -07:00
..
alpha_enc.c [CFI] Remove function pointer casts 2018-04-02 16:57:14 -07:00
analysis_enc.c remove some minor TODOs 2018-10-17 10:48:19 +02:00
backward_references_cost_enc.c Speed-up: Make sure we only initialize histograms when needed. 2018-10-31 11:54:09 +00:00
backward_references_enc.c tag the GetPixPairHash64() function for potential uint roll-over 2019-01-23 21:29:54 +01:00
backward_references_enc.h Remove useless code. 2017-11-08 10:52:49 +01:00
config_enc.c WIP: list includes as descendants of the project dir 2017-10-10 23:04:05 -07:00
cost_enc.c WIP: list includes as descendants of the project dir 2017-10-10 23:04:05 -07:00
cost_enc.h cosmetics: normalize include guard comment 2018-08-22 14:46:53 -07:00
filter_enc.c add WEBP_REDUCE_SIZE 2017-11-22 17:35:39 -08:00
frame_enc.c fix block-count[] increment in case of large image 2017-12-27 17:12:58 +01:00
histogram_enc.c cosmetics: normalize '*' association 2019-07-26 01:04:09 -07:00
histogram_enc.h Speed-up: Make sure we only initialize histograms when needed. 2018-11-02 17:40:00 -07:00
iterator_enc.c VP8IteratorImport: add missing 'const' 2018-10-02 14:46:27 +00:00
Makefile.am remove WEBP_EXPERIMENTAL_FEATURES 2018-02-09 10:25:11 -08:00
near_lossless_enc.c add WEBP_DSP_INIT / WEBP_DSP_INIT_FUNC 2018-04-17 11:45:34 +00:00
picture_csp_enc.c Fix a Wxor-used-as-pow false positive 2019-09-04 23:35:46 -07:00
picture_enc.c WEBP_REDUCE_CSP: restrict colorspace support 2017-11-26 08:44:08 +00:00
picture_psnr_enc.c WebPPictureDistortion: fix big-endian results order 2018-02-20 11:52:41 -08:00
picture_rescale_enc.c add WEBP_REDUCE_SIZE 2017-11-22 17:35:39 -08:00
picture_tools_enc.c clean-up WebPBlendAlpha 2018-10-02 13:57:12 +00:00
predictor_enc.c predictor_enc,GetBestGreenRedToBlue: quiet implicit conv warnings 2019-05-31 00:06:23 -07:00
quant_enc.c Fix the oscillating prediction problem at low quality 2019-07-03 08:40:41 -07:00
syntax_enc.c enc: disable pic->stats/extra_info w/WEBP_DISABLE_STATS 2017-11-22 17:04:01 -08:00
token_enc.c remove unused VP8TokenToStats() function 2017-10-20 04:29:45 -07:00
tree_enc.c WIP: list includes as descendants of the project dir 2017-10-10 23:04:05 -07:00
vp8i_enc.h cosmetics: normalize '*' association 2019-07-26 01:04:09 -07:00
vp8l_enc.c Simpler histogram clustering. 2018-11-11 10:59:34 +01:00
vp8li_enc.h cosmetics: normalize include guard comment 2018-08-22 14:46:53 -07:00
webp_enc.c enable DC error-diffusion always for multi-pass 2017-12-12 15:00:45 +01:00