mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-03-13 09:00:40 +08:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user