• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 VPX_VP8_ENCODER_PICKINTER_H_
12 #define VPX_VP8_ENCODER_PICKINTER_H_
13 #include "vpx_config.h"
14 #include "vp8/common/onyxc_int.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 extern void vp8_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset,
21                                 int recon_uvoffset, int *returnrate,
22                                 int *returndistortion, int *returnintra,
23                                 int mb_row, int mb_col);
24 extern void vp8_pick_intra_mode(MACROBLOCK *x, int *rate);
25 
26 extern int vp8_get_inter_mbpred_error(MACROBLOCK *mb,
27                                       const vp8_variance_fn_ptr_t *vfp,
28                                       unsigned int *sse, int_mv this_mv);
29 #ifdef __cplusplus
30 }  // extern "C"
31 #endif
32 
33 #endif  // VPX_VP8_ENCODER_PICKINTER_H_
34