common multimedia interface (aka zoran MJPEG driver)
gurney_j at resnet.uoregon.edu
Sun Apr 13 01:46:03 PDT 2003
I have been working on a Zoran MJPEG driver (ZF36067 + ZR36060) for
FreeBSD, and have the overlay part working, but I was wondering if anyone
has started to standardize the ioctl interface for Multimedia devices?
I have defined a few internal interfaces to make talking with
encoder/decoder chips completely transparent. So far the driver is
completely newbus'ifed, but still under work for the busdma part of it.
The ioctl interface is pretty poor, such as having the user pass the
physical address of the video frame buffer to the driver. I decided that
it would be best to require the user to map the memory, and then use the
user space mappings (yes, converting the userspace mapping to physical
address is possible)... This helps for when I want to support users
passing in buffers for the MJPEG part of the card to fill up.
So, is this pretty stagnant? or is there ongoing work that I should try to
Thanks for your comments.
P.s. I'm not subscribed to the list, so make sure you cc me!
More information about the freebsd-multimedia