Re: Grab frames in a shared XImage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



trasatti wrote:
>  I have a BT878 grabber.
>  How is possible to set V4L for grabbing frames directly into a shared image XShmImage?
>  
>  I mean, now I have the V4L that grabs rgb frames into a mmap buffer (that isn't shared user memory, right?).

Depends.  bttv 0.7.x uses kmalloc()ed memory and remaps it to
userspace.  bttv 0.8.x uses shared anonymous memory and locks it down
for I/O using kiobufs.

>  Then I use memcpy from buffer to shmimage->data.
>  
>  I wanna to avoid this time consuming copy!
>  - Grabbing frames directly in shmimage->data ?
>  - Using DMA instead of memcpy? (but how?)

bttv 0.8.x does dma-to-userspace for blocking read() calls.

  Gerd

-- 
Netscape is unable to locate the server localhost:8000.
Please check the server name and try again.





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux