# HG changeset patch # User pmeerw@pan # Date 1210111368 -7200 # Node ID 5bac33d0dad64c3aabf8842c90dd6e4da3288c53 # Parent 9aa2dd7d0de7ff90a852e5873b2a42d27901c035 fix diff -r 9aa2dd7d0de7 -r 5bac33d0dad6 pydct/t8x8.py --- a/pydct/t8x8.py Tue May 06 23:39:54 2008 +0200 +++ b/pydct/t8x8.py Wed May 07 00:02:48 2008 +0200 @@ -1,16 +1,16 @@ -import tNxN, numpy +import tNxN, numpy, dct def fdct8x8(b): ''' Forward 8x8 DCT. ''' - return fdctNxN(b) + return tNxN.fdctNxN(b) def idct8x8(b): ''' Inverse 8x8 DCT. ''' - return idctNxN(b) + return tNxN.idctNxN(b) def fdct8x8x8(b): ''' @@ -44,7 +44,7 @@ def _get_zz(): zz = [] - for i, j in wm.zigzag(numpy.empty((8,8))): + for i, j in dct.zigzag(numpy.empty((8,8))): zz.append(i*8 + j) return zz