Edgard Alexander Sotter wrote:
> Hi,
>
> I want to see if the information that is stored in the buffers are really images...
> anyone knows how can I do to get the images from the buffer in a ppm format (or
>another
> format) to the disk???
struct video_mmap buf = {
frame: 0,
format: VIDEO_PALETTE_GREY,
width: 768,
height: 568
};
[ capture stuff ]
printf("P5\n%d %d\n255\n",buf.width,buf.height);
fwrite(map,buf.width,buf.height,stdout);
Gerd
--
Get back there in front of the computer NOW. Christmas can wait.
-- Linus "the Grinch" Torvalds, 24 Dec 2000 on linux-kernel
_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list
- Re: [V4L] frame buffer Gleicon S. Moraes
- Re: [V4L] frame buffer Edgard Alexander Sotter
- Re: [V4L] frame buffer Justin Schoeman
- Re: [V4L] frame buffer Edgard Alexander Sotter
- Re: [V4L] frame buffer Justin Schoeman
- Re: [V4L] frame buffer Edgard Alexander Sotter
- Re: [V4L] frame buffer Justin Schoeman
- Re: [V4L] frame buffer M V Vinod Kumar
- Re: [V4L] frame buffer Justin Schoeman
- [V4L] Reading images Edgard Alexander Sotter
- Re: [V4L] frame buffer Gerd Knorr
- Re: [V4L] frame buffer Edgard Alexander Sotter
- Re: [V4L] frame buffer Justin Schoeman
- Re: [V4L] frame buffer Marco A. Sousa
- Re: [V4L] frame buffer Gleicon S. Moraes
- Re: [V4L] frame buffer Edgard Alexander Sotter
- Re: [V4L] frame buffer Gerd Knorr
- Re: [V4L] OV511: VIDIOCMCAPTURE speed Ragga Muffin
- [V4L] Re: OV511: VIDIOCMCAPTURE speed Mark McClelland
- [V4L] Re: OV511: VIDIOCMCAPTURE speed Matias Freytes
