Re: V4L2-Could use shmget instead of mmap?

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



Chris Nuernberger wrote:
>  Actually Gerd, I just though of something.  Could the v4l2 use shared memory 
>  instead of mapped memory (I know that shared memory is mapped, I need the 
>  shmid)?  
>  
>  I mean, the X system call to map the memory to the server takes (basically) 
>  just a shared memory ID from shmget.  Could I get an ID from the driver to 
>  both get access to the memory and pass to X?  That would solve all problems; 

But it doesn't solve mine.  The point is that bttv must do the memory
allocation to make sure it can reach those pages with DMA.  Whenever the
application allocates memory with shm*() or malloc() makes no difference
for the driver, in both cases it has no control.

  Gerd

-- 
#include </dev/tty>





[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