Re: v4l2 api

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



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





[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