Date: Sun, 13 Apr 2003 15:45:46 +0700 (ICT) From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: multimedia@freebsd.org Subject: common multimedia interface (aka zoran MJPEG driver) Message-ID: <20030413152931.T32380-100000@resnet.uoregon.edu>
next in thread | raw e-mail | index | archive | help
Hello, 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 adopt? Thanks for your comments. P.s. I'm not subscribed to the list, so make sure you cc me! John-Mark Gurney
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030413152931.T32380-100000>