13,10 → 13,11 |
|
This is the first version of BTTV driver under shark. |
It's a strongly hacked driver for all the frame grabbers |
with bt848/878 actually supported by linux. |
The audio sub-device is not supported. |
with bt848/878 actually supported by linux... I cannot |
assure that every frame grabber card (with bt848) could work |
without problems. The audio sub-device is not supported. |
|
New features (related with the old PXC driver): |
New things (related with PXC driver): |
|
- No more DOS external init |
|
26,7 → 27,7 |
|
- BTTV linux-like driver interface (bttv_open, bttv_ioctl, ecc) |
|
For a fast use of this driver (GRAY8 mode): |
For a fast use of this driver (GREY8 default mode): |
|
makefile symbol: __BTTV__ |
|
36,19 → 37,10 |
|
fgptr = FG_getbuffer(); //Get the image pointer |
|
Now fgptr is a pointer to the grabbed image (GRAY8 type); |
Now fgptr is a pointer to the grabbed image (GREY8 type, to change it look at fg.c); |
|
But to elaborate an image is better to define a function like |
It's implemented a Double Buffer policy, so FG_getbuffer must |
be called before any access to the grabbed image. |
|
elaborate_image(void *imageptr); |
|
and with |
|
FG_set_hook(elaborate_image); |
|
this function will be periodically called when a grabbed |
image is ready. A Double Buffer is implemented so the elaborated |
image is always complete and consistent. See fg.c for the code details. |
|
FG_close(); //Close the FG |
|