Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / libvpx / source / libvpx / vp9 / encoder / vp9_encodemb.h
1 /*
2  *  Copyright (c) 2010 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
11 #ifndef VP9_ENCODER_VP9_ENCODEMB_H_
12 #define VP9_ENCODER_VP9_ENCODEMB_H_
13
14 #include "./vpx_config.h"
15 #include "vp9/encoder/vp9_block.h"
16 #include "vp9/encoder/vp9_encoder.h"
17 #include "vp9/common/vp9_onyxc_int.h"
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 void vp9_encode_sb(MACROBLOCK *x, BLOCK_SIZE bsize);
24 void vp9_encode_sby_pass1(MACROBLOCK *x, BLOCK_SIZE bsize);
25 void vp9_xform_quant_fp(MACROBLOCK *x, int plane, int block,
26                         BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
27 void vp9_xform_quant_dc(MACROBLOCK *x, int plane, int block,
28                         BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
29 void vp9_xform_quant(MACROBLOCK *x, int plane, int block,
30                      BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
31
32 void vp9_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
33
34 void vp9_encode_block_intra(MACROBLOCK *x, int plane, int block,
35                             BLOCK_SIZE plane_bsize, TX_SIZE tx_size,
36                             unsigned char *skip);
37
38 void vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
39
40 #ifdef __cplusplus
41 }  // extern "C"
42 #endif
43
44 #endif  // VP9_ENCODER_VP9_ENCODEMB_H_