mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
Use i32 instead of i8 for x/y offsets
Doesn't matter too much, because this number isn't used in SIMD computation, only as a memory reference offset.
This commit is contained in:
parent
12de466ef5
commit
db1e475e02
|
@ -655,10 +655,10 @@ static INLINE void reconstruct_color_other(const encoder_control_t *encoder,
|
|||
const vector2d_t b_ofs = g_sao_edge_offsets[sao->eo_class][1];
|
||||
|
||||
// All limited to [-1, 1]
|
||||
const int8_t a_xoff = a_ofs.x;
|
||||
const int8_t a_yoff = a_ofs.y;
|
||||
const int8_t b_xoff = b_ofs.x;
|
||||
const int8_t b_yoff = b_ofs.y;
|
||||
const int32_t a_xoff = a_ofs.x;
|
||||
const int32_t a_yoff = a_ofs.y;
|
||||
const int32_t b_xoff = b_ofs.x;
|
||||
const int32_t b_yoff = b_ofs.y;
|
||||
|
||||
const uint32_t width_db32 = block_width & ~31;
|
||||
const uint32_t width_db4 = block_width & ~3;
|
||||
|
|
Loading…
Reference in a new issue