[XviD-devel] [CVS commit] dev-api-4 -- sed s/ABS/abs/g *.c
Edouard Gomez
ed.gomez at free.fr
Thu Apr 10 16:10:19 CEST 2003
As the subjects says, this patch is mostly a sed s/ABS/abs/g... (just 4
fabs in the GMC code)
For plain C targets, this patch should really help speed, i noticed a
33% speedup on IA32.
For more details, here is my changelog entry:
2003-04-10 GMT Edouard Gomez <ed.gomez at free.fr> patch-14
Summary:
Removed all ABS() macros.
Revision:
xvidcore--devapi4--1.0--patch-14
All ABS macros have been replace with their stdlib.h/math.h
equivalent. This gives a 33% overall speedup for the plain C encoder,
while the ia32 one seems to suffer a small speed loss. However this
speed loss is very small and it seems it depends on the CPU type as
the abs/fabs usage is impacting badly on sad functions but impacting
well on interpolate functions ... weird inst'it ?
modified files:
src/bitstream/mbcoding.c src/global.h src/image/image.c
src/motion/motion_comp.c src/motion/motion_est.c
src/motion/sad.c src/prediction/mbprediction.c
src/utils/mbtransquant.c src/xvid.c
--
Edouard Gomez-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://edu.bnhof.de/pipermail/xvid-devel/attachments/20030410/42e71320/attachment.bin
More information about the XviD-devel
mailing list