[FFmpeg-devel] [PATCH] make 16bit YUV formats compatible with NE avcodec_get_pix_fmt
Tue Aug 25 21:25:07 CEST 2009
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"));
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7760 bytes
Desc: not available
More information about the ffmpeg-devel