libwebp Licenses

Copyright (c) 2010, Google Inc. All rights reserved.

BSD 3-Clause License (With Google Inc Reference)

---

## Files:

PRESUBMIT.py

infra/common.sh

infra/compile.sh

infra/compile_android.sh

infra/compile_js.sh

infra/run_static_analysis.sh

Copyright (c) 2021, Google Inc. All rights reserved.

BSD 3-Clause License (With Google Inc Reference)

## Files:

sharpyuv/sharpyuv_dsp.h

Copyright 2022 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Speed-critical functions for Sharp YUV.

## Files:

imageio/image_enc.h

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

All-in-one library to save PNG/JPEG/WebP/TIFF/WIC images.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/cost_sse2.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE2 version of cost functions

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/dec_clip_tables.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Clipping tables for filtering

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/webp/format_constants.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Internal header for constants related to WebP file format.

Author: Urvang (urvang@google.com)

## Files:

src/dsp/cost_mips32.c

src/dsp/cost_mips_dsp_r2.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Author: Djordje Pesut (djordje.pesut@imgtec.com)

## Files:

extras/extras.h

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

## Files:

src/dsp/filters.c

src/utils/filters_utils.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Spatial prediction using various filters

Author: Urvang (urvang@google.com)

## Files:

src/utils/bit_writer_utils.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Bit writing and boolean coder

Author: Skal (pascal.massimino@gmail.com)

Vikas Arora (vikaas.arora@gmail.com)

## Files:

src/enc/alpha_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Alpha-plane compression.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/webp/mux.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

RIFF container manipulation and encoding for WebP images.

Authors: Urvang (urvang@google.com)

Vikas (vikasa@google.com)

## Files:

sharpyuv/sharpyuv_csp.c

sharpyuv/sharpyuv_csp.h

Copyright 2022 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Colorspace utilities.

## Files:

src/dsp/rescaler_sse2.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE2 Rescaling functions

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dec/vp8i_dec.h

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

VP8 decoder: internal header.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dec/quant_dec.c

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Quantizer initialization

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/enc/syntax_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Header syntax writing

Author: Skal (pascal.massimino@gmail.com)

## Files:

ltmain.sh

This is free software. There is NO warranty; not even for

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Copyright (C) 2004-2019, 2021 Bootstrap Authors

This file is dual licensed under the terms of the MIT license

https://opensource.org/license/MIT, and GPL version 2 or later

http://www.gnu.org/licenses/gpl-2.0.html. You must apply one of

these licenses when using or redistributing this software or any of

the files within it. See the URLs above, or the file `LICENSE`

included in the Bootstrap distribution for the full license texts.

## Files:

src/dsp/filters_mips_dsp_r2.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Spatial prediction using various filters

Author(s): Branimir Vasic (branimir.vasic@imgtec.com)

Djordje Pesut (djordje.pesut@imgtec.com)

## Files:

src/mux/animi.h

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Internal header for animation related functions.

Author: Hui Su (huisu@google.com)

## Files:

src/dsp/upsampling_mips_dsp_r2.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

YUV to RGB upsampling functions.

Author(s): Branimir Vasic (branimir.vasic@imgtec.com)

Djordje Pesut (djordje.pesut@imgtec.com)

## Files:

src/utils/utils.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Misc. common utility functions

Authors: Skal (pascal.massimino@gmail.com)

Urvang (urvang@google.com)

## Files:

tests/fuzzer/animdecoder_fuzzer.cc

Copyright 2020 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

//////////////////////////////////////////////////////////////////////////////

## Files:

examples/anim_diff.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Checks if given pair of animated GIF/WebP images are identical:

That is: their reconstructed canvases match pixel-by-pixel and their other

animation properties (loop count etc) also match.

example: anim_diff foo.gif bar.webp

## Files:

src/dec/vp8l_dec.c

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

main entry for the decoder

Authors: Vikas Arora (vikaas.arora@gmail.com)

Jyrki Alakuijala (jyrki@google.com)

## Files:

src/mux/muxi.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Internal header for mux library.

Author: Urvang (urvang@google.com)

## Files:

src/utils/bit_writer_utils.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Bit writing and boolean coder

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/utils/color_cache_utils.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Color Cache for WebP Lossless

Authors: Jyrki Alakuijala (jyrki@google.com)

Urvang Joshi (urvang@google.com)

## Files:

tests/fuzzer/advanced_api_fuzzer.c

