[theora-dev] [PATCH]: PPC/Altivec implementations of SAD and SSD

Venkatesh Srinivas me at endeavour.zapto.org
Tue Jun 29 13:51:19 PDT 2010


This patch adds Altivec-optimized implementations of oc_enc_frag_sad and
oc_enc_frag_ssd. This patch is against the latest svn revision of

Speeds up encode on a plant stop-motion clip on a 1 GHz PPC  7447 by ~3%,
timewise. Time spent in oc_enc_frag_sad is reduced from 4.2% to 2.3% and
oc_enc_frag_ssd from 1.2% to 1.0%, as reported by Shark.

Currently this is only integrated into the Xcode build project and need
support for detecting Altivec on platforms other than OS X; on OS X it uses
the sysctl hw.vectorunit.

-- vs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora-dev/attachments/20100629/f0f421d9/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppcenc-draft-0.diff
Type: application/octet-stream
Size: 20100 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20100629/f0f421d9/attachment-0001.obj 

More information about the theora-dev mailing list