| OLD | NEW |
| 1 // Copyright 2011 Google Inc. All Rights Reserved. | 1 // Copyright 2011 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 // Internal header: WebP decoding parameters and custom IO on buffer | 10 // Internal header: WebP decoding parameters and custom IO on buffer |
| 11 // | 11 // |
| 12 // Author: somnath@google.com (Somnath Banerjee) | 12 // Author: somnath@google.com (Somnath Banerjee) |
| 13 | 13 |
| 14 #ifndef WEBP_DEC_WEBPI_H_ | 14 #ifndef WEBP_DEC_WEBPI_H_ |
| 15 #define WEBP_DEC_WEBPI_H_ | 15 #define WEBP_DEC_WEBPI_H_ |
| 16 | 16 |
| 17 #if defined(__cplusplus) || defined(c_plusplus) | 17 #ifdef __cplusplus |
| 18 extern "C" { | 18 extern "C" { |
| 19 #endif | 19 #endif |
| 20 | 20 |
| 21 #include "../utils/rescaler.h" | 21 #include "../utils/rescaler.h" |
| 22 #include "./decode_vp8.h" | 22 #include "./decode_vp8.h" |
| 23 | 23 |
| 24 //------------------------------------------------------------------------------ | 24 //------------------------------------------------------------------------------ |
| 25 // WebPDecParams: Decoding output parameters. Transient internal object. | 25 // WebPDecParams: Decoding output parameters. Transient internal object. |
| 26 | 26 |
| 27 typedef struct WebPDecParams WebPDecParams; | 27 typedef struct WebPDecParams WebPDecParams; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 void WebPCopyDecBuffer(const WebPDecBuffer* const src, | 102 void WebPCopyDecBuffer(const WebPDecBuffer* const src, |
| 103 WebPDecBuffer* const dst); | 103 WebPDecBuffer* const dst); |
| 104 | 104 |
| 105 // Copy and transfer ownership from src to dst (beware of parameter order!) | 105 // Copy and transfer ownership from src to dst (beware of parameter order!) |
| 106 void WebPGrabDecBuffer(WebPDecBuffer* const src, WebPDecBuffer* const dst); | 106 void WebPGrabDecBuffer(WebPDecBuffer* const src, WebPDecBuffer* const dst); |
| 107 | 107 |
| 108 | 108 |
| 109 | 109 |
| 110 //------------------------------------------------------------------------------ | 110 //------------------------------------------------------------------------------ |
| 111 | 111 |
| 112 #if defined(__cplusplus) || defined(c_plusplus) | 112 #ifdef __cplusplus |
| 113 } // extern "C" | 113 } // extern "C" |
| 114 #endif | 114 #endif |
| 115 | 115 |
| 116 #endif /* WEBP_DEC_WEBPI_H_ */ | 116 #endif /* WEBP_DEC_WEBPI_H_ */ |
| OLD | NEW |