chromium/third_party/libaom/source/libaom/av1/common/entropymv.h

/*
 * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
 *
 * This source code is subject to the terms of the BSD 2 Clause License and
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
 * was not distributed with this source code in the LICENSE file, you can
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
 * Media Patent License 1.0 was not distributed with this source code in the
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 */

#ifndef AOM_AV1_COMMON_ENTROPYMV_H_
#define AOM_AV1_COMMON_ENTROPYMV_H_

#include "config/aom_config.h"

#include "aom_dsp/prob.h"

#include "av1/common/mv.h"

#ifdef __cplusplus
extern "C" {
#endif

struct AV1Common;

void av1_init_mv_probs(struct AV1Common *cm);

#define MV_UPDATE_PROB

/* Symbols for coding which components are zero jointly */
#define MV_JOINTS
enum {} UENUM1BYTE();

static inline int mv_joint_vertical(MV_JOINT_TYPE type) {}

static inline int mv_joint_horizontal(MV_JOINT_TYPE type) {}

/* Symbols for coding magnitude class of nonzero components */
#define MV_CLASSES
enum {} UENUM1BYTE();

#define CLASS0_BITS
#define CLASS0_SIZE
#define MV_OFFSET_BITS
#define MV_BITS_CONTEXTS
#define MV_FP_SIZE

#define MV_MAX_BITS
#define MV_MAX
#define MV_VALS

#define MV_IN_USE_BITS
#define MV_UPP
#define MV_LOW

nmv_component;

nmv_context;

enum {} SENUM1BYTE();

#ifdef __cplusplus
}  // extern "C"
#endif

#endif  // AOM_AV1_COMMON_ENTROPYMV_H_