blob: a43bb81260ae7c512d0909d96965985412f6223b [file] [log] [blame]
Jingning Han2f52dec2014-01-10 11:51:20 -08001/*
2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * 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.
9 */
10
James Zernb4539412014-01-18 12:16:11 -080011#ifndef VP9_ENCODER_VP9_PICKMODE_H_
12#define VP9_ENCODER_VP9_PICKMODE_H_
13
Dmitry Kovalevef003072014-04-18 18:27:47 -070014#include "vp9/encoder/vp9_encoder.h"
Jingning Han2f52dec2014-01-10 11:51:20 -080015
James Zernb4539412014-01-18 12:16:11 -080016#ifdef __cplusplus
17extern "C" {
18#endif
19
Jingning Han2fbdfd22014-11-20 11:28:00 -080020void vp9_pick_intra_mode(VP9_COMP *cpi, MACROBLOCK *x, RD_COST *rd_cost,
21 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx);
22
James Zern94968c62014-08-16 16:47:44 -070023void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
Jingning Han192010d2014-10-27 09:52:14 -070024 TileDataEnc *tile_data,
Jingning Hanbe212d42014-10-21 16:31:37 -070025 int mi_row, int mi_col, RD_COST *rd_cost,
James Zern94968c62014-08-16 16:47:44 -070026 BLOCK_SIZE bsize,
27 PICK_MODE_CONTEXT *ctx);
James Zernb4539412014-01-18 12:16:11 -080028
Jingning Handad89d52014-12-22 13:38:34 -080029void vp9_pick_inter_mode_sub8x8(VP9_COMP *cpi, MACROBLOCK *x,
Jingning Handad89d52014-12-22 13:38:34 -080030 int mi_row, int mi_col, RD_COST *rd_cost,
31 BLOCK_SIZE bsize,
32 PICK_MODE_CONTEXT *ctx);
33
James Zernb4539412014-01-18 12:16:11 -080034#ifdef __cplusplus
35} // extern "C"
36#endif
37
38#endif // VP9_ENCODER_VP9_PICKMODE_H_