| OLD | NEW |
| 1 // Copyright 2011 Google Inc. All Rights Reserved. | 1 // Copyright 2011 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 // Bit writing and boolean coder | 10 // Bit writing and boolean coder |
| 9 // | 11 // |
| 10 // Author: Skal (pascal.massimino@gmail.com) | 12 // Author: Skal (pascal.massimino@gmail.com) |
| 11 | 13 |
| 12 #ifndef WEBP_UTILS_BIT_WRITER_H_ | 14 #ifndef WEBP_UTILS_BIT_WRITER_H_ |
| 13 #define WEBP_UTILS_BIT_WRITER_H_ | 15 #define WEBP_UTILS_BIT_WRITER_H_ |
| 14 | 16 |
| 15 #include "../webp/types.h" | 17 #include "../webp/types.h" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // VP8LBitWriter's error_ flag is set in case of memory allocation error. | 116 // VP8LBitWriter's error_ flag is set in case of memory allocation error. |
| 115 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits); | 117 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits); |
| 116 | 118 |
| 117 //------------------------------------------------------------------------------ | 119 //------------------------------------------------------------------------------ |
| 118 | 120 |
| 119 #if defined(__cplusplus) || defined(c_plusplus) | 121 #if defined(__cplusplus) || defined(c_plusplus) |
| 120 } // extern "C" | 122 } // extern "C" |
| 121 #endif | 123 #endif |
| 122 | 124 |
| 123 #endif /* WEBP_UTILS_BIT_WRITER_H_ */ | 125 #endif /* WEBP_UTILS_BIT_WRITER_H_ */ |
| OLD | NEW |