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. _______________________________________________ Video4linux-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/video4linux-list