| Index: third_party/libwebp/dsp/lossless.h
|
| diff --git a/third_party/libwebp/dsp/lossless.h b/third_party/libwebp/dsp/lossless.h
|
| index 0ac4ecb8490491cbf92459b1ffa1a911392b3e9c..7490ec8efe21ebd23a93a18dc9eae014a85b534c 100644
|
| --- a/third_party/libwebp/dsp/lossless.h
|
| +++ b/third_party/libwebp/dsp/lossless.h
|
| @@ -1,8 +1,10 @@
|
| // Copyright 2012 Google Inc. All Rights Reserved.
|
| //
|
| -// This code is licensed under the same terms as WebM:
|
| -// Software License Agreement: http://www.webmproject.org/license/software/
|
| -// Additional IP Rights Grant: http://www.webmproject.org/license/additional/
|
| +// 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.
|
| @@ -33,6 +35,13 @@ void VP8LInverseTransform(const struct VP8LTransform* const transform,
|
| int row_start, int row_end,
|
| const uint32_t* const in, uint32_t* const out);
|
|
|
| +// Similar to the static method ColorIndexInverseTransform() that is part of
|
| +// lossless.c, but used only for alpha decoding. It takes uint8_t (rather than
|
| +// uint32_t) arguments for 'src' and 'dst'.
|
| +void VP8LColorIndexInverseTransformAlpha(
|
| + const struct VP8LTransform* const transform, int y_start, int y_end,
|
| + const uint8_t* src, uint8_t* dst);
|
| +
|
| // Subtracts green from blue and red channels.
|
| void VP8LSubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixs);
|
|
|
| @@ -83,6 +92,9 @@ static WEBP_INLINE uint32_t VP8LSubPixels(uint32_t a, uint32_t b) {
|
| return (alpha_and_green & 0xff00ff00u) | (red_and_blue & 0x00ff00ffu);
|
| }
|
|
|
| +void VP8LBundleColorMap(const uint8_t* const row, int width,
|
| + int xbits, uint32_t* const dst);
|
| +
|
| //------------------------------------------------------------------------------
|
|
|
| #if defined(__cplusplus) || defined(c_plusplus)
|
|
|