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

Side by Side Diff: third_party/libwebp/enc/delta_palettization_enc.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
OLDNEW
1 // Copyright 2015 Google Inc. All Rights Reserved. 1 // Copyright 2015 Google Inc. All Rights Reserved.
2 // 2 //
3 // Use of this source code is governed by a BSD-style license 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 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 5 // tree. An additional intellectual property rights grant can be found
6 // in the file PATENTS. All contributing project authors may 6 // in the file PATENTS. All contributing project authors may
7 // be found in the AUTHORS file in the root of the source tree. 7 // be found in the AUTHORS file in the root of the source tree.
8 // ----------------------------------------------------------------------------- 8 // -----------------------------------------------------------------------------
9 // 9 //
10 // Author: Mislav Bradac (mislavm@google.com) 10 // Author: Mislav Bradac (mislavm@google.com)
11 // 11 //
12 12
13 #ifndef WEBP_ENC_DELTA_PALETTIZATION_H_ 13 #ifndef WEBP_ENC_DELTA_PALETTIZATION_H_
14 #define WEBP_ENC_DELTA_PALETTIZATION_H_ 14 #define WEBP_ENC_DELTA_PALETTIZATION_H_
15 15
16 #include "../webp/encode.h" 16 #include "../webp/encode.h"
17 #include "../enc/vp8li.h" 17 #include "../enc/vp8li_enc.h"
18 18
19 // Replaces enc->argb_[] input by a palettizable approximation of it, 19 // Replaces enc->argb_[] input by a palettizable approximation of it,
20 // and generates optimal enc->palette_[]. 20 // and generates optimal enc->palette_[].
21 // This function can revert enc->use_palette_ / enc->use_predict_ flag 21 // This function can revert enc->use_palette_ / enc->use_predict_ flag
22 // if delta-palettization is not producing expected saving. 22 // if delta-palettization is not producing expected saving.
23 WebPEncodingError WebPSearchOptimalDeltaPalette(VP8LEncoder* const enc); 23 WebPEncodingError WebPSearchOptimalDeltaPalette(VP8LEncoder* const enc);
24 24
25 #endif // WEBP_ENC_DELTA_PALETTIZATION_H_ 25 #endif // WEBP_ENC_DELTA_PALETTIZATION_H_
OLDNEW
« no previous file with comments | « third_party/libwebp/enc/delta_palettization.c ('k') | third_party/libwebp/enc/delta_palettization_enc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698