Extend reference arrays for use with MRL.

This commit is contained in:
siivonek 2021-07-25 22:36:02 +02:00
parent b0f5b93c6d
commit b8d4af3660

View file

@ -43,9 +43,12 @@
#include "kvazaar.h" #include "kvazaar.h"
// Maximum additional reference lines for MRL intra
#define MAX_REF_LINE_IDX 3
typedef struct { typedef struct {
kvz_pixel left[2 * 128 + 3]; kvz_pixel left[2 * 128 + 3 + 33 * MAX_REF_LINE_IDX];
kvz_pixel top[2 * 128 + 3]; kvz_pixel top[2 * 128 + 3 + 33 * MAX_REF_LINE_IDX];
} kvz_intra_ref; } kvz_intra_ref;
typedef struct typedef struct
{ {