2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
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.
11 #ifndef VP9_ENCODER_VP9_ENCODEMB_H_
12 #define VP9_ENCODER_VP9_ENCODEMB_H_
14 #include "./vpx_config.h"
15 #include "vp10/encoder/vp9_block.h"
21 struct encode_b_args {
23 struct optimize_ctx *ctx;
26 void vp10_encode_sb(MACROBLOCK *x, BLOCK_SIZE bsize);
27 void vp10_encode_sby_pass1(MACROBLOCK *x, BLOCK_SIZE bsize);
28 void vp10_xform_quant_fp(MACROBLOCK *x, int plane, int block,
29 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
30 void vp10_xform_quant_dc(MACROBLOCK *x, int plane, int block,
31 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
32 void vp10_xform_quant(MACROBLOCK *x, int plane, int block,
33 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
35 void vp10_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
37 void vp10_encode_block_intra(int plane, int block, BLOCK_SIZE plane_bsize,
38 TX_SIZE tx_size, void *arg);
40 void vp10_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
46 #endif // VP9_ENCODER_VP9_ENCODEMB_H_