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

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

Issue 2651883004: libwebp-0.6.0-rc1 (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « third_party/libwebp/enc/cost_enc.c ('k') | third_party/libwebp/enc/delta_palettization.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/libwebp/enc/cost_enc.c ('k') | third_party/libwebp/enc/delta_palettization.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698