mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Extend the reference arrays for MRL.
This commit is contained in:
parent
3462ac7219
commit
f22af05dd6
|
@ -39,6 +39,8 @@
|
|||
#include "strategyselector.h"
|
||||
#include "kvz_math.h"
|
||||
|
||||
// TODO: move this define to a more sensible location, keep it here for quick testing for now
|
||||
#define MULTI_REF_LINE_IDX 3
|
||||
|
||||
/**
|
||||
* \brief Generate angular predictions.
|
||||
|
@ -104,9 +106,9 @@ static void kvz_angular_pred_generic(
|
|||
// It only needs to be big enough to hold indices from -width to width-1.
|
||||
|
||||
// TODO: check the correct size for these arrays when MRL is used
|
||||
kvz_pixel tmp_ref[2 * 128] = { 0 };
|
||||
kvz_pixel temp_main[2 * 128] = { 0 };
|
||||
kvz_pixel temp_side[2 * 128] = { 0 };
|
||||
kvz_pixel tmp_ref[2 * 128 + 3 + 33 * MULTI_REF_LINE_IDX] = { 0 };
|
||||
kvz_pixel temp_main[2 * 128 + 3 + 33 * MULTI_REF_LINE_IDX] = { 0 };
|
||||
kvz_pixel temp_side[2 * 128 + 3 + 33 * MULTI_REF_LINE_IDX] = { 0 };
|
||||
const int_fast32_t width = 1 << log2_width;
|
||||
|
||||
uint32_t pred_mode = intra_mode; // ToDo: handle WAIP
|
||||
|
|
Loading…
Reference in a new issue