summaryrefslogtreecommitdiffstats
path: root/media/libvpx/libvpx/vp8/common/entropymv.c
blob: fb4f0c889f404b72858d0bbe314359cfff269e11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#include "entropymv.h"

/* clang-format off */
const MV_CONTEXT vp8_mv_update_probs[2] = {
  { {
      237,
      246,
      253, 253, 254, 254, 254, 254, 254,
      254, 254, 254, 254, 254, 250, 250, 252, 254, 254
  } },
  { {
      231,
      243,
      245, 253, 254, 254, 254, 254, 254,
      254, 254, 254, 254, 254, 251, 251, 254, 254, 254
  } }
};
/* clang-format on */

const MV_CONTEXT vp8_default_mv_context[2] = {
  { {
      /* row */
      162,                                            /* is short */
      128,                                            /* sign */
      225, 146, 172, 147, 214, 39, 156,               /* short tree */
      128, 129, 132, 75, 145, 178, 206, 239, 254, 254 /* long bits */
  } },

  { {
      /* same for column */
      164,                                            /* is short */
      128,                                            /**/
      204, 170, 119, 235, 140, 230, 228,              /**/
      128, 130, 130, 74, 148, 180, 203, 236, 254, 254 /* long bits */

  } }
};