Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2020-03-19 16:31:25 +0300
committerJean-Baptiste Kempf <jb@videolan.org>2020-03-21 20:15:10 +0300
commitaca57bf3db00c29e90605656f1015561d1d67c2d (patch)
tree85e863136eff224383189f574712c48c76f47303 /src/env.h
parent89ea92ba12bab0bd06a12828480af6bf809e065f (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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/env.h b/src/env.h
index 6afa49e..06630ce 100644
--- a/src/env.h
+++ b/src/env.h
@@ -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)