From b8d4af3660605171a12603b3c2526184abb51283 Mon Sep 17 00:00:00 2001 From: siivonek Date: Sun, 25 Jul 2021 22:36:02 +0200 Subject: [PATCH] Extend reference arrays for use with MRL. --- src/intra.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/intra.h b/src/intra.h index 846d77b2..bc125e83 100644 --- a/src/intra.h +++ b/src/intra.h @@ -43,9 +43,12 @@ #include "kvazaar.h" +// Maximum additional reference lines for MRL intra +#define MAX_REF_LINE_IDX 3 + typedef struct { - kvz_pixel left[2 * 128 + 3]; - kvz_pixel top[2 * 128 + 3]; + kvz_pixel left[2 * 128 + 3 + 33 * MAX_REF_LINE_IDX]; + kvz_pixel top[2 * 128 + 3 + 33 * MAX_REF_LINE_IDX]; } kvz_intra_ref; typedef struct {