[FFmpeg-devel] [PATCH] make 16bit YUV formats compatible with NE avcodec_get_pix_fmt
Tue Aug 25 22:30:31 CEST 2009
On Tue, 25 Aug 2009 12:54:31 -0700 Baptiste Coudurier <baptiste.coudurier at gmail.com> wrote:
> Hi Lars,
> On 08/25/2009 12:25 PM, 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)
> V210 decoder and encoder as well.
oh yes. I overlooked this. But the patch doesn't seem to break it.
More information about the ffmpeg-devel