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 12 #ifndef VP8_ENCODER_ENCODEMB_H_ 13 #define VP8_ENCODER_ENCODEMB_H_ 14 15 #include "onyx_int.h" 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif 20 void vp8_encode_inter16x16(MACROBLOCK *x); 21 22 void vp8_subtract_b(BLOCK *be, BLOCKD *bd, int pitch); 23 void vp8_subtract_mbuv(short *diff, unsigned char *usrc, unsigned char *vsrc, 24 int src_stride, unsigned char *upred, 25 unsigned char *vpred, int pred_stride); 26 void vp8_subtract_mby(short *diff, unsigned char *src, int src_stride, 27 unsigned char *pred, int pred_stride); 28 29 void vp8_build_dcblock(MACROBLOCK *b); 30 void vp8_transform_mb(MACROBLOCK *mb); 31 void vp8_transform_mbuv(MACROBLOCK *x); 32 void vp8_transform_intra_mby(MACROBLOCK *x); 33 34 void vp8_optimize_mby(MACROBLOCK *x); 35 void vp8_optimize_mbuv(MACROBLOCK *x); 36 void vp8_encode_inter16x16y(MACROBLOCK *x); 37 #ifdef __cplusplus 38 } // extern "C" 39 #endif 40 41 #endif // VP8_ENCODER_ENCODEMB_H_ 42