ray@lemmy.ml to Open Source@lemmy.mlEnglish · 2 years agoFFmpeg's costly functions are all written in hand optimised assemblytwitter.comexternal-linkmessage-square35fedilinkarrow-up1250arrow-down13
arrow-up1247arrow-down1external-linkFFmpeg's costly functions are all written in hand optimised assemblytwitter.comray@lemmy.ml to Open Source@lemmy.mlEnglish · 2 years agomessage-square35fedilink
minus-squarejayrhacker@kbin.sociallinkfedilinkarrow-up10·2 years 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.