Displaying 2 results from an estimated 2 matches for "buf_max".
2007 Oct 27
0
Who wants to take a stab at IO.foreach?
...'L'')
offset = 0
olap = 0.chr * 20 # sizeof(OVERLAPPED)
while bool = ReadFile(handle, buffer, buffer.size, nbytes, olap)
error = GetLastError()
if !bool && error == ERROR_INSUFFICIENT_BUFFER
buffer = 0.chr * (buffer.size + buf_max)
next
end
# TODO: Fix
offset += MAX_READ
yield buffer
olap[8,4] = [offset].pack(''L'') # Bump the file pointer
break if error == ERROR_HANDLE_EOF
end
unless CloseHandle(handle)
raise...
2010 Aug 06
4
nv vpe video decoder
Hello,
I have my work on the nv vpe video decoder in a functional
state. In case you didn't know this decoder accelerates mpeg2
video at the idct/mc level. I have verified that it works on
nv40 hardware. I believe it works on nv30 hardware (and
maybe some earlier hardware), but I cannot verify since I have
none.
I will reply with patches against the kernel, drm, ddx
and mesa for