[x264-devel] optimized variance calculation

David Pethes imcold at imcold.evilhosting.org
Sun Aug 10 13:57:50 CEST 2008


Hi,
this patch adds dedicated function for variance calculation.
It saves roughly 60 cycles on K8 compared to sad+ssd combination. 
Overall speedup is quite negligible, because it's rarely used - about 
0.1 fps improvement with fast settings (tested with --crf 20 -A none 
--aq-mode 2).
Regards,

David Pethes
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: variance.diff
Url: http://mailman.videolan.org/pipermail/x264-devel/attachments/20080810/675ea6a9/attachment.txt 


More information about the x264-devel mailing list