diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2020-03-19 16:31:25 +0300 |
---|---|---|
committer | Jean-Baptiste Kempf <jb@videolan.org> | 2020-03-21 20:15:10 +0300 |
commit | aca57bf3db00c29e90605656f1015561d1d67c2d (patch) | |
tree | 85e863136eff224383189f574712c48c76f47303 /src/warpmv.h | |
parent | 89ea92ba12bab0bd06a12828480af6bf809e065f (diff) |
Rewrite refmvs.c
Approximately 12.1% faster while using 27.7% less memory on first 1000
frames of Chimera 8bit/1080p on a Haswell system, single-threaded.
Diffstat (limited to 'src/warpmv.h')
-rw-r--r-- | src/warpmv.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/warpmv.h b/src/warpmv.h index f1da614..08e841d 100644 --- a/src/warpmv.h +++ b/src/warpmv.h @@ -32,6 +32,8 @@ int dav1d_get_shear_params(Dav1dWarpedMotionParams *wm); int dav1d_find_affine_int(const int (*pts)[2][2], int np, int bw4, int bh4, - mv mv, Dav1dWarpedMotionParams *wm, int by, int bx); + mv mv, Dav1dWarpedMotionParams *wm, int bx, int by); +void dav1d_set_affine_mv2d(int bw4, int bh4, + mv mv, Dav1dWarpedMotionParams *wm, int bx, int by); #endif /* DAV1D_SRC_WARPMV_H */ |