Re: [Linux-uvc-devel] uvcview videograbber with preview available for testing
Linux UVC driver and tools
Brought to you by:
pinchartl
From: Luc S. <lu...@sa...> - 2006-01-09 19:53:17
|
On Mon, Jan 09, 2006 at 07:37:52PM +0100, michel Xhaard wrote: > > You definitely need a library to decode MJPEG. libjpeg might be a bit too > > big to do the job (MJPEG is a small subset of all possible JPEG formats), > > but it's the easiest to use for prototyping. > > Why don't used the library from uvcview in utils.c > int jpeg_decode(unsigned char **pic, unsigned char *buf, int *width, > int *height); > If you need i can patch this function to accept jpeg data without huffman > table :) Because i've not look in this file :) I'll will try to understand your code and adapt it if necessary, later i'll ask your permission to put the code under the MPL. Luc |