On 13/11/2025 17:56, Sidd via ffmpeg-devel wrote: > Hi Frank, > > Thanks for the reply, it seems like there is a lot for me to cover. > > Regarding the assembly, since FFmpeg is known for handcrafting it, are > there any references of help in their docs regarding this? I have gone > through their ASM lessons and know the basics of them but am quite far > from being good at writing it. And if I may ask, what exactly are the > current drawbacks of the current C implementation? > > Thank you for taking your time to answer my questions. >
The assembly lessons are the only "intro to SIMD" resource specifically for FFmpeg that I know of, but I'm sure you can find more stuff by googling. A more practical resource for x86 specifically is [1] on x86inc.asm. I think the most important thing is to practice. Yes, the learning curve is steep. I can't say I'm very good at writing SIMD. I'm not quite sure what you mean by "drawbacks of the current C implementation" -- as opposed to what? As I said, the C high-level decoder logic is in a good state, but the decoder is quite slow and needs more ASM to make it faster. Nit: top-posting is discouraged on mailing lists such as ffmpeg-devel. [1] https://blogs.gnome.org/rbultje/2017/07/14/writing-x86-simd-using-x86inc-asm/ -- All the best, Frank
OpenPGP_0x03A84C6A098F2C6B.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