tests/fuzzer/animation_api_fuzzer.c

tests/fuzzer/animencoder_fuzzer.cc

tests/fuzzer/enc_dec_fuzzer.cc

tests/fuzzer/fuzz_utils.h

tests/fuzzer/img_alpha.h

tests/fuzzer/img_grid.h

tests/fuzzer/img_peak.h

tests/fuzzer/mux_demux_api_fuzzer.c

tests/fuzzer/simple_api_fuzzer.c

Copyright 2018 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

//////////////////////////////////////////////////////////////////////////////

## Files:

src/utils/bit_reader_utils.h

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Boolean decoder

Author: Skal (pascal.massimino@gmail.com)

Vikas Arora (vikaas.arora@gmail.com)

## Files:

src/dsp/alpha_processing_mips_dsp_r2.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Utilities for processing transparent channel.

Author(s): Branimir Vasic (branimir.vasic@imgtec.com)

Djordje Pesut (djordje.pesut@imgtec.com)

## Files:

imageio/wicdec.c

imageio/wicdec.h

Copyright 2013 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Windows Imaging Component (WIC) decode.

## Files:

src/dsp/dec.c

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Speed-critical decoding functions, default plain-C implementations.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/lossless_mips_dsp_r2.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Image transforms and color space conversion methods for lossless decoder.

Author(s): Djordje Pesut (djordje.pesut@imgtec.com)

Jovan Zelincevic (jovan.zelincevic@imgtec.com)

## Files:

src/dsp/filters_neon.c

Copyright 2017 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

NEON variant of alpha filters

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/enc/vp8l_enc.c

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

main entry for the lossless encoder.

Author: Vikas Arora (vikaas.arora@gmail.com)

## Files:

src/dsp/lossless_msa.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MSA variant of methods for lossless decoder

Author: Prashant Patil (prashant.patil@imgtec.com)

## Files:

src/dsp/enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Speed-critical encoding functions.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/cost.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/utils/quant_levels_dec_utils.c

Copyright 2013 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Implement gradient smoothing: we replace a current alpha value by its

surrounding average if it's close enough (that is: the change will be less

than the minimum distance between two quantized level).

We use sliding window for computing the 2d moving average.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dec/alpha_dec.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Alpha-plane decompression.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/webp/demux.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Demux API.

Enables extraction of image and extended format data from WebP files.

## Files:

extras/get_disto.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Simple tool to load two webp/png/jpg/tiff files and compute PSNR/SSIM.

This is mostly a wrapper around WebPPictureDistortion().

## Files:

src/dsp/upsampling_sse41.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE41 version of YUV to RGB upsampling functions.

Author: somnath@google.com (Somnath Banerjee)

## Files:

sharpyuv/sharpyuv_cpu.c

sharpyuv/sharpyuv_cpu.h

Copyright 2022 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

## Files:

PATENTS

Additional IP Rights Grant (Patents)

------------------------------------

"These implementations" means the copyrightable works that implement the WebM

codecs distributed by Google as part of the WebM Project.

Google hereby grants to you a perpetual, worldwide, non-exclusive, no-charge,

royalty-free, irrevocable (except as stated in this section) patent license to

make, have made, use, offer to sell, sell, import, transfer, and otherwise

run, modify and propagate the contents of these implementations of WebM, where

such license applies only to those patent claims, both currently owned by

Google and acquired in the future, licensable by Google that are necessarily

infringed by these implementations of WebM. This grant does not include claims

that would be infringed only as a consequence of further modification of these

implementations. If you or your agent or exclusive licensee institute or order

or agree to the institution of patent litigation or any other patent

enforcement activity against any entity (including a cross-claim or

counterclaim in a lawsuit) alleging that any of these implementations of WebM

or any code incorporated within any of these implementations of WebM

constitute direct or contributory patent infringement, or inducement of

patent infringement, then any patent rights granted to you under this License

for these implementations of WebM shall terminate as of the date such

litigation is filed.

## Files:

imageio/image_dec.h

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

All-in-one library to decode PNG/JPEG/WebP/TIFF/WIC input images.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/lossless.c

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Image transforms and color space conversion methods for lossless decoder.

Authors: Vikas Arora (vikaas.arora@gmail.com)

Jyrki Alakuijala (jyrki@google.com)

Urvang Joshi (urvang@google.com)

## Files:

src/dsp/yuv_sse2.c

