Re: [V4L] Image clipping with mmap

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



Abheek Anand wrote:
> 
> Hi
> I need to clip images with a bttv chipset framegrabber card. Since the
> only way i can read images is with mmap'ing the buffer, i need to set
> clipping parameters with this method. However using the VIDIOCSWIN ioctl
> doesnt work in this case, and im thus unable to set the clipping
> rectangles.
> Is there any way to do this with mmap io, and is it possible for me to
> simply read images with bt848 cards without going through the mmap
> interface?
> 
> Thanks
> Abheek

There is no way to do this with the v4l or v4l2 API.  The question from
my side is: Why?  You have to copy the image out of the mmap()ed region
anyway so any clips would be lost.  If you could explain what you want
to do, perhaps we could be of more help.

-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