From c3860f1cbcb3a04ee007fa7584fd815520541c09 Mon Sep 17 00:00:00 2001 From: siivonek Date: Mon, 16 Aug 2021 21:17:09 +0200 Subject: [PATCH] Move max reference line idx define to proper place. --- src/global.h | 5 +++++ src/intra.h | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/global.h b/src/global.h index 4e6eecb2..e93af9bb 100644 --- a/src/global.h +++ b/src/global.h @@ -212,6 +212,11 @@ typedef int16_t mv_t; */ #define INTRA_MPM_COUNT 6 +/** + * \brief Maximum reference lines for MRL intra +*/ +#define MAX_REF_LINE_IDX 3 + /** * \brief Number of pixels to delay deblocking. * diff --git a/src/intra.h b/src/intra.h index bc125e83..81acafa6 100644 --- a/src/intra.h +++ b/src/intra.h @@ -42,10 +42,6 @@ #include "global.h" // IWYU pragma: keep #include "kvazaar.h" - -// Maximum additional reference lines for MRL intra -#define MAX_REF_LINE_IDX 3 - typedef struct { kvz_pixel left[2 * 128 + 3 + 33 * MAX_REF_LINE_IDX]; kvz_pixel top[2 * 128 + 3 + 33 * MAX_REF_LINE_IDX];