[Libav-user] DSPContext.sad[0] implementation

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat May 18 01:53:13 EEST 2019

Am Fr., 17. Mai 2019 um 16:04 Uhr schrieb Boris <ndjoreboris at gmail.com>:

> Can someone tells what this functions does, please?

It calculates the Sum of absolute differences.

> I'm stell looking for it's full implementation since the morning.
> I will appreciate if someone can only shows me in which file
> I can find it's full implementation. For example :
> sad[0](arg1, args2, ....)

Did you try "git grep sad"?
It shows that there is a function pointer "sad[]" in me_cmp.c,
different implementations (including some asm optimizations
for different cpus) can be used at runtime.

Carl Eugen

More information about the Libav-user mailing list