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/env.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/env.h')
-rw-r--r-- | src/env.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ #include <stdlib.h> #include "src/levels.h" -#include "src/ref_mvs.h" +#include "src/refmvs.h" #include "src/tables.h" typedef struct BlockContext { @@ -428,7 +428,7 @@ static inline int av1_get_uni_p1_ctx(const BlockContext *const a, return cnt[0] == cnt[1] ? 1 : cnt[0] < cnt[1] ? 0 : 2; } -static inline int get_drl_context(const candidate_mv *const ref_mv_stack, +static inline int get_drl_context(const refmvs_candidate *const ref_mv_stack, const int ref_idx) { if (ref_mv_stack[ref_idx].weight >= 640) |