changeset 2:5bac33d0dad6

fix
author pmeerw@pan
date Wed, 07 May 2008 00:02:48 +0200
parents 9aa2dd7d0de7
children b5e69130d7e9
files pydct/t8x8.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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
 

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.