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-squareamio@kbin.sociallinkfedilinkarrow-up12·1 year agoWhat happens if you go from x86 to ARM or whatever? Do they have fallbacks or other separate implementations, then? I mostly do high level languages so I’m not that familiar with microoptimization.
minus-squareray@lemmy.mlOPlinkfedilinkEnglisharrow-up14·1 year agoLooks like it’s also done for ARM. https://twitter.com/FFmpeg/status/1710970016777052326
minus-squareLedivin@lemmy.worldlinkfedilinkarrow-up6·edit-21 year agoIt would have to be different implementations for different architectures, and so almost definitely have a C-based fallback
What happens if you go from x86 to ARM or whatever? Do they have fallbacks or other separate implementations, then? I mostly do high level languages so I’m not that familiar with microoptimization.
Looks like it’s also done for ARM. https://twitter.com/FFmpeg/status/1710970016777052326
It would have to be different implementations for different architectures, and so almost definitely have a C-based fallback