[XviD-devel] [PATCH] Possible patches for decoder speedup
Edouard Gomez
ed.gomez at free.fr
Thu May 20 23:46:37 CEST 2004
Edouard Gomez (ed.gomez at free.fr) wrote:
> Patches are attached, i'd like to have feedback on both.
The setedges patch idea wasgood, but the implementation was
completly wrong, i wonder what i was tking about at the moment
i hacked it. I have a bugfree version ready for commit.
> Results on a 4min sequence:
>
> no patches:
> BENCHMARKs: VC: 35,539s VO: 0,038s A: 0,000s Sys: 2,103s = 37,681s
>
> int32 patch alone:
> BENCHMARKs: VC: 35,075s VO: 0,037s A: 0,000s Sys: 2,134s = 37,246s
>
> Both patches applied:
> BENCHMARKs: VC: 32,364s VO: 0,038s A: 0,000s Sys: 2,175s = 34,577s
>
> To show we wtill sux at decoding :-)
> Libavcodec:
> BENCHMARKs: VC: 22,334s VO: 0,042s A: 0,000s Sys: 2,435s = 24,812s
I did some tests this afternoon, w/o oprofile, and i got much
better results both for xvid and ffmpeg. We're still lagging
far behind tho.
I noticed many inline functions were'nt being inlined by gcc,
and even increasing inline threshold (thus making sure all
inline functions were inlined), the decoder wasn't that
faster. So i think i can't get it faster w/o some real
changes to it. But im short on ideas, i'm open to suggestions.
--
Edouard Gomez
More information about the XviD-devel
mailing list