@ray@lemmy.ml to Open Source@lemmy.mlEnglish • 9 months agoFFmpeg's costly functions are all written in hand optimised assemblytwitter.commessage-square30fedilinkarrow-up1245arrow-down13
arrow-up1242arrow-down1external-linkFFmpeg's costly functions are all written in hand optimised assemblytwitter.com@ray@lemmy.ml to Open Source@lemmy.mlEnglish • 9 months agomessage-square30fedilink
minus-squareamiolinkfedilink14•9 months 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-square@ray@lemmy.mlOPlinkfedilinkEnglish16•9 months agoLooks like it’s also done for ARM. https://twitter.com/FFmpeg/status/1710970016777052326
minus-square@Ledivin@lemmy.worldlinkfedilink8•edit-29 months 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