On Wed, 6 Mar 2002, Chris Nuernberger wrote:

> 
> > Not sure if this is what you want, but why not try: man v4l
> 
> That is not what I want.  I am compressing images, so I need access to that 
> data for an arbitrary amount of time. 
> 
> I would like to capture to the same buffer that I pass in to xvideo with the 
> call of XvShmPutImage.
> 
> Basically, to set that all up, you have to get a shared memory segment (man 
> shmget) then give it to X (XShmAttach, no man page on my system).
> 
> I am trying to either get the bttv driver to use the linux shared memory 
> (right now for streaming it uses mmap) system and give me an shmid that I can 

   It would have to lock those pages down and get a physical address.
mlock should lock them down, but I don't know how to get a physical
address.

> use and that xvideo can use, or figure out how I can get the shared memory 
> system to just set the memory the capture device gave me from the mmap call 
> as the shared memory it gives me an ID for.
> 

   That sounds easier, but both probably need kernel hacks.


                                Mark.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to