2 * Copyright © 2014-2017 Intel Corporation
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the
6 * "Software"), to deal in the Software without restriction, including
7 * without limitation the rights to use, copy, modify, merge, publish,
8 * distribute, sub license, and/or sell copies of the Software, and to
9 * permit persons to whom the Software is furnished to do so, subject to
10 * the following conditions:
12 * The above copyright notice and this permission notice (including the
13 * next paragraph) shall be included in all copies or substantial portions
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
19 * IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
20 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 * This file defines some vp8 probability tables, and
28 * they are ported from libvpx (https://github.com/mrchapp/libvpx/).
29 * The original copyright and licence statement as below.
33 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
35 * Use of this source code is governed by a BSD-style license
36 * that can be found in the LICENSE file in the root of the source
37 * tree. An additional intellectual property rights grant can be found
38 * in the file PATENTS. All contributing project authors may
39 * be found in the AUTHORS file in the root of the source tree.
45 extern const unsigned char vp8_ymode_prob[4];
47 extern const unsigned char vp8_kf_ymode_prob[4];
49 extern const unsigned char vp8_uv_mode_prob[3];
51 extern const unsigned char vp8_kf_uv_mode_prob[3];
53 extern const unsigned char vp8_base_skip_false_prob[128];
55 extern const unsigned char vp8_mv_update_probs[2][19];
57 extern const unsigned char vp8_default_mv_context[2][19];
59 extern const unsigned char vp8_default_coef_probs[4][8][3][11];
61 extern const int vp8_bits_per_mb[2][128];
63 extern const unsigned short vp8_prob_cost[256];
65 extern const unsigned char vp8_coef_update_probs[4][8][3][11];
67 extern const unsigned char vp8_probs_update_flag[4][8][3][11];
69 #endif /* _VP8_PROBS_H_ */