[x264-devel] commit: change all dct arrays to 1d. (Loren Merritt )

git version control git at videolan.org
Mon Oct 12 15:31:03 CEST 2009


x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Sat Oct 10 04:43:00 2009 +0000| [287641a7c54d525e0eb74925431541ffb5f9471d] | committer: Loren Merritt 

change all dct arrays to 1d.
the C standard doesn't allow you to iterate 1-dimensionally over 2d arrays, and nothing other than the dsp functions themselves cares about the 2dness of dct.
this fixes a miscompilation in x264_mb_optimize_chroma_dc.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=287641a7c54d525e0eb74925431541ffb5f9471d
---

 common/arm/dct.h     |   28 +++---
 common/arm/quant-a.S |   12 +-
 common/arm/quant.h   |   16 ++--
 common/common.h      |    6 +-
 common/dct.c         |  271 ++++++++++++++++++++++++--------------------------
 common/dct.h         |   34 +++---
 common/quant.c       |  106 ++++++--------------
 common/quant.h       |   14 ++--
 common/set.c         |   20 ++--
 common/x86/dct.h     |   78 +++++++-------
 common/x86/quant.h   |   48 +++++-----
 encoder/analyse.c    |    4 +-
 encoder/macroblock.c |  166 +++++++++++++++---------------
 encoder/macroblock.h |    4 +-
 encoder/rdo.c        |   10 +-
 tools/checkasm.c     |   90 ++++++++---------
 16 files changed, 427 insertions(+), 480 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=287641a7c54d525e0eb74925431541ffb5f9471d


More information about the x264-devel mailing list