From 4e18068165c7bbc965068d5fad9377ececb9ca60 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Thu, 30 Apr 2026 17:31:39 +0200 Subject: [PATCH] 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 --- libswscale/uops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libswscale/uops.c b/libswscale/uops.c index e09f3cbe03..369e429020 100644 --- a/libswscale/uops.c +++ b/libswscale/uops.c @@ -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 */