src/dsp/yuv_sse41.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

YUV->RGB conversion functions

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/lossless_common.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Image transforms and color space conversion methods for lossless decoder.

Authors: Vikas Arora (vikaas.arora@gmail.com)

Jyrki Alakuijala (jyrki@google.com)

Vincent Rabaud (vrabaud@google.com)

## Files:

src/dsp/rescaler_msa.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MSA version of rescaling functions

Author: Prashant Patil (prashant.patil@imgtec.com)

## Files:

src/mux/anim_encode.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

AnimEncoder implementation.

## Files:

src/utils/huffman_utils.c

src/utils/huffman_utils.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Utilities for building and looking up Huffman trees.

Author: Urvang Joshi (urvang@google.com)

## Files:

src/dsp/lossless_enc_mips_dsp_r2.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Image transform methods for lossless encoder.

Author(s): Djordje Pesut (djordje.pesut@imgtec.com)

Jovan Zelincevic (jovan.zelincevic@imgtec.com)

## Files:

src/utils/thread_utils.c

src/utils/thread_utils.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Multi-threaded worker

Author: Skal (pascal.massimino@gmail.com)

## Files:

imageio/image_dec.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Generic image-type guessing.

## Files:

src/utils/color_cache_utils.c

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Color Cache for WebP Lossless

Author: Jyrki Alakuijala (jyrki@google.com)

## Files:

src/dec/vp8li_dec.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Lossless decoder: internal header.

Author: Skal (pascal.massimino@gmail.com)

Vikas Arora(vikaas.arora@gmail.com)

## Files:

src/dsp/dec_neon.c

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

ARM NEON version of dsp functions and loop filtering.

Authors: Somnath Banerjee (somnath@google.com)

Johann Koenig (johannkoenig@google.com)

## Files:

src/dsp/quant.h

Copyright 2018 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

## Files:

src/dsp/ssim_sse2.c

Copyright 2017 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE2 version of distortion calculation

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dec/common_dec.h

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Definitions and macros common to encoding and decoding

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/yuv.h

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

## Files:

examples/unicode_gif.h

Copyright 2018 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

giflib doesn't have a Unicode DGifOpenFileName(). Let's make one.

Author: Yannis Guyon (yguyon@google.com)

## Files:

src/dec/webpi_dec.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Internal header: WebP decoding parameters and custom IO on buffer

Author: somnath@google.com (Somnath Banerjee)

## Files:

examples/img2webp.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

generate an animated WebP out of a sequence of images

(PNG, JPEG, ...)

Example usage:

img2webp -o out.webp -q 40 -mixed -duration 40 input??.png

Author: skal@google.com (Pascal Massimino)

## Files:

src/webp/mux_types.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Data-types common to the mux and demux libraries.

Author: Urvang (urvang@google.com)

## Files:

src/dsp/enc_neon.c

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

ARM NEON version of speed-critical encoding functions.

