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

Side by Side Diff: third_party/libwebp/dec/vp8li.h

Issue 2149863002: libwebp: update to v0.5.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/vp8l.c ('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.
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 //------------------------------------------------------------------------------ 93 //------------------------------------------------------------------------------
94 // internal functions. Not public. 94 // internal functions. Not public.
95 95
96 struct ALPHDecoder; // Defined in dec/alphai.h. 96 struct ALPHDecoder; // Defined in dec/alphai.h.
97 97
98 // in vp8l.c 98 // in vp8l.c
99 99
100 // Decodes image header for alpha data stored using lossless compression. 100 // Decodes image header for alpha data stored using lossless compression.
101 // Returns false in case of error. 101 // Returns false in case of error.
102 int VP8LDecodeAlphaHeader(struct ALPHDecoder* const alph_dec, 102 int VP8LDecodeAlphaHeader(struct ALPHDecoder* const alph_dec,
103 const uint8_t* const data, size_t data_size, 103 const uint8_t* const data, size_t data_size);
104 uint8_t* const output);
105 104
106 // Decodes *at least* 'last_row' rows of alpha. If some of the initial rows are 105 // Decodes *at least* 'last_row' rows of alpha. If some of the initial rows are
107 // already decoded in previous call(s), it will resume decoding from where it 106 // already decoded in previous call(s), it will resume decoding from where it
108 // was paused. 107 // was paused.
109 // Returns false in case of bitstream error. 108 // Returns false in case of bitstream error.
110 int VP8LDecodeAlphaImageStream(struct ALPHDecoder* const alph_dec, 109 int VP8LDecodeAlphaImageStream(struct ALPHDecoder* const alph_dec,
111 int last_row); 110 int last_row);
112 111
113 // Allocates and initialize a new lossless decoder instance. 112 // Allocates and initialize a new lossless decoder instance.
114 VP8LDecoder* VP8LNew(void); 113 VP8LDecoder* VP8LNew(void);
(...skipping 12 matching lines...) Expand all
127 // Clears and deallocate a lossless decoder instance. 126 // Clears and deallocate a lossless decoder instance.
128 void VP8LDelete(VP8LDecoder* const dec); 127 void VP8LDelete(VP8LDecoder* const dec);
129 128
130 //------------------------------------------------------------------------------ 129 //------------------------------------------------------------------------------
131 130
132 #ifdef __cplusplus 131 #ifdef __cplusplus
133 } // extern "C" 132 } // extern "C"
134 #endif 133 #endif
135 134
136 #endif /* WEBP_DEC_VP8LI_H_ */ 135 #endif /* WEBP_DEC_VP8LI_H_ */
OLDNEW
« no previous file with comments | « third_party/libwebp/dec/vp8l.c ('k') | third_party/libwebp/dec/webp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698