[XviD-devel] [CVS commit] devapi4 -- quant changes
Edouard Gomez
ed.gomez at free.fr
Tue Oct 7 16:17:27 CEST 2003
Hello,
Note that asm files have not yet been modified to obey the new API. It
only concerns intra quantization that _should_ return the sum of the
coefficient values. ATM there is no code relying on this behavior that's
why i delayed the changes in asm files. As it's just returning an
uint32_t value, it is passed in eax on IA32, so it does not impact our
code. This can cause problems on IA64.
2003-10-07 13:03:51 GMT patch-65
Summary:
Quant functions API changes (first step)
Revision:
xvidcore--devapi4--1.0--patch-65
In the road to instance safe mpeg quantization, a small cleanup
to the quant API was needed. It consists in changing the way we
name the functions quant_{mpeg|h263}_{inter|intra}_{arch} and in
a move to a more unified API (even intra functions return the sum
of coefficients, it can be used as a complexity measure at a later
time).
This patch touch lot of files, but all changes are trivial.
NB: we should check the IA64 asm validity, i changed things but
i can't test them.
new files:
src/quant/quant.h
removed files:
src/quant/quant_h263.h
src/quant/quant_mpeg4.h
modified files:
build/generic/sources.inc build/win32/libxvidcore.dsp
src/decoder.c src/encoder.c src/image/qpel.c
src/motion/estimation_rd_based.c
src/quant/ia64_asm/quant_h263_ia64.s src/quant/quant_h263.c
src/quant/quant_matrix.c src/quant/quant_matrix.h
src/quant/quant_mpeg.c
src/quant/x86_asm/quantize_h263_3dne.asm
src/quant/x86_asm/quantize_h263_mmx.asm
src/quant/x86_asm/quantize_mpeg_mmx.asm
src/quant/x86_asm/quantize_mpeg_xmm.asm
src/utils/mbtransquant.c src/xvid.c src/xvid.h
renamed files:
src/quant/quant_mpeg4.c
==> src/quant/quant_mpeg.c
src/quant/x86_asm/quantize4_mmx.asm
==> src/quant/x86_asm/quantize_mpeg_mmx.asm
src/quant/x86_asm/quantize4_xmm.asm
==> src/quant/x86_asm/quantize_mpeg_xmm.asm
src/quant/x86_asm/quantize_3dne.asm
==> src/quant/x86_asm/quantize_h263_3dne.asm
src/quant/x86_asm/quantize_mmx.asm
==> src/quant/x86_asm/quantize_h263_mmx.asm
--
Edouard Gomez
More information about the XviD-devel
mailing list