[Theora-dev] Theora meets liboil

j at thing.net j at thing.net
Sat Aug 20 04:13:15 PDT 2005


a patch to optimize theora using liboil[0], a framework to 
integrate support for different architectures, just landed
in subversion. 

to test it you need liboil from cvs

    cvs -d :pserver:anoncvs at anoncvs.freedesktop.org:/cvs/liboil co liboil

and theora from the theora-oil branch

    svn co http://svn.xiph.org/branches/theora-oil

with liboil, it is easy to add new optimized version of cpu intensive functions
for your architecture. functions currently used in theora include:

    oil_colsad8x8_u8
    oil_copy8x8_u8
    oil_diff8x8_average_s16_u8
    oil_diff8x8_const128_s16_u8
    oil_diff8x8_s16_u8    
    oil_err_inter8x8_u8
    oil_err_inter8x8_u8_avg
    oil_err_intra8x8_u8
    oil_fdct8x8theora
    oil_recon8x8_inter
    oil_recon8x8_inter2
    oil_recon8x8_intra
    oil_rowsad8x8_u8
    oil_sad8x8_u8
    oil_sad8x8_u8_avg

known fields that could need love are, ppc - altivec, sse & sse2

[0] http://www.schleef.org/liboil/




More information about the Theora-dev mailing list