Hi Jordan,

On Wed, 2002-08-21 at 16:23, Jordan Lederman wrote:
> Is there any way to do what i'd like to do?

In short: no.

In long: yes. You'd need to change the kernel driver to not grab
directly into mmap()'ed buffers, but in an ever-lasting buffer queue and
memcpy()s these buffers to the mmap()'ed buffers if userspace requests a
frame. Then, you can give a frame to more than one application. However,
using memcpy() in the kernel is ugly, especially on these high-data-load
tasks like video capturing. Besides that, you're wasting precious memory
for the driver's buffer queue. So it's not a very nice solution.

But you could always give it a try. ;-).

Ronald

-- 
-   .-.
-   /V\    | Ronald Bultje <[EMAIL PROTECTED]>
-  // \\   | Running: Linux 2.4.18-XFS and OpenBSD 3.0
- /(   )\  | http://ronald.bitfreak.net/
-  ^^-^^



_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to