Author: Hakan Ardo <[email protected]>
Branch: extradoc
Changeset: r3691:6691a6ed3a21
Date: 2011-06-15 21:15 +0200
http://bitbucket.org/pypy/extradoc/changeset/6691a6ed3a21/
Log: promote
diff --git a/talk/iwtc11/benchmarks/image/noborder.py
b/talk/iwtc11/benchmarks/image/noborder.py
--- a/talk/iwtc11/benchmarks/image/noborder.py
+++ b/talk/iwtc11/benchmarks/image/noborder.py
@@ -78,6 +78,14 @@
self.data[(self.width+1):(-self.width-1)].tofile(f)
+class NoBorderImagePadded640x480(NoBorderImagePadded):
+ def _idx(self, p):
+ assert self.width == 640
+ assert self.height == 480
+ assert len(self.data) == 640*(480+2)+2
+ return NoBorderImagePadded._idx(self, p)
+
+
class Pixel(object):
def __init__(self, idx, image):
self.idx = idx
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit