Hi, On Wed, 2002-10-09 at 17:08, Miah Gregory wrote: > Any thoughts on whether any jpeg formats should be added to the list of > acceptable formats? The zoran card simply lists MJPEG as one of the allowed formats, V4L2_PIX_FMT_MJPEG (fourcc 'MJPG'). Shouldn't these things do that too? I mean, come on, JPEG decompression in the kernel... That's userspace stuff, really... Maybe you want to add another one, 'JPEG' V4L2_PIX_FMT_JPEG, if it's not YUY2 MJPEG. > The reason I ask is that it seems a little over the top to include jpeg > decompression within a kernel module, but without that, many userspace > applications won't be able to use the data. If there's that many cards that do this, simply adapt the applications to decode V4L2_PIX_FMT_(M)JPEG jpeg data, the authors will thankfully accept such patches. JPEG decoding is not something Alan will want to see in the kernel tree. If I recall correctly, he even removed colorspace conversion code from the Philips webcam driver. Ronald