| OLD | NEW |
| 1 // Copyright 2010 Google Inc. All Rights Reserved. | 1 // Copyright 2010 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 // Coding trees and probas | 10 // Coding trees and probas |
| 11 // | 11 // |
| 12 // Author: Skal (pascal.massimino@gmail.com) | 12 // Author: Skal (pascal.massimino@gmail.com) |
| 13 | 13 |
| 14 #include "vp8i.h" | 14 #include "./vp8i.h" |
| 15 #include "../utils/bit_reader_inl.h" | 15 #include "../utils/bit_reader_inl.h" |
| 16 | 16 |
| 17 #define USE_GENERIC_TREE | 17 #define USE_GENERIC_TREE |
| 18 | 18 |
| 19 #ifdef USE_GENERIC_TREE | 19 #ifdef USE_GENERIC_TREE |
| 20 static const int8_t kYModesIntra4[18] = { | 20 static const int8_t kYModesIntra4[18] = { |
| 21 -B_DC_PRED, 1, | 21 -B_DC_PRED, 1, |
| 22 -B_TM_PRED, 2, | 22 -B_TM_PRED, 2, |
| 23 -B_VE_PRED, 3, | 23 -B_VE_PRED, 3, |
| 24 4, 6, | 24 4, 6, |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 } | 507 } |
| 508 } | 508 } |
| 509 } | 509 } |
| 510 } | 510 } |
| 511 dec->use_skip_proba_ = VP8Get(br); | 511 dec->use_skip_proba_ = VP8Get(br); |
| 512 if (dec->use_skip_proba_) { | 512 if (dec->use_skip_proba_) { |
| 513 dec->skip_p_ = VP8GetValue(br, 8); | 513 dec->skip_p_ = VP8GetValue(br, 8); |
| 514 } | 514 } |
| 515 } | 515 } |
| 516 | 516 |
| OLD | NEW |