2010-06-08 16:31:28 -07:00
|
|
|
/*
|
2010-11-07 23:47:17 -08:00
|
|
|
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
2010-06-08 16:31:28 -07:00
|
|
|
*
|
2010-09-09 05:06:21 -07:00
|
|
|
* Use of this source code is governed by a BSD-style license
|
2010-06-08 16:31:28 -07:00
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
2010-09-09 05:06:21 -07:00
|
|
|
* in the file PATENTS. All contributing project authors may
|
2010-06-08 16:31:28 -07:00
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "entropy.h"
|
|
|
|
|
|
|
|
const int vp8_mode_contexts[6][4] =
|
|
|
|
{
|
|
|
|
{
|
2010-11-07 23:47:17 -08:00
|
|
|
/* 0 */
|
2010-06-08 16:31:28 -07:00
|
|
|
7, 1, 1, 143,
|
|
|
|
},
|
|
|
|
{
|
2010-11-07 23:47:17 -08:00
|
|
|
/* 1 */
|
2010-06-08 16:31:28 -07:00
|
|
|
14, 18, 14, 107,
|
|
|
|
},
|
|
|
|
{
|
2010-11-07 23:47:17 -08:00
|
|
|
/* 2 */
|
2010-06-08 16:31:28 -07:00
|
|
|
135, 64, 57, 68,
|
|
|
|
},
|
|
|
|
{
|
2010-11-07 23:47:17 -08:00
|
|
|
/* 3 */
|
2010-06-08 16:31:28 -07:00
|
|
|
60, 56, 128, 65,
|
|
|
|
},
|
|
|
|
{
|
2010-11-07 23:47:17 -08:00
|
|
|
/* 4 */
|
2010-06-08 16:31:28 -07:00
|
|
|
159, 134, 128, 34,
|
|
|
|
},
|
|
|
|
{
|
2010-11-07 23:47:17 -08:00
|
|
|
/* 5 */
|
2010-06-08 16:31:28 -07:00
|
|
|
234, 188, 128, 28,
|
|
|
|
},
|
|
|
|
};
|