changeset 5:f34a444f0353

missing global
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 16 May 2008 20:24:16 +0200
parents dd4db26f874e
children 8981e90540bf
files pydct/t4x4.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pydct/t4x4.py	Fri May 16 17:42:17 2008 +0200
+++ b/pydct/t4x4.py	Fri May 16 20:24:16 2008 +0200
@@ -29,13 +29,13 @@
     Compute the approximate 4x4 DCT coefficients of an array 
     as defined by H.264/AVC.
     '''
-        
+    global _fc, _fct, _fe
     return numpy.dot(_fc, numpy.dot(b, _fct)) * _fe
 
 def idct4x4(b):
     '''
     Compute the inverse 4x4 DCT of the array.
     '''
-
+    global _ic, _ict, _ie
     return numpy.dot(_ic, numpy.dot(b*_ie, _ict))
 

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