[theora-dev] MMX patch to speed up Theora decoding
Chih-Chung Chang
jochang at gmail.com
Sun Mar 25 11:33:54 PDT 2007
Hi,
Attached is a patch against 1.0alpha7 to speed up Theora decoding. It
is about 15~20% faster in my test. It consists of following things:
* MMX loop filter based on Rudolf Marek's patch in
http://lists.xiph.org/pipermail/theora-dev/2005-August/002838.html
* MMX IDCT based on Rudolf Marek's patch in
http://lists.xiph.org/pipermail/theora-dev/2005-July/002816.html
and the code in http://svn.xiph.org/trunk/vp32/CoreLibs/CDXV/Vp31/dx/win32/
* change FiltBoundingValue to ogg_int16_t and reduce it to 256
entries. (It is safe if I read the spec correctly)
* comment out unused idct_short__c, remove unused LoopFilterLimitValuesV2
An --enable-mmx option is added to configure (you need to run
autogen.sh to enable it after patch). Compile time switch is used
instead of a runtime one because it seems easier to me :)
Regards,
Chih-Chung Chang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: theora.patch.20070326.gz
Type: application/x-gzip
Size: 14900 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20070326/5fc3c925/theora.patch.20070326.bin
More information about the theora-dev
mailing list