Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: third_party/libwebp/enc/delta_palettization.h

Issue 1546003002: libwebp: update to 0.5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase around clang-cl fix Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 Google Inc. All Rights Reserved.
2 //
3 // Use of this source code is governed by a BSD-style license
4 // that can be found in the COPYING file in the root of the source
5 // tree. An additional intellectual property rights grant can be found
6 // in the file PATENTS. All contributing project authors may
7 // be found in the AUTHORS file in the root of the source tree.
8 // -----------------------------------------------------------------------------
9 //
10 // Author: Mislav Bradac (mislavm@google.com)
11 //
12
13 #ifndef WEBP_ENC_DELTA_PALETTIZATION_H_
14 #define WEBP_ENC_DELTA_PALETTIZATION_H_
15
16 #include "../webp/encode.h"
17 #include "../enc/vp8li.h"
18
19 // Replaces enc->argb_[] input by a palettizable approximation of it,
20 // and generates optimal enc->palette_[].
21 // This function can revert enc->use_palette_ / enc->use_predict_ flag
22 // if delta-palettization is not producing expected saving.
23 WebPEncodingError WebPSearchOptimalDeltaPalette(VP8LEncoder* const enc);
24
25 #endif // WEBP_ENC_DELTA_PALETTIZATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698