swscale/uops: also generate macros under SWS_BITEXACT

And SWS_BITEXACT|SWS_ACCURATE_RND, for completeness. This roughly doubles
the runtime of the uops macros generation. Let's hope it doesn't explode
further.

Signed-off-by: Niklas Haas <git@haasn.dev>
This commit is contained in:
Niklas Haas
2026-06-09 18:27:20 +02:00
parent 157f586e5c
commit 4e18068165
+3 -3
View File
@@ -731,9 +731,9 @@ static int register_all_uops(SwsContext *ctx, void *graph, SwsOpList *ops)
static const SwsFlags flags[] = {
0,
/* SWS_ACCURATE_RND may insert extra 1x1 dither ops (for accurate rounding) */
SWS_ACCURATE_RND,
SWS_ACCURATE_RND, /* may insert extra 1x1 dither ops (for accurate rounding) */
SWS_BITEXACT, /* prevents some FMA optimizations */
SWS_ACCURATE_RND | SWS_BITEXACT,
};
/* Limit the range of av_tree_enumerate() to only matching uop and type */