ref: 795c9188f2efe156982722187805a420f670f3c1
dir: /vp9/encoder/vp9_non_greedy_mv.h/
/* * Copyright (c) 2019 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef VPX_VP9_ENCODER_VP9_NON_GREEDY_MV_H_ #define VPX_VP9_ENCODER_VP9_NON_GREEDY_MV_H_ #ifdef __cplusplus extern "C" { #endif #define NB_MVS_NUM 4 #define LOG2_PRECISION 20 int64_t vp9_nb_mvs_inconsistency(const MV *mv, const int_mv *nb_full_mvs, int mv_num); void vp9_get_smooth_motion_field(const MV *search_mf, const int (*M)[4], int rows, int cols, float alpha, int num_iters, MV *smooth_mf); #ifdef __cplusplus } // extern "C" #endif #endif // VPX_VP9_ENCODER_VP9_NON_GREEDY_MV_H_