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

git version control git at videolan.org
Mon Oct 12 13:57:20 CEST 2009


x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Sat Oct 10 04:43:00 2009 +0000| [3cb2d8b8be36badcbef37b336b9e06867c9ab91d] | 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=3cb2d8b8be36badcbef37b336b9e06867c9ab91d
---

 common/arm/dct.h     |   28 +++---
 common/arm/quant-a.S |   12 +-
 common/arm/quant.h   |   16 ++--
 common/common.h      |    6 +-
 common/dct.c         |  265 ++++++++++++++++++++++++--------------------------
 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 |  160 +++++++++++++++---------------
 encoder/macroblock.h |    4 +-
 encoder/rdo.c        |    4 +-
 tools/checkasm.c     |   90 ++++++++---------
 16 files changed, 418 insertions(+), 471 deletions(-)

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


More information about the x264-devel mailing list