1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libvpx/vp9/encoder/vp9_encodemv.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +/* 1.5 + * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 1.6 + * 1.7 + * Use of this source code is governed by a BSD-style license 1.8 + * that can be found in the LICENSE file in the root of the source 1.9 + * tree. An additional intellectual property rights grant can be found 1.10 + * in the file PATENTS. All contributing project authors may 1.11 + * be found in the AUTHORS file in the root of the source tree. 1.12 + */ 1.13 + 1.14 + 1.15 +#ifndef VP9_ENCODER_VP9_ENCODEMV_H_ 1.16 +#define VP9_ENCODER_VP9_ENCODEMV_H_ 1.17 + 1.18 +#include "vp9/encoder/vp9_onyx_int.h" 1.19 + 1.20 +void vp9_write_nmv_probs(VP9_COMP* const, int usehp, vp9_writer* const); 1.21 + 1.22 +void vp9_encode_mv(VP9_COMP *cpi, vp9_writer* w, const MV* mv, const MV* ref, 1.23 + const nmv_context* mvctx, int usehp); 1.24 + 1.25 +void vp9_build_nmv_cost_table(int *mvjoint, 1.26 + int *mvcost[2], 1.27 + const nmv_context* const mvctx, 1.28 + int usehp, 1.29 + int mvc_flag_v, 1.30 + int mvc_flag_h); 1.31 + 1.32 +void vp9_update_mv_count(VP9_COMP *cpi, MACROBLOCK *x, int_mv best_ref_mv[2]); 1.33 + 1.34 +#endif // VP9_ENCODER_VP9_ENCODEMV_H_