| 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 // Paginated token buffer | 10 // Paginated token buffer |
| 9 // | 11 // |
| 10 // A 'token' is a bit value associated with a probability, either fixed | 12 // A 'token' is a bit value associated with a probability, either fixed |
| 11 // or a later-to-be-determined after statistics have been collected. | 13 // or a later-to-be-determined after statistics have been collected. |
| 12 // For dynamic probability, we just record the slot id (idx) for the probability | 14 // For dynamic probability, we just record the slot id (idx) for the probability |
| 13 // value in the final probability array (uint8_t* probas in VP8EmitTokens). | 15 // value in the final probability array (uint8_t* probas in VP8EmitTokens). |
| 14 // | 16 // |
| 15 // Author: Skal (pascal.massimino@gmail.com) | 17 // Author: Skal (pascal.massimino@gmail.com) |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 } | 247 } |
| 246 void VP8TBufferClear(VP8TBuffer* const b) { | 248 void VP8TBufferClear(VP8TBuffer* const b) { |
| 247 (void)b; | 249 (void)b; |
| 248 } | 250 } |
| 249 | 251 |
| 250 #endif // !DISABLE_TOKEN_BUFFER | 252 #endif // !DISABLE_TOKEN_BUFFER |
| 251 | 253 |
| 252 #if defined(__cplusplus) || defined(c_plusplus) | 254 #if defined(__cplusplus) || defined(c_plusplus) |
| 253 } // extern "C" | 255 } // extern "C" |
| 254 #endif | 256 #endif |
| OLD | NEW |