Using macros to shorten function definitions, updated in this response flow gg 于2024年3月7日周四 19:20写道: > updated it in the reply > > flow gg 于2024年3月3日周日 23:31写道: > >> > As noted eaerlier, I don't understand why you have two size parameters. >> It >> seems that \size is always either the same as (1 << (\size2 - 1)) a.k.a. >> ((1 >> << \size2) / 2), or unused. The assembler *can* compute arithmetic >> constants. >> >> Thanks , I didn't know that before >> >> > Similarly, you can use \restore as a truth value directly: `.if >> \restore`. >> >> Okay >> >> FWIW, it seems that you could just as well include func/endfunc inside the >> macros. >> >> Do you mean to generate func/endfunc using macros? >> >> Rémi Denis-Courmont 于2024年3月3日周日 22:46写道: >> >>> Le sunnuntaina 3. maaliskuuta 2024, 3.59.00 EET flow gg a écrit : >>> > updated a little improve in this reply >>> >>> As noted eaerlier, I don't understand why you have two size parameters. >>> It >>> seems that \size is always either the same as (1 << (\size2 - 1)) a.k.a. >>> ((1 >>> << \size2) / 2), or unused. The assembler *can* compute arithmetic >>> constants. >>> >>> Similarly, you can use \restore as a truth value directly: `.if >>> \restore`. >>> >>> FWIW, it seems that you could just as well include func/endfunc inside >>> the >>> macros. >>> >>> -- >>> レミ・デニ-クールモン >>> http://www.remlab.net/ >>> >>> >>> >>> _______________________________________________ >>> ffmpeg-devel mailing list >>> ffmpeg-devel@ffmpeg.org >>> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel >>> >>> To unsubscribe, visit link above, or email >>> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". >>> >>