mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 10:34:05 +00:00
Fixed array sizes in search_intra_rough from 35 to 67
This commit is contained in:
parent
82fb80ab6e
commit
a2b2275d87
|
@ -406,7 +406,7 @@ static int8_t search_intra_rough(encoder_state_t * const state,
|
||||||
kvz_pixel *orig, int32_t origstride,
|
kvz_pixel *orig, int32_t origstride,
|
||||||
kvz_intra_references *refs,
|
kvz_intra_references *refs,
|
||||||
int log2_width, int8_t *intra_preds,
|
int log2_width, int8_t *intra_preds,
|
||||||
int8_t modes[35], double costs[35])
|
int8_t modes[67], double costs[67])
|
||||||
{
|
{
|
||||||
#define PARALLEL_BLKS 2 // TODO: use 4 for AVX-512 in the future?
|
#define PARALLEL_BLKS 2 // TODO: use 4 for AVX-512 in the future?
|
||||||
assert(log2_width >= 2 && log2_width <= 5);
|
assert(log2_width >= 2 && log2_width <= 5);
|
||||||
|
|
Loading…
Reference in a new issue