I’m trying to get a better resolution with this patch- with less pixelization. Any suggestions?
Keep your background_grab the same resolution as your qt.grab. When you put a 320X240 into your jit.op with the 640X480, you’ll still have 640X480 overall, but the lower-res one will make things look more pixelated. Also the output window should match 640X480, or at least be exactly half—the one you have is 381 X 282, which itself will make things look more pixelated (even though the content isn’t).