Imagine that your Mac's video card is connected to a hardware device that appears as a second 1920x1080 DVI monitor. That hardware device segregates the display into 4 separate 960x540 external displays. I need to run 4 separate uncompressed AVI's @ 30fps on those displays. Does that provide a better idea of what I'm doing?
Well, by low-level, I mean that I'm not going to go and do this with a unsupported AVI files because, well, I can't...
src = CGImageSourceCreateWithURL ((CFURLRef)url, NULL);
image = CGImageSourceCreateImageAtIndex(src,0,NULL);
context = CGBitmapContextCreate...
...
CGContextDrawImage...
Relative to these high-performance API's, I call "fread" low-level.
The fact that Apple supports BMP is not helpful to me in this situation unless I can open a large (>4gb) uncompressed AVI file and point to a section of it and say to the API... "look, heres some BMP data! Use it!".
Hopefully you can see my need for fast access to the GPU.






0 comments:
Post a Comment