[FFmpeg-devel] [PATCH] make 16bit YUV formats compatible with NE avcodec_get_pix_fmt

Michael Niedermayer michaelni
Wed Aug 26 16:41:41 CEST 2009


On Tue, Aug 25, 2009 at 09:25:07PM +0200, Lars T?uber wrote:
> Hi there!
> 
> This patch makes it possible to use a Non-Endian 16-bit YUV formats like RGB48, GRAY16 and others.
> It mainly supports the if clause in avcodec_get_pix_fmt (libavcodec/imgconvert.c:567):
>         snprintf(name2, sizeof(name2), "%s%s", name, X_NE("be", "le"));
> 
> e.g.:
> ffmpeg ... -pix_fmt yuv420p16 ...
> 
> These 16bit YUV formats are supported since April this year so it shouldn't break any application.
> Only FFV1 makes use of 16bit YUV formats yet and it still doesn't work. (see issue 1321)

if noone is against it iam ok with the patch

also, sorry for not reviewing the patch you send me privately, i simply
where too busy to test & apply it

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090826/35e67a6c/attachment.pgp>



More information about the ffmpeg-devel mailing list