I've been looking at one of the darwin open source projects (AppleBt8xx) that will allow OS X to make use of a PCI tuner card. It's pretty basic right now but with some help it could be made to work with most PCI TV Tuner cards on the market and since you can get a PCI TV Tuner card on ebay for about $19 (or less) these days playing with this code comes pretty cheep.
Okay... to my question/problem...
The way things work at present: The software turns 'ON' the tuner card and the video is drawn directly on (more to the point OVER) the desktop and anything else that happens to be in the way starting at the upper left/top of the monitor or 0,0. I've found the place where is does the drawing and if I change the 'top' and 'left' variables from the default '0' to 50 the tuner display that is drawn does infact move 'down and to the right by 50 pixels' .
So it would seem that the AppleBt8xx.kext (PCI Tuner Card Kernel Extension) is by pushing the data from the TV Tuner directly to video ram (best as I can tell) and I wanted to know how hard it would be to re-direct that data (video) to a buffer so that I can have it displayed inside a real OS X window.
In short, does anyone have any places where I might find some sample code or other folks that do this sorta thing?
Thanks In Advance...
DaveG
P.S. Thread about the project:
http://newforums.macnn.com/cgi-bin/u...3&t=002953
[ 10-16-2001: Message edited by: DaveGee ]