Re: frame buffer

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



Edgard Alexander Sotter wrote:
> 
> Hi Justin,
> 
> About your code... where are exactly the buffers???.... &buf or &bigbuf???

OK - bigbuf is a pointer to the memory area that the driver uses to
store the images.

buf = bigbuf + vm.offsets[frame];

Sets buf = to the address of the last image to be CSYNC'ed.

These are both different from the internal structures used by the driver
to keep track of the capture.  There is one internal structure for each
image buffer, and from the driver point of view, these structures are
also refered to as buffers (although you can never access them as a
user).

For the application developer, all you have to worry about is "buf"
which contains the starting address for the image that you may currently
access from user-space.

-justin





[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