mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
[mip] Fix reference indexing error.
This commit is contained in:
parent
b8a8bce55a
commit
8aea4f67f7
|
@ -777,8 +777,8 @@ void kvz_mip_predict(encoder_state_t const* const state, kvz_intra_references* c
|
||||||
|
|
||||||
// Initialize prediction parameters END
|
// Initialize prediction parameters END
|
||||||
|
|
||||||
kvz_pixel* ref_samples_top = refs->ref.top; // NOTE: in VTM code these are indexed as x + 1 & y + 1 during init
|
kvz_pixel* ref_samples_top = &refs->ref.top[1]; // NOTE: in VTM code these are indexed as x + 1 & y + 1 during init
|
||||||
kvz_pixel* ref_samples_left = refs->ref.left;
|
kvz_pixel* ref_samples_left = &refs->ref.left[1];
|
||||||
|
|
||||||
// Compute reduced boundary with Haar-downsampling
|
// Compute reduced boundary with Haar-downsampling
|
||||||
const int input_size = 2 * red_bdry_size;
|
const int input_size = 2 * red_bdry_size;
|
||||||
|
|
Loading…
Reference in a new issue