| OLD | NEW |
| 1 // Copyright 2013 Google Inc. All Rights Reserved. | 1 // Copyright 2013 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 // Alpha decoder: internal header. | 10 // Alpha decoder: internal header. |
| 11 // | 11 // |
| 12 // Author: Urvang (urvang@google.com) | 12 // Author: Urvang (urvang@google.com) |
| 13 | 13 |
| 14 #ifndef WEBP_DEC_ALPHAI_H_ | 14 #ifndef WEBP_DEC_ALPHAI_H_ |
| 15 #define WEBP_DEC_ALPHAI_H_ | 15 #define WEBP_DEC_ALPHAI_H_ |
| 16 | 16 |
| 17 #include "./webpi.h" | 17 #include "./webpi_dec.h" |
| 18 #include "../utils/filters.h" | 18 #include "../utils/filters_utils.h" |
| 19 | 19 |
| 20 #ifdef __cplusplus | 20 #ifdef __cplusplus |
| 21 extern "C" { | 21 extern "C" { |
| 22 #endif | 22 #endif |
| 23 | 23 |
| 24 struct VP8LDecoder; // Defined in dec/vp8li.h. | 24 struct VP8LDecoder; // Defined in dec/vp8li.h. |
| 25 | 25 |
| 26 typedef struct ALPHDecoder ALPHDecoder; | 26 typedef struct ALPHDecoder ALPHDecoder; |
| 27 struct ALPHDecoder { | 27 struct ALPHDecoder { |
| 28 int width_; | 28 int width_; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 45 // Deallocate memory associated to dec->alpha_plane_ decoding | 45 // Deallocate memory associated to dec->alpha_plane_ decoding |
| 46 void WebPDeallocateAlphaMemory(VP8Decoder* const dec); | 46 void WebPDeallocateAlphaMemory(VP8Decoder* const dec); |
| 47 | 47 |
| 48 //------------------------------------------------------------------------------ | 48 //------------------------------------------------------------------------------ |
| 49 | 49 |
| 50 #ifdef __cplusplus | 50 #ifdef __cplusplus |
| 51 } // extern "C" | 51 } // extern "C" |
| 52 #endif | 52 #endif |
| 53 | 53 |
| 54 #endif /* WEBP_DEC_ALPHAI_H_ */ | 54 #endif /* WEBP_DEC_ALPHAI_H_ */ |
| OLD | NEW |