ray@lemmy.ml to Open Source@lemmy.mlEnglish · 1 year agoFFmpeg's costly functions are all written in hand optimised assemblytwitter.comexternal-linkmessage-square29fedilinkarrow-up1220arrow-down13
arrow-up1217arrow-down1external-linkFFmpeg's costly functions are all written in hand optimised assemblytwitter.comray@lemmy.ml to Open Source@lemmy.mlEnglish · 1 year agomessage-square29fedilink
minus-squarejayrhacker@kbin.sociallinkfedilinkarrow-up8·1 year agoTypically inline assembly is written in an #IFDEF block with a C/C++ alternative provided. Since the assembly is machine specific the devs need to write it for all the processor families they want to optimize for.
Typically inline assembly is written in an #IFDEF block with a C/C++ alternative provided. Since the assembly is machine specific the devs need to write it for all the processor families they want to optimize for.