Re: YUV?

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



On Tue, 11 Mar 2003, PlasmaJohn wrote:

>Sounds like an intermediary format between MPEG and YUV.
>Should we convert it to some other planar or packed format?

At some point it is necessary; however, you should avoid doing format
conversions in the kernel. But if you don't do it, no application will
understand the format.

My recommendation: in the short term, write format conversions into the
kernel driver so that applications work using the standard V4L(2) api.
Invent also new format description, so that userspace applications can get
the raw the if they understand it.

In the longer term, prepare to stream the raw data into userspace, and
write an userspace module to do the format conversion. A Gstreamer module
would be nice, then every application would benefit from it when they are
all converted to use gstreamer :->

--
| Tuukka Toivonen <tuukkat@xxxxxxxxxx>   [OpenPGP public key
| Homepage: http://www.ee.oulu.fi/~tuukkat/       available]
| M.Sc. Researcher, Dept of El & Inf Eng, University of Oulu
| "You will be shot if you try to do
|           format conversion in kernel" -Pavel Machek, 2001
+-----------------------------------------------------------





[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