2
0

pickinter.h 1.2 KB

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