OLD | NEW |
1 // Copyright 2011 Google Inc. | 1 // Copyright 2011 Google Inc. All Rights Reserved. |
2 // | 2 // |
3 // This code is licensed under the same terms as WebM: | 3 // This code is licensed under the same terms as WebM: |
4 // Software License Agreement: http://www.webmproject.org/license/software/ | 4 // Software License Agreement: http://www.webmproject.org/license/software/ |
5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ | 5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ |
6 // ----------------------------------------------------------------------------- | 6 // ----------------------------------------------------------------------------- |
7 // | 7 // |
8 // Token probabilities | 8 // Token probabilities |
9 // | 9 // |
10 // Author: Skal (pascal.massimino@gmail.com) | 10 // Author: Skal (pascal.massimino@gmail.com) |
11 | 11 |
12 #include "vp8enci.h" | 12 #include "./vp8enci.h" |
13 | 13 |
14 #if defined(__cplusplus) || defined(c_plusplus) | 14 #if defined(__cplusplus) || defined(c_plusplus) |
15 extern "C" { | 15 extern "C" { |
16 #endif | 16 #endif |
17 | 17 |
18 //------------------------------------------------------------------------------ | 18 //------------------------------------------------------------------------------ |
19 // Default probabilities | 19 // Default probabilities |
20 | 20 |
21 // Paragraph 13.5 | 21 // Paragraph 13.5 |
22 const uint8_t | 22 const uint8_t |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 } | 498 } |
499 } | 499 } |
500 if (VP8PutBitUniform(bw, probas->use_skip_proba_)) { | 500 if (VP8PutBitUniform(bw, probas->use_skip_proba_)) { |
501 VP8PutValue(bw, probas->skip_proba_, 8); | 501 VP8PutValue(bw, probas->skip_proba_, 8); |
502 } | 502 } |
503 } | 503 } |
504 | 504 |
505 #if defined(__cplusplus) || defined(c_plusplus) | 505 #if defined(__cplusplus) || defined(c_plusplus) |
506 } // extern "C" | 506 } // extern "C" |
507 #endif | 507 #endif |
OLD | NEW |