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
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/internal.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/internal.h')
-rw-r--r--src/internal.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/internal.h b/src/internal.h
index 2254b00..07f5676 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -54,7 +54,7 @@ typedef struct Dav1dTileContext Dav1dTileContext;
#include "src/msac.h"
#include "src/picture.h"
#include "src/recon.h"
-#include "src/ref_mvs.h"
+#include "src/refmvs.h"
#include "src/thread.h"
typedef struct Dav1dDSPContext {
@@ -146,7 +146,7 @@ struct Dav1dFrameContext {
Dav1dPicture cur; // during block coding / reconstruction
Dav1dThreadPicture sr_cur; // after super-resolution upscaling
Dav1dRef *mvs_ref;
- refmvs *mvs, *ref_mvs[7];
+ refmvs_temporal_block *mvs, *ref_mvs[7];
Dav1dRef *ref_mvs_ref[7];
Dav1dRef *cur_segmap_ref, *prev_segmap_ref;
uint8_t *cur_segmap;
@@ -187,7 +187,7 @@ struct Dav1dFrameContext {
const uint8_t *qm[2 /* is_1d */][N_RECT_TX_SIZES][3 /* plane */];
BlockContext *a;
int a_sz /* w*tile_rows */;
- AV1_COMMON *libaom_cm; // FIXME
+ refmvs_frame rf;
uint8_t jnt_weights[7][7];
int bitdepth_max;
@@ -290,6 +290,7 @@ struct Dav1dTileContext {
uint16_t al_pal[2 /* a/l */][32 /* bx/y4 */][3 /* plane */][8 /* palette_idx */];
uint8_t pal_sz_uv[2 /* a/l */][32 /* bx4/by4 */];
uint8_t txtp_map[32 * 32]; // inter-only
+ refmvs_tile rt;
ALIGN(union, 64) {
struct {
union {