Message20073
Logged In: YES
user_id=12190
Also note that a using ''.join() as in the function I'm using below is
much faster than repeated string concatenation as in
videoreader.py:
def convertPixmapToARGB(pixmap, width, height):
rowbytes = Qdoffs.GetPixRowBytes(pixmap)
start = 0
rv = []
getBytes = Qdoffs.GetPixMapBytes
for i in xrange(height):
nextline = getBytes(pixmap, start, width*4)
start = start + rowbytes
rv.append(nextline)
rv = ''.join(rv)
return rv |
|
Date |
User |
Action |
Args |
2007-08-23 14:20:06 | admin | link | issue900949 messages |
2007-08-23 14:20:06 | admin | create | |
|