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

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

Issue 116213006: Update libwebp to 0.4.0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: After Blink Roll Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « third_party/libwebp/enc/vp8l.c ('k') | third_party/libwebp/enc/webpenc.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 encoder: internal header. 10 // Lossless encoder: internal header.
11 // 11 //
12 // Author: Vikas Arora (vikaas.arora@gmail.com) 12 // Author: Vikas Arora (vikaas.arora@gmail.com)
13 13
14 #ifndef WEBP_ENC_VP8LI_H_ 14 #ifndef WEBP_ENC_VP8LI_H_
15 #define WEBP_ENC_VP8LI_H_ 15 #define WEBP_ENC_VP8LI_H_
16 16
17 #include "./histogram.h" 17 #include "./histogram.h"
18 #include "../utils/bit_writer.h" 18 #include "../utils/bit_writer.h"
19 #include "../webp/encode.h" 19 #include "../webp/encode.h"
20 #include "../webp/format_constants.h" 20 #include "../webp/format_constants.h"
21 21
22 #if defined(__cplusplus) || defined(c_plusplus) 22 #ifdef __cplusplus
23 extern "C" { 23 extern "C" {
24 #endif 24 #endif
25 25
26 typedef struct { 26 typedef struct {
27 const WebPConfig* config_; // user configuration and parameters 27 const WebPConfig* config_; // user configuration and parameters
28 const WebPPicture* pic_; // input picture. 28 const WebPPicture* pic_; // input picture.
29 29
30 uint32_t* argb_; // Transformed argb image data. 30 uint32_t* argb_; // Transformed argb image data.
31 uint32_t* argb_scratch_; // Scratch memory for argb rows 31 uint32_t* argb_scratch_; // Scratch memory for argb rows
32 // (used for prediction). 32 // (used for prediction).
(...skipping 23 matching lines...) Expand all
56 int VP8LEncodeImage(const WebPConfig* const config, 56 int VP8LEncodeImage(const WebPConfig* const config,
57 const WebPPicture* const picture); 57 const WebPPicture* const picture);
58 58
59 // Encodes the main image stream using the supplied bit writer. 59 // Encodes the main image stream using the supplied bit writer.
60 WebPEncodingError VP8LEncodeStream(const WebPConfig* const config, 60 WebPEncodingError VP8LEncodeStream(const WebPConfig* const config,
61 const WebPPicture* const picture, 61 const WebPPicture* const picture,
62 VP8LBitWriter* const bw); 62 VP8LBitWriter* const bw);
63 63
64 //------------------------------------------------------------------------------ 64 //------------------------------------------------------------------------------
65 65
66 #if defined(__cplusplus) || defined(c_plusplus) 66 #ifdef __cplusplus
67 } // extern "C" 67 } // extern "C"
68 #endif 68 #endif
69 69
70 #endif /* WEBP_ENC_VP8LI_H_ */ 70 #endif /* WEBP_ENC_VP8LI_H_ */
OLDNEW
« no previous file with comments | « third_party/libwebp/enc/vp8l.c ('k') | third_party/libwebp/enc/webpenc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698