adapted from libvpx (https://www.webmproject.org/code/)

## Files:

src/enc/picture_tools_enc.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

WebPPicture tools: alpha handling, etc.

Author: Skal (pascal.massimino@gmail.com)

## Files:

imageio/pnmdec.h

Copyright 2017 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

partial PNM format decoder (ppm/pgm)

## Files:

src/dsp/dsp.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Speed-critical functions.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/enc/histogram_enc.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Author: Jyrki Alakuijala (jyrki@google.com)

Models the histograms of literal and distance codes.

## Files:

src/utils/quant_levels_dec_utils.h

Copyright 2013 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Alpha plane de-quantization utility

Author: Vikas Arora (vikasa@google.com)

## Files:

src/utils/huffman_encode_utils.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Author: Jyrki Alakuijala (jyrki@google.com)

Entropy encoding (Huffman) for webp lossless

## Files:

imageio/imageio_util.c

imageio/imageio_util.h

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Utility functions used by the image decoders.

## Files:

src/enc/picture_csp_enc.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

WebPPicture utils for colorspace conversion

Author: Skal (pascal.massimino@gmail.com)

## Files:

examples/cwebp.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

simple command line calling the WebPEncode function.

Encodes a raw .YUV into WebP bitstream

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dec/io_dec.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

functions for sample output.

Author: Skal (pascal.massimino@gmail.com)

## Files:

examples/dwebp.c

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Command-line tool for decoding a WebP image.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/enc/backward_references_cost_enc.c

Copyright 2017 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Improves a given set of backward references by analyzing its bit cost.

The algorithm is similar to the Zopfli compression algorithm but tailored to

images.

Author: Vincent Rabaud (vrabaud@google.com)

## Files:

src/enc/filter_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Selecting filter level

Author: somnath@google.com (Somnath Banerjee)

## Files:

src/enc/config_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Coding tools configuration

Author: Skal (pascal.massimino@gmail.com)

## Files:

imageio/webpdec.c

imageio/webpdec.h

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

WebP decode.

## Files:

src/dsp/lossless_neon.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

NEON variant of methods for lossless decoder

Author: Skal (pascal.massimino@gmail.com)

## Files:

sharpyuv/sharpyuv_gamma.c

sharpyuv/sharpyuv_gamma.h

Copyright 2022 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Gamma correction utilities.

## Files:

src/dsp/dec_msa.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MSA version of dsp functions

Author(s): Prashant Patil (prashant.patil@imgtec.com)

## Files:

imageio/tiffdec.c

imageio/tiffdec.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

TIFF decode.

## Files:

src/webp/decode.h

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Main decoding functions for WebP images.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dec/vp8_dec.h

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Low-level API for VP8 decoder

Author: Skal (pascal.massimino@gmail.com)

## Files:

examples/gifdec.h

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

GIF decode.

## Files:

ltmain.sh

Copyright (C) 1996-2019, 2021-2022 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## Files:

src/dsp/lossless.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Image transforms and color space conversion methods for lossless decoder.

Authors: Vikas Arora (vikaas.arora@gmail.com)

Jyrki Alakuijala (jyrki@google.com)

## Files:

src/dsp/mips_macro.h

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MIPS common macros

## Files:

src/dsp/rescaler_neon.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

NEON version of rescaling functions

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/msa_macro.h

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MSA common macros

Author(s): Prashant Patil (prashant.patil@imgtec.com)

## Files:

src/dec/frame_dec.c

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Frame-reconstruction function. Memory allocation.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/yuv_mips32.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MIPS version of YUV to RGB upsampling functions.

Author(s): Djordje Pesut (djordje.pesut@imgtec.com)

Jovan Zelincevic (jovan.zelincevic@imgtec.com)

## Files:

src/enc/iterator_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

VP8Iterator: block iterator

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/enc_msa.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MSA version of encoder dsp functions.

Author: Prashant Patil (prashant.patil@imgtec.com)

## Files:

src/utils/bit_reader_utils.c

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Boolean decoder non-inlined methods

Author: Skal (pascal.massimino@gmail.com)

## Files:

examples/gif2webp.c

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

simple tool to convert animated GIFs to WebP

Authors: Skal (pascal.massimino@gmail.com)

Urvang (urvang@google.com)

## Files:

extras/webp_to_sdl.c

extras/webp_to_sdl.h

Copyright 2017 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Simple WebP-to-SDL wrapper. Useful for emscripten.

Author: James Zern (jzern@google.com)

## Files:

src/enc/picture_psnr_enc.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

WebPPicture tools for measuring distortion

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/enc_sse41.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE4 version of some encoding functions.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/yuv_neon.c

Copyright 2017 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

YUV->RGB conversion functions

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/utils/utils.c

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Misc. common utility functions

Author: Skal (pascal.massimino@gmail.com)

## Files:

examples/anim_dump.c

Copyright 2017 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Decodes an animated WebP file and dumps the decoded frames as PNG or TIFF.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/ssim.c

Copyright 2017 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

distortion calculation

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/demux/demux.c

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

WebP container demux.

## Files:

src/dsp/filters_msa.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MSA variant of alpha filters

Author: Prashant Patil (prashant.patil@imgtec.com)

## Files:

src/dec/vp8_dec.c

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

main entry for the decoder

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/enc/cost_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Cost tables for level and modes

Author: Skal (pascal.massimino@gmail.com)

## Files:

imageio/pnmdec.c

Copyright 2017 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

(limited) PNM decoder

## Files:

src/dec/buffer_dec.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Everything about WebPDecBuffer

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/rescaler_mips32.c

src/dsp/rescaler_mips_dsp_r2.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MIPS version of rescaling functions

Author(s): Djordje Pesut (djordje.pesut@imgtec.com)

## Files:

src/dsp/alpha_processing_sse2.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Utilities for processing transparent channel.

Author: Skal (pascal.massimino@gmail.com)

## Files:

extras/vwebp_sdl.c

Copyright 2017 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Simple SDL-based WebP file viewer.

Does not support animation, just static images.

Press 'q' to exit.

Author: James Zern (jzern@google.com)

## Files:

src/dsp/lossless_sse2.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE2 variant of methods for lossless decoder

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/webp/types.h

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Common types + memory wrappers

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/lossless_enc_msa.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MSA variant of Image transform methods for lossless encoder.

Authors: Prashant Patil (Prashant.Patil@imgtec.com)

## Files:

src/webp/encode.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

WebP encoder: main interface

Author: Skal (pascal.massimino@gmail.com)

## Files:

imageio/image_enc.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Save image

## Files:

examples/gifdec.c

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

GIF decode.

## Files:

src/mux/muxinternal.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Internal objects and utils for mux.

Authors: Urvang (urvang@google.com)

Vikas (vikasa@google.com)

## Files:

examples/webpinfo.c

Copyright 2017 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Command-line tool to print out the chunk level structure of WebP files

along with basic integrity checks.

Author: Hui Su (huisu@google.com)

## Files:

src/dsp/common_sse41.h

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE4 code common to several files.

Author: Vincent Rabaud (vrabaud@google.com)

## Files:

src/enc/analysis_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Macroblock analysis

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/yuv_mips_dsp_r2.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MIPS DSPr2 version of YUV to RGB upsampling functions.

Author(s): Branimir Vasic (branimir.vasic@imgtec.com)

Djordje Pesut (djordje.pesut@imgtec.com)

## Files:

src/enc/token_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Paginated token buffer

A 'token' is a bit value associated with a probability, either fixed

or a later-to-be-determined after statistics have been collected.

For dynamic probability, we just record the slot id (idx) for the probability

value in the final probability array (uint8_t* probas in VP8EmitTokens).

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/utils/quant_levels_utils.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Alpha plane quantization utility

Author: Vikas Arora (vikasa@google.com)

## Files:

sharpyuv/sharpyuv_dsp.c

sharpyuv/sharpyuv_neon.c

sharpyuv/sharpyuv_sse2.c

Copyright 2022 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Speed-critical functions for Sharp YUV.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/upsampling.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

YUV to RGB upsampling functions.

Author: somnath@google.com (Somnath Banerjee)

## Files:

src/dec/idec_dec.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Incremental decoding

Author: somnath@google.com (Somnath Banerjee)

## Files:

src/dsp/dec_mips32.c

src/dsp/dec_mips_dsp_r2.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MIPS version of dsp functions

Author(s): Djordje Pesut (djordje.pesut@imgtec.com)

Jovan Zelincevic (jovan.zelincevic@imgtec.com)

## Files:

src/enc/picture_rescale_enc.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

WebPPicture tools: copy, crop, rescaling and view.

Author: Skal (pascal.massimino@gmail.com)

## Files:

examples/stopwatch.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Helper functions to measure elapsed time.

Author: Mikolaj Zalewski (mikolajz@google.com)

## Files:

src/enc/vp8li_enc.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Lossless encoder: internal header.

Author: Vikas Arora (vikaas.arora@gmail.com)

## Files:

examples/webpmux.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Simple command-line to create a WebP container file and to extract or strip

relevant data from the container file.

Authors: Vikas (vikaas.arora@gmail.com),

Urvang (urvang@google.com)

## Files:

src/dsp/cpu.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

CPU detection

Author: Christian Duvivier (cduvivier@google.com)

## Files:

src/dsp/common_sse2.h

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE2 code common to several files.

Author: Vincent Rabaud (vrabaud@google.com)

## Files:

src/enc/quant_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Quantization

Author: Skal (pascal.massimino@gmail.com)

## Files:

extras/extras.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Additional WebP utilities.

## Files:

src/utils/quant_levels_utils.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Quantize levels for specified number of quantization-levels ([2, 256]).

Min and max values are preserved (usual 0 and 255 for alpha plane).

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/enc/cost_enc.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Cost tables for level and modes.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/enc/near_lossless_enc.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Near-lossless image preprocessing adjusts pixel values to help

compressibility with a guarantee of maximum deviation between original and

resulting pixel values.

Author: Jyrki Alakuijala (jyrki@google.com)

Converted to C by Aleksander Kramarz (akramarz@google.com)

## Files:

src/utils/bit_reader_inl_utils.h

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Specific inlined methods for boolean decoder [VP8GetBit() ...]

This file should be included by the .c sources that actually need to call

these methods.

Author: Skal (pascal.massimino@gmail.com)

## Files:

examples/example_util.c

examples/example_util.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Utility functions used by the example programs.

## Files:

src/utils/huffman_encode_utils.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Author: Jyrki Alakuijala (jyrki@google.com)

Entropy encoding (Huffman) for webp lossless.

## Files:

src/dsp/upsampling_neon.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

NEON version of YUV to RGB upsampling functions.

Author: mans@mansr.com (Mans Rullgard)

Based on SSE code by: somnath@google.com (Somnath Banerjee)

## Files:

src/dsp/neon.h

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

NEON common code.

## Files:

src/dsp/dec_sse2.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE2 version of some decoding functions (idct, loop filtering).

Author: somnath@google.com (Somnath Banerjee)

cduvivier@google.com (Christian Duvivier)

## Files:

src/utils/filters_utils.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

filter estimation

Author: Urvang (urvang@google.com)

## Files:

ltmain.sh

GNU Libtool is free software; you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation; either version 2 of the License, or

(at your option) any later version.

As a special exception to the GNU General Public License,

if you distribute this file as part of a program or library that

is built using GNU Libtool, you may include this file under the

same distribution terms that you use for the rest of that program.

GNU Libtool is distributed in the hope that it will be useful, but

WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

General Public License for more details.

You should have received a copy of the GNU General Public License

along with this program. If not, see http://www.gnu.org/licenses/.

## Files:

src/dsp/lossless_enc_mips32.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MIPS version of lossless functions

Author(s): Djordje Pesut (djordje.pesut@imgtec.com)

Jovan Zelincevic (jovan.zelincevic@imgtec.com)

## Files:

src/utils/random_utils.c

src/utils/random_utils.h

Copyright 2013 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Pseudo-random utilities

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/alpha_processing_neon.c

Copyright 2017 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Utilities for processing transparent channel, NEON version.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/enc_mips32.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MIPS version of speed-critical encoding functions.

Author(s): Djordje Pesut (djordje.pesut@imgtec.com)

Jovan Zelincevic (jovan.zelincevic@imgtec.com)

Slobodan Prijic (slobodan.prijic@imgtec.com)

## Files:

src/enc/vp8i_enc.h

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

WebP encoder: internal header.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/filters_sse2.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE2 variant of alpha filters

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/lossless_enc_sse41.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE4.1 variant of methods for lossless encoder

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/enc/predictor_enc.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Image transform methods for lossless encoder.

Authors: Vikas Arora (vikaas.arora@gmail.com)

Jyrki Alakuijala (jyrki@google.com)

Urvang Joshi (urvang@google.com)

Vincent Rabaud (vrabaud@google.com)

## Files:

src/mux/muxread.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

## Files:

extras/quality_estimate.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

VP8EstimateQuality(): rough encoding quality estimate

Author: Skal (pascal.massimino@gmail.com)

## Files:

examples/anim_util.c

examples/anim_util.h

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Utilities for animated images

## Files:

src/dsp/upsampling_msa.c

Copyright 2016 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MSA version of YUV to RGB upsampling functions.

Author: Prashant Patil (prashant.patil@imgtec.com)

## Files:

src/dsp/lossless_enc_sse2.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE2 variant of methods for lossless encoder

Author: Skal (pascal.massimino@gmail.com)

## Files:

swig/libwebp.swig

Copyright 2011 Google Inc.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

libwebp swig interface definition

Author: James Zern (jzern@google.com)

## Files:

src/utils/rescaler_utils.c

src/utils/rescaler_utils.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Rescaling functions

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/demux/anim_decode.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

AnimDecoder implementation.

## Files:

src/enc/backward_references_enc.c

src/enc/backward_references_enc.h

src/enc/histogram_enc.c

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Author: Jyrki Alakuijala (jyrki@google.com)

## Files:

src/enc/tree_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Coding of token probabilities, intra modes and segments.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/cost_neon.c

Copyright 2018 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

ARM NEON version of cost functions

## Files:

src/enc/picture_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

WebPPicture class basis

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dec/webp_dec.c

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Main decoding functions for WEBP images.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/lossless_enc.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Image transform methods for lossless encoder.

Authors: Vikas Arora (vikaas.arora@gmail.com)

Jyrki Alakuijala (jyrki@google.com)

Urvang Joshi (urvang@google.com)

## Files:

imageio/pngdec.c

imageio/pngdec.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

PNG decode.

## Files:

src/dec/tree_dec.c

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Coding trees and probas

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/lossless_sse41.c

Copyright 2021 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE41 variant of methods for lossless decoder

## Files:

src/dsp/enc_mips_dsp_r2.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

MIPS version of speed-critical encoding functions.

Author(s): Darko Laus (darko.laus@imgtec.com)

Mirko Raus (mirko.raus@imgtec.com)

## Files:

ltmain.sh

func_version

------------

Echo version message to standard output and exit.

The version message is extracted from the calling file's header

comments, with leading '# ' stripped:

1. First display the progname and version

2. Followed by the header comment line matching /^# Written by /

3. Then a blank line followed by the first following line matching

/^# Copyright /

4. Immediately followed by any lines between the previous matches,

except lines preceding the intervening completely blank line.

For example, see the header comments of this file.

## Files:

sharpyuv/sharpyuv.h

Copyright 2022 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Sharp RGB to YUV conversion.

## Files:

src/dsp/yuv.c

Copyright 2010 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

YUV->RGB conversion functions

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/cpu.h

Copyright 2022 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

CPU detection functions and macros.

Author: Skal (pascal.massimino@gmail.com)

## Files:

sharpyuv/sharpyuv.c

Copyright 2022 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Sharp RGB to YUV conversion.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/upsampling_sse2.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE2 version of YUV to RGB upsampling functions.

Author: somnath@google.com (Somnath Banerjee)

## Files:

src/utils/endian_inl_utils.h

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Endian related functions.

## Files:

examples/vwebp.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Simple OpenGL-based WebP file viewer.

Author: Skal (pascal.massimino@gmail.com)

## Files:

imageio/jpegdec.c

imageio/jpegdec.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

JPEG decode.

## Files:

src/dsp/alpha_processing_sse41.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Utilities for processing transparent channel, SSE4.1 variant.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/enc/webp_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

WebP encoder: main entry point

Author: Skal (pascal.massimino@gmail.com)

## Files:

imageio/metadata.c

imageio/metadata.h

Copyright 2012 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Metadata types and functions.

## Files:

.cmake-format.py

If comment markup is enabled, don't reflow the first comment block in each

listfile. Use this to preserve formatting of your copyright/license

statements.

## Files:

src/enc/frame_enc.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

frame coding and analysis

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/dec_sse41.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE4 version of some decoding functions.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dec/alphai_dec.h

Copyright 2013 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Alpha decoder: internal header.

Author: Urvang (urvang@google.com)

## Files:

src/dsp/alpha_processing.c

Copyright 2013 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Utilities for processing transparent channel.

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/mux/muxedit.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Set and delete APIs for mux.

Authors: Urvang (urvang@google.com)

Vikas (vikasa@google.com)

## Files:

ltmain.sh

This is free software. There is NO warranty; not even for

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Copyright (C) 2010-2019, 2021 Bootstrap Authors

This file is dual licensed under the terms of the MIT license

https://opensource.org/license/MIT, and GPL version 2 or later

http://www.gnu.org/licenses/gpl-2.0.html. You must apply one of

these licenses when using or redistributing this software or any of

the files within it. See the URLs above, or the file `LICENSE`

included in the Bootstrap distribution for the full license texts.

## Files:

examples/unicode.h

Copyright 2018 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Unicode support for Windows. The main idea is to maintain an array of Unicode

arguments (wargv) and use it only for file paths. The regular argv is used

for everything else.

Author: Yannis Guyon (yguyon@google.com)

## Files:

src/dsp/enc_sse2.c

Copyright 2011 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

SSE2 version of speed-critical encoding functions.

Author: Christian Duvivier (cduvivier@google.com)

## Files:

src/dsp/rescaler.c

Copyright 2014 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

Rescaling functions

Author: Skal (pascal.massimino@gmail.com)

## Files:

src/dsp/lossless_enc_neon.c

Copyright 2015 Google Inc. All Rights Reserved.

Use of this source code is governed by a BSD-style license

that can be found in the COPYING file in the root of the source

tree. An additional intellectual property rights grant can be found

in the file PATENTS. All contributing project authors may

be found in the AUTHORS file in the root of the source tree.

-----------------------------------------------------------------------------

NEON variant of methods for lossless encoder