On Fri, 26 Apr 2013 17:57:24 +0200, Janne Grunau <[email protected]> wrote:
> On 2013-04-26 15:36:56 +0200, Hendrik Leppkes wrote:
> >
> > Not sure if it matters in the end, but this function is not fool proof.
> > 
> > yuv420 == yuvj420
> > nv12 == nv21
> > argb == rgba == abgr == bgra
> > 
> > and probably more.
> 
> pixel descriptors are insufficient to decide whether two pixel formats
> differ only in endianness. :-(
> 
> So it's explicit tests, soon to be outdated.
> 
> Janne
> ---8<---

Wouldn't it be more useful to have a function that swaps endianness?
It could probably have a shorter name too.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to