Home | History | Annotate | Download | only in common
      1 /*
      2  *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
      3  *
      4  *  Use of this source code is governed by a BSD-style license
      5  *  that can be found in the LICENSE file in the root of the source
      6  *  tree. An additional intellectual property rights grant can be found
      7  *  in the file PATENTS.  All contributing project authors may
      8  *  be found in the AUTHORS file in the root of the source tree.
      9  */
     10 
     11 #ifndef VP8_COMMON_COEFUPDATEPROBS_H_
     12 #define VP8_COMMON_COEFUPDATEPROBS_H_
     13 
     14 #ifdef __cplusplus
     15 extern "C" {
     16 #endif
     17 
     18 /* Update probabilities for the nodes in the token entropy tree.
     19    Generated file included by entropy.c */
     20 
     21 const vp8_prob vp8_coef_update_probs [BLOCK_TYPES] [COEF_BANDS] [PREV_COEF_CONTEXTS] [ENTROPY_NODES] =
     22 {
     23     {
     24         {
     25             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     26             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     27             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     28         },
     29         {
     30             {176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     31             {223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255, },
     32             {249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255, },
     33         },
     34         {
     35             {255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255, },
     36             {234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     37             {253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     38         },
     39         {
     40             {255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     41             {239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     42             {254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     43         },
     44         {
     45             {255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     46             {251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     47             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     48         },
     49         {
     50             {255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     51             {251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     52             {254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     53         },
     54         {
     55             {255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255, },
     56             {250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255, },
     57             {254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     58         },
     59         {
     60             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     61             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     62             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     63         },
     64     },
     65     {
     66         {
     67             {217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     68             {225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255, },
     69             {234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255, },
     70         },
     71         {
     72             {255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     73             {223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     74             {238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255, },
     75         },
     76         {
     77             {255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     78             {249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     79             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     80         },
     81         {
     82             {255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     83             {247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     84             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     85         },
     86         {
     87             {255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     88             {252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     89             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     90         },
     91         {
     92             {255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
     93             {253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     94             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     95         },
     96         {
     97             {255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255, },
     98             {250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
     99             {254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    100         },
    101         {
    102             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    103             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    104             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    105         },
    106     },
    107     {
    108         {
    109             {186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255, },
    110             {234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255, },
    111             {251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255, },
    112         },
    113         {
    114             {255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
    115             {236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
    116             {251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255, },
    117         },
    118         {
    119             {255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
    120             {254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
    121             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    122         },
    123         {
    124             {255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    125             {254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    126             {254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    127         },
    128         {
    129             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    130             {254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    131             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    132         },
    133         {
    134             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    135             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    136             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    137         },
    138         {
    139             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    140             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    141             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    142         },
    143         {
    144             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    145             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    146             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    147         },
    148     },
    149     {
    150         {
    151             {248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    152             {250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255, },
    153             {248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255, },
    154         },
    155         {
    156             {255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255, },
    157             {246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255, },
    158             {252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255, },
    159         },
    160         {
    161             {255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255, },
    162             {248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255, },
    163             {253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255, },
    164         },
    165         {
    166             {255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
    167             {245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
    168             {253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
    169         },
    170         {
    171             {255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255, },
    172             {252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
    173             {255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    174         },
    175         {
    176             {255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    177             {249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
    178             {255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255, },
    179         },
    180         {
    181             {255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255, },
    182             {250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    183             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    184         },
    185         {
    186             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    187             {254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    188             {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, },
    189         },
    190     },
    191 };
    192 
    193 #ifdef __cplusplus
    194 }  // extern "C"
    195 #endif
    196 
    197 #endif  // VP8_COMMON_COEFUPDATEPROBS_H_
    198