[Ffmpeg-devel] [PATCH] make pnm.c output gray16 images in machine endianness

Michael Niedermayer michaelni
Sat Apr 7 22:04:09 CEST 2007


On Sat, Apr 07, 2007 at 09:45:22PM +0200, Ivo wrote:
> Hi,
> I thought it'd be best split up the changes to pnm.c and also not bury it in 
> a thread about bit depth support. So, here's a patch that will make the pnm 
> decoder output gray16 images in machine endianness instead of the file's 
> big-endian order.

hmm, i dont like this, the conversation could as well be done outside the
codec where it belongs
its not like the format isnt supported or that we would have to
copy all the data anyway (your code rather adds a additional pass over
the image ...)

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070407/b0b4db04/attachment.pgp>

More information about the ffmpeg-devel mailing list