I did some further work on the project. I was able to optimize the RGB->YUY2 conversion a bit and the game now renders a bit faster. http://www2.lut.fi/~thietan1/quetoo/.