mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-11 08:13:06 +00:00
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:
+3
-3
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user