/src/avm/av2/common/entropymv.c
Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) 2021, Alliance for Open Media. All rights reserved |
3 | | * |
4 | | * This source code is subject to the terms of the BSD 3-Clause Clear License |
5 | | * and the Alliance for Open Media Patent License 1.0. If the BSD 3-Clause Clear |
6 | | * License was not distributed with this source code in the LICENSE file, you |
7 | | * can obtain it at aomedia.org/license/software-license/bsd-3-c-c/. If the |
8 | | * Alliance for Open Media Patent License 1.0 was not distributed with this |
9 | | * source code in the PATENTS file, you can obtain it at |
10 | | * aomedia.org/license/patent-license/. |
11 | | */ |
12 | | |
13 | | #include "av2/common/av2_common_int.h" |
14 | | #include "av2/common/entropymv.h" |
15 | | |
16 | | // Context tables for motion vector coding |
17 | | #include "av2/common/entropy_inits_mv.h" |
18 | | |
19 | 7.62k | void av2_init_mv_probs(AV2_COMMON *cm) { |
20 | | // NB: this sets CDFs too |
21 | 7.62k | cm->fc->nmvc = default_nmv_context; |
22 | 7.62k | cm->fc->ndvc = default_nmv_context; |
23 | 7.62k | } |