When you set up a capture device, it basically gives you memory that it owns, 
and you read your frames from here.  From there, as it stands right now you 
have to copy that buffer into an xvideo shared buffer. 

Would it be possible to set the shared buffer's address to the memory that 
the capture card gives you?  That way you wouldn't have to copy anything 
anywhere.  Ideally, just get the buffer from the capture card and tell X to 
display that buffer.  Is this possible?  What would it take to make it 
possible?  

Can you set the base (read) address of a shared memory segment?  I don't mean 
where it is mapped into your process space, but the real address?  
It would be analogous to just malloc-ing a ton of memory and trying to share 
that memory that you just malloc-ed.  Chris
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to