blob: a4d383d52c28ed3a127ab441cc39ee4c65fa35b9 [file] [log] [blame]
Yaowu Xuc27fc142016-08-22 16:08:15 -07001/*
Yaowu Xu2ab7ff02016-09-02 12:04:54 -07002 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
Yaowu Xuc27fc142016-08-22 16:08:15 -07003 *
Yaowu Xu2ab7ff02016-09-02 12:04:54 -07004 * This source code is subject to the terms of the BSD 2 Clause License and
5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 * was not distributed with this source code in the LICENSE file, you can
7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 * Media Patent License 1.0 was not distributed with this source code in the
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
Yaowu Xuc27fc142016-08-22 16:08:15 -070010 */
11
Yaowu Xuf883b422016-08-30 14:01:10 -070012#ifndef AV1_DECODER_DECODEMV_H_
13#define AV1_DECODER_DECODEMV_H_
Yaowu Xuc27fc142016-08-22 16:08:15 -070014
Alex Converse4fb213f2016-09-26 13:09:09 -070015#include "aom_dsp/bitreader.h"
Yaowu Xuc27fc142016-08-22 16:08:15 -070016
17#include "av1/decoder/decoder.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
Yaowu Xuf883b422016-08-30 14:01:10 -070023void av1_read_mode_info(AV1Decoder *const pbi, MACROBLOCKD *xd,
Yaowu Xuc27fc142016-08-22 16:08:15 -070024
Yaowu Xuf883b422016-08-30 14:01:10 -070025 int mi_row, int mi_col, aom_reader *r, int x_mis,
26 int y_mis);
Yaowu Xuc27fc142016-08-22 16:08:15 -070027
28#ifdef __cplusplus
29} // extern "C"
30#endif
31
Angie Chianga9f9a312017-04-13 16:40:43 -070032void av1_read_tx_type(const AV1_COMMON *const cm, MACROBLOCKD *xd,
Angie Chiangcd9b03f2017-04-16 13:37:13 -070033#if CONFIG_TXK_SEL
Jingning Han19b5c8f2017-07-06 15:10:12 -070034 int blk_row, int blk_col, int block, int plane,
35 TX_SIZE tx_size,
Angie Chianga9f9a312017-04-13 16:40:43 -070036#endif
37 aom_reader *r);
38
Yaowu Xuf883b422016-08-30 14:01:10 -070039#endif // AV1_DECODER_DECODEMV_H_