You can use glPixelZoom to scale the image, glDrawPixels is a blit operation. It can be slow on some cards (
see here) but I don't think there's an alternative. FFmpeg seems to support up to 32-bit data, maybe the file you used was 24-bit? Btw, this
tutorial was quite interesting.