swscale/ops_chain: add more integer types to SwsOpPriv

In particular, I need i32, but the others are also reasonable additions.

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
This commit is contained in:
Niklas Haas
2026-03-04 23:18:26 +01:00
committed by Niklas Haas
parent f535212a2c
commit 4e63dbeb6d

View File

@@ -45,12 +45,17 @@ typedef union SwsOpPriv {
/* Common types */
void *ptr;
int8_t i8[16];
uint8_t u8[16];
uint16_t u16[8];
int16_t i16[8];
uint32_t u32[4];
float f32[4];
uint8_t u8[16];
int8_t i8[16];
uint16_t u16[8];
int16_t i16[8];
uint32_t u32[4];
int32_t i32[4];
float f32[4];
uint64_t u64[2];
int64_t i64[2];
uintptr_t uptr[2];
intptr_t iptr[2];
} SwsOpPriv;
static_assert(sizeof(SwsOpPriv) == 16, "SwsOpPriv size mismatch");