ray@lemmy.ml to Open Source@lemmy.mlEnglish · 1 year agoFFmpeg's costly functions are all written in hand optimised assemblytwitter.comexternal-linkmessage-square30fedilinkarrow-up1249arrow-down13
arrow-up1246arrow-down1external-linkFFmpeg's costly functions are all written in hand optimised assemblytwitter.comray@lemmy.ml to Open Source@lemmy.mlEnglish · 1 year agomessage-square30fedilink
minus-squareamio@kbin.sociallinkfedilinkarrow-up14·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-up16·1 year agoLooks like it’s also done for ARM. https://twitter.com/FFmpeg/status/1710970016777052326
minus-squareLedivin@lemmy.worldlinkfedilinkarrow-up8·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