| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef VP9_ENCODER_VP9_ENCODEMB_H_ | 11 #ifndef VP9_ENCODER_VP9_ENCODEMB_H_ |
| 12 #define VP9_ENCODER_VP9_ENCODEMB_H_ | 12 #define VP9_ENCODER_VP9_ENCODEMB_H_ |
| 13 | 13 |
| 14 #include "./vpx_config.h" | 14 #include "./vpx_config.h" |
| 15 #include "vp9/encoder/vp9_block.h" | 15 #include "vp9/encoder/vp9_block.h" |
| 16 #include "vp9/encoder/vp9_onyx_int.h" | 16 #include "vp9/encoder/vp9_onyx_int.h" |
| 17 #include "vp9/common/vp9_onyxc_int.h" | 17 #include "vp9/common/vp9_onyxc_int.h" |
| 18 | 18 |
| 19 #ifdef __cplusplus | 19 #ifdef __cplusplus |
| 20 extern "C" { | 20 extern "C" { |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 void vp9_encode_sb(MACROBLOCK *x, BLOCK_SIZE bsize); | 23 void vp9_encode_sb(MACROBLOCK *x, BLOCK_SIZE bsize); |
| 24 void vp9_encode_sby(MACROBLOCK *x, BLOCK_SIZE bsize); | 24 void vp9_encode_sby_pass1(MACROBLOCK *x, BLOCK_SIZE bsize); |
| 25 | 25 |
| 26 void vp9_xform_quant(MACROBLOCK *x, int plane, int block, | 26 void vp9_xform_quant(MACROBLOCK *x, int plane, int block, |
| 27 BLOCK_SIZE plane_bsize, TX_SIZE tx_size); | 27 BLOCK_SIZE plane_bsize, TX_SIZE tx_size); |
| 28 | 28 |
| 29 void vp9_subtract_sby(MACROBLOCK *x, BLOCK_SIZE bsize); | 29 void vp9_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane); |
| 30 void vp9_subtract_sbuv(MACROBLOCK *x, BLOCK_SIZE bsize); | |
| 31 void vp9_subtract_sb(MACROBLOCK *x, BLOCK_SIZE bsize); | |
| 32 | 30 |
| 33 void vp9_encode_block_intra(MACROBLOCK *x, int plane, int block, | 31 void vp9_encode_block_intra(MACROBLOCK *x, int plane, int block, |
| 34 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, | 32 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, |
| 35 unsigned char *skip); | 33 unsigned char *skip); |
| 36 | 34 |
| 37 void vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane); | 35 void vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane); |
| 38 | 36 |
| 39 int vp9_encode_intra(MACROBLOCK *x, int use_16x16_pred); | 37 int vp9_encode_intra(MACROBLOCK *x, int use_16x16_pred); |
| 40 | 38 |
| 41 #ifdef __cplusplus | 39 #ifdef __cplusplus |
| 42 } // extern "C" | 40 } // extern "C" |
| 43 #endif | 41 #endif |
| 44 | 42 |
| 45 #endif // VP9_ENCODER_VP9_ENCODEMB_H_ | 43 #endif // VP9_ENCODER_VP9_ENCODEMB_H_ |
| OLD | NEW |