vp9_modecont.c 976 Bytes
Newer Older
John Koleszar's avatar
John Koleszar committed
1
/*
2
 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
John Koleszar's avatar
John Koleszar committed
3
 *
4
 *  Use of this source code is governed by a BSD-style license
5
6
 *  that can be found in the LICENSE file in the root of the source
 *  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.
John Koleszar's avatar
John Koleszar committed
9
10
11
 */


12
#include "vp9/common/vp9_entropy.h"
Paul Wilkins's avatar
Paul Wilkins committed
13

14
const int vp9_default_mode_contexts[INTER_MODE_CONTEXTS][4] = {
15
  {1,       223,   1,    237},  // 0,0 best: Only candidate
16
17
18
19
20
21
  {87,      166,   26,   219},  // 0,0 best: non zero candidates
  {89,      67,    18,   125},  // 0,0 best: non zero candidates, split
  {16,      141,   69,   226},  // strong nz candidate(s), no split
  {35,      122,   14,   227},  // weak nz candidate(s), no split
  {14,      122,   22,   164},  // strong nz candidate(s), split
  {16,      70,    9,    183},  // weak nz candidate(s), split
22
};