| OLD | NEW |
| 1 // Copyright 2010 Google Inc. All Rights Reserved. | 1 // Copyright 2010 Google Inc. All Rights Reserved. |
| 2 // | 2 // |
| 3 // This code is licensed under the same terms as WebM: | 3 // Use of this source code is governed by a BSD-style license |
| 4 // Software License Agreement: http://www.webmproject.org/license/software/ | 4 // that can be found in the COPYING file in the root of the source |
| 5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ | 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. |
| 6 // ----------------------------------------------------------------------------- | 8 // ----------------------------------------------------------------------------- |
| 7 // | 9 // |
| 8 // Low-level API for VP8 decoder | 10 // Low-level API for VP8 decoder |
| 9 // | 11 // |
| 10 // Author: Skal (pascal.massimino@gmail.com) | 12 // Author: Skal (pascal.massimino@gmail.com) |
| 11 | 13 |
| 12 #ifndef WEBP_WEBP_DECODE_VP8_H_ | 14 #ifndef WEBP_WEBP_DECODE_VP8_H_ |
| 13 #define WEBP_WEBP_DECODE_VP8_H_ | 15 #define WEBP_WEBP_DECODE_VP8_H_ |
| 14 | 16 |
| 15 #include "../webp/decode.h" | 17 #include "../webp/decode.h" |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 // width/height/has_alpha can be passed NULL. | 175 // width/height/has_alpha can be passed NULL. |
| 174 WEBP_EXTERN(int) VP8LGetInfo( | 176 WEBP_EXTERN(int) VP8LGetInfo( |
| 175 const uint8_t* data, size_t data_size, // data available so far | 177 const uint8_t* data, size_t data_size, // data available so far |
| 176 int* const width, int* const height, int* const has_alpha); | 178 int* const width, int* const height, int* const has_alpha); |
| 177 | 179 |
| 178 #if defined(__cplusplus) || defined(c_plusplus) | 180 #if defined(__cplusplus) || defined(c_plusplus) |
| 179 } // extern "C" | 181 } // extern "C" |
| 180 #endif | 182 #endif |
| 181 | 183 |
| 182 #endif /* WEBP_WEBP_DECODE_VP8_H_ */ | 184 #endif /* WEBP_WEBP_DECODE_VP8_H_ */ |
| OLD | NEW |