OLD | NEW |
(Empty) | |
| 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 VP9_ENCODER_VP9_ENCODEMB_H_ |
| 13 #define VP9_ENCODER_VP9_ENCODEMB_H_ |
| 14 |
| 15 #include "vpx_ports/config.h" |
| 16 #include "vp9/encoder/vp9_block.h" |
| 17 |
| 18 typedef struct { |
| 19 MB_PREDICTION_MODE mode; |
| 20 MV_REFERENCE_FRAME ref_frame; |
| 21 MV_REFERENCE_FRAME second_ref_frame; |
| 22 #if CONFIG_PRED_FILTER |
| 23 int pred_filter_flag; |
| 24 #endif |
| 25 } MODE_DEFINITION; |
| 26 |
| 27 |
| 28 #include "vp9/encoder/vp9_onyx_int.h" |
| 29 struct VP9_ENCODER_RTCD; |
| 30 void vp9_encode_inter16x16(MACROBLOCK *x); |
| 31 |
| 32 void vp9_transform_mbuv_4x4(MACROBLOCK *x); |
| 33 void vp9_transform_mby_4x4(MACROBLOCK *x); |
| 34 |
| 35 void vp9_optimize_mby_4x4(MACROBLOCK *x); |
| 36 void vp9_optimize_mbuv_4x4(MACROBLOCK *x); |
| 37 void vp9_encode_inter16x16y(MACROBLOCK *x); |
| 38 |
| 39 void vp9_transform_mb_8x8(MACROBLOCK *mb); |
| 40 void vp9_transform_mby_8x8(MACROBLOCK *x); |
| 41 void vp9_transform_mbuv_8x8(MACROBLOCK *x); |
| 42 void vp9_build_dcblock_8x8(MACROBLOCK *b); |
| 43 void vp9_optimize_mby_8x8(MACROBLOCK *x); |
| 44 void vp9_optimize_mbuv_8x8(MACROBLOCK *x); |
| 45 |
| 46 void vp9_transform_mb_16x16(MACROBLOCK *mb); |
| 47 void vp9_transform_mby_16x16(MACROBLOCK *x); |
| 48 void vp9_optimize_mby_16x16(MACROBLOCK *x); |
| 49 |
| 50 void vp9_fidct_mb(MACROBLOCK *x); |
| 51 |
| 52 void vp9_subtract_4b_c(BLOCK *be, BLOCKD *bd, int pitch); |
| 53 |
| 54 #if CONFIG_SUPERBLOCKS |
| 55 void vp9_subtract_mbuv_s_c(short *diff, const unsigned char *usrc, |
| 56 const unsigned char *vsrc, int src_stride, |
| 57 const unsigned char *upred, |
| 58 const unsigned char *vpred, int dst_stride); |
| 59 void vp9_subtract_mby_s_c(short *diff, const unsigned char *src, |
| 60 int src_stride, const unsigned char *pred, |
| 61 int dst_stride); |
| 62 #endif |
| 63 |
| 64 #endif |
OLD | NEW |