| 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 // WebP encoder: internal header. | 10 // WebP encoder: internal header. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #ifdef __cplusplus | 23 #ifdef __cplusplus |
| 24 extern "C" { | 24 extern "C" { |
| 25 #endif | 25 #endif |
| 26 | 26 |
| 27 //------------------------------------------------------------------------------ | 27 //------------------------------------------------------------------------------ |
| 28 // Various defines and enums | 28 // Various defines and enums |
| 29 | 29 |
| 30 // version numbers | 30 // version numbers |
| 31 #define ENC_MAJ_VERSION 0 | 31 #define ENC_MAJ_VERSION 0 |
| 32 #define ENC_MIN_VERSION 4 | 32 #define ENC_MIN_VERSION 4 |
| 33 #define ENC_REV_VERSION 3 | 33 #define ENC_REV_VERSION 4 |
| 34 | 34 |
| 35 // intra prediction modes | 35 // intra prediction modes |
| 36 enum { B_DC_PRED = 0, // 4x4 modes | 36 enum { B_DC_PRED = 0, // 4x4 modes |
| 37 B_TM_PRED = 1, | 37 B_TM_PRED = 1, |
| 38 B_VE_PRED = 2, | 38 B_VE_PRED = 2, |
| 39 B_HE_PRED = 3, | 39 B_HE_PRED = 3, |
| 40 B_RD_PRED = 4, | 40 B_RD_PRED = 4, |
| 41 B_VR_PRED = 5, | 41 B_VR_PRED = 5, |
| 42 B_LD_PRED = 6, | 42 B_LD_PRED = 6, |
| 43 B_VL_PRED = 7, | 43 B_VL_PRED = 7, |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 | 573 |
| 574 #if WEBP_ENCODER_ABI_VERSION <= 0x0203 | 574 #if WEBP_ENCODER_ABI_VERSION <= 0x0203 |
| 575 void WebPMemoryWriterClear(WebPMemoryWriter* writer); | 575 void WebPMemoryWriterClear(WebPMemoryWriter* writer); |
| 576 #endif | 576 #endif |
| 577 | 577 |
| 578 #ifdef __cplusplus | 578 #ifdef __cplusplus |
| 579 } // extern "C" | 579 } // extern "C" |
| 580 #endif | 580 #endif |
| 581 | 581 |
| 582 #endif /* WEBP_ENC_VP8ENCI_H_ */ | 582 #endif /* WEBP_ENC_VP8ENCI_H_ */ |
| OLD | NEW |