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

Side by Side Diff: third_party/libwebp/dec/vp8li_dec.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/dec/vp8li.h ('k') | third_party/libwebp/dec/webp.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 Google Inc. All Rights Reserved. 1 // Copyright 2012 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 // Lossless decoder: internal header. 10 // Lossless decoder: internal header.
11 // 11 //
12 // Author: Skal (pascal.massimino@gmail.com) 12 // Author: Skal (pascal.massimino@gmail.com)
13 // Vikas Arora(vikaas.arora@gmail.com) 13 // Vikas Arora(vikaas.arora@gmail.com)
14 14
15 #ifndef WEBP_DEC_VP8LI_H_ 15 #ifndef WEBP_DEC_VP8LI_H_
16 #define WEBP_DEC_VP8LI_H_ 16 #define WEBP_DEC_VP8LI_H_
17 17
18 #include <string.h> // for memcpy() 18 #include <string.h> // for memcpy()
19 #include "./webpi.h" 19 #include "./webpi_dec.h"
20 #include "../utils/bit_reader.h" 20 #include "../utils/bit_reader_utils.h"
21 #include "../utils/color_cache.h" 21 #include "../utils/color_cache_utils.h"
22 #include "../utils/huffman.h" 22 #include "../utils/huffman_utils.h"
23 23
24 #ifdef __cplusplus 24 #ifdef __cplusplus
25 extern "C" { 25 extern "C" {
26 #endif 26 #endif
27 27
28 typedef enum { 28 typedef enum {
29 READ_DATA = 0, 29 READ_DATA = 0,
30 READ_HDR = 1, 30 READ_HDR = 1,
31 READ_DIM = 2 31 READ_DIM = 2
32 } VP8LDecodeState; 32 } VP8LDecodeState;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // Clears and deallocate a lossless decoder instance. 126 // Clears and deallocate a lossless decoder instance.
127 void VP8LDelete(VP8LDecoder* const dec); 127 void VP8LDelete(VP8LDecoder* const dec);
128 128
129 //------------------------------------------------------------------------------ 129 //------------------------------------------------------------------------------
130 130
131 #ifdef __cplusplus 131 #ifdef __cplusplus
132 } // extern "C" 132 } // extern "C"
133 #endif 133 #endif
134 134
135 #endif /* WEBP_DEC_VP8LI_H_ */ 135 #endif /* WEBP_DEC_VP8LI_H_ */
OLDNEW
« no previous file with comments | « third_party/libwebp/dec/vp8li.h ('k') | third_party/libwebp/dec/webp